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
Error "Request textDocument/documentSymbol failed." appears when a preprocessor conditional block contains opening/closing brackets.
In the above screenshot, the {s at the end of both conditions are different colors, meaning VSCode thinks it's two different scopes when in reality it's the same scope. Perhaps the extension can automatically comment out the branch that is false?
The text was updated successfully, but these errors were encountered:
Alternatively, the extension can give the user a warning when they try to add unmatched brackets inside these preprocessor conditional blocks. While it's not pretty, logic like this can almost always, if not always, be refactored so that these unmatched brackets don't appear inside preprocessor conditional blocks
Error "Request textDocument/documentSymbol failed." appears when a preprocessor conditional block contains opening/closing brackets.
In the above screenshot, the
{
s at the end of both conditions are different colors, meaning VSCode thinks it's two different scopes when in reality it's the same scope. Perhaps the extension can automatically comment out the branch that is false?The text was updated successfully, but these errors were encountered: