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
Right now there is a sub standard implementation for diagnostics that doesn't work well enough. CodeTools is simply not good enough as it only returns a single error and stops but maybe we can run the node tree and find errors to show which don't stop the parser (see TCodeToolManager.CheckSyntax).
Some ideas to custom syntax checking:
Detect if units exist.
Detect if types or identifiers in code blocks exist.
Detect invalid mode switches.
Optional: detect if case is wrong for known identifiers.
Wrong number of parameters (or types? in function calls (no overloads match)
The text was updated successfully, but these errors were encountered:
Right now there is a sub standard implementation for diagnostics that doesn't work well enough. CodeTools is simply not good enough as it only returns a single error and stops but maybe we can run the node tree and find errors to show which don't stop the parser (see
TCodeToolManager.CheckSyntax
).Some ideas to custom syntax checking:
The text was updated successfully, but these errors were encountered: