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
This greatly affects the flowgraph, and should be handled.
However, it is something we definitely don't wanna do in our code, as it'll be different per-language.
I think the best way to go about it is to see if we can use the IDE to query this - detect calls and the actual functions that are being called.
Then, if all we need to add is "known non-returning functions", it's not that bad.
But type inference and similar tasks should not be part of this project for now.
The text was updated successfully, but these errors were encountered:
Seems the relevant VSCode API is the built-in commandvscode.executeDeclarationProvider:
// Get the active text editorconsteditor=vscode.window.activeTextEditor;if(!editor){vscode.window.showInformationMessage('No editor is active');return;}// Get the current position of the cursorconstposition=editor.selection.active;// Get the definition at the current positionconstdefinitions=awaitvscode.commands.executeCommand<vscode.Location[]>('vscode.executeDefinitionProvider',editor.document.uri,position);
This greatly affects the flowgraph, and should be handled.
However, it is something we definitely don't wanna do in our code, as it'll be different per-language.
I think the best way to go about it is to see if we can use the IDE to query this - detect calls and the actual functions that are being called.
Then, if all we need to add is "known non-returning functions", it's not that bad.
But type inference and similar tasks should not be part of this project for now.
The text was updated successfully, but these errors were encountered: