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
To determine the type of a token in the source code, the extension uses a fragile combination of parsing the code with the TypeScript compiler and requesting hovers for relevant AST nodes via the vscode.executeHoverProvider vscode command.
With this change, we would use the TS language server of vscode to determine the type of a token instead.
Advantages
No overhead of additional TS parser runs
Type determination for token is not depending from the hover API anymore. With this, it becomes more robust.
Suggestion
To determine the type of a token in the source code, the extension uses a fragile combination of parsing the code with the TypeScript compiler and requesting hovers for relevant AST nodes via the
vscode.executeHoverProvider
vscode command.With this change, we would use the TS language server of vscode to determine the type of a token instead.
Advantages
Risks
The text was updated successfully, but these errors were encountered: