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
We are not currently passing in the correct language capabilities for the embedded virtual codes within the GtsVirtualCode file, which can cause Volar to try and perform diagnostics on invalid typed files, produce errors, and cause performance issues.
Specifically, these options will need to be adjusted.
Based on the Discord chat above, it seems that:
verification should remain true for ALL code mappings
But the remaining CodeInformation options should be omitted or set to false for any mappings that cover spans of generated code, e.g. things like emitContents should have completion disabled so that there's no risk of an auto-complete triggering in some region of generated code that doesn't actually exist in the source code (i am 80% sure i'm stating the problem correctly but there's a chance i'm wrong)
The text was updated successfully, but these errors were encountered:
Discord discussion
We are not currently passing in the correct language capabilities for the embedded virtual codes within the GtsVirtualCode file, which can cause Volar to try and perform diagnostics on invalid typed files, produce errors, and cause performance issues.
Specifically, these options will need to be adjusted.
Based on the Discord chat above, it seems that:
verification
should remain true for ALL code mappingsemitContents
should have completion disabled so that there's no risk of an auto-complete triggering in some region of generated code that doesn't actually exist in the source code (i am 80% sure i'm stating the problem correctly but there's a chance i'm wrong)The text was updated successfully, but these errors were encountered: