You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Valid entries returned in Fatal Error as completion candidates
Press "space/tab" after a keyword
The language server inserts a dummy value; runs the solver and collects "Valid entries/models"
Return valid entries as completion candidates
Additional context
As diagnostics coming from OpenFOAM errors are not document-wise, the code has to check the document URI and cursor position before providing any candidates
What to add as dummy value is tricky. Particularly, deciding when to add ";" will be problematic.
Including valid entries shipped in custom shared libraries ($FOAM_USER_LIBBIN) can also be considered
With (possibly) automatic adding of the correct library to controlDict
The text was updated successfully, but these errors were encountered:
FoamScience
changed the title
Implement auto-completion with valid entries from solver erros
Implement auto-completion with valid entries from solver errors
Jan 8, 2022
Valid entries returned in Fatal Error as completion candidates
Additional context
$FOAM_USER_LIBBIN
) can also be consideredThe text was updated successfully, but these errors were encountered: