spgennard / vscode_cobol

Visual Studio Code Extension for COBOL, JCL and MF Directive Files
MIT License
37 stars 16 forks source link

FR: for untrusted workspaces: have "go to definition" work in the same file #291

Closed GitMensch closed 3 years ago

GitMensch commented 3 years ago

It is good that untrusted workspaces don't have the full feature-set with this extension.

Could "go to definition" be added as "only in the file currently opened" (= no use of workspace definitions, only temporarily done in the current file)?

spgennard commented 3 years ago

Sorry, not possible, as the source is untrusted, so it is not scanned, therefore any feature dependant on this is not possible either.

This is not a restriction, it is by design and not something I am willing to endamage on.

GitMensch commented 3 years ago

Thanks for the note, then this is totally the correct thing to keep.