vscode-codeql icon indicating copy to clipboard operation
vscode-codeql copied to clipboard

Add a go-to-class feature for QL Code

Open criemen opened this issue 5 years ago • 3 comments

Is your feature request related to a problem? Please describe. Often, I want to go to the code for a specific QL class. Right now, I have to use the global search (limited to qll and ql files), and search for the string "class " to get specific results.

Describe the solution you'd like Integreate with the go to symbol in workspace functionality provided in VSCode (Ctrl+T). A list of matches for the (partial) class name I entered and the files these classes are defined in would be awesome.

criemen avatar Oct 22 '20 09:10 criemen

Thanks for reporting. I'm going to close this one in favour of #637 since that is about a more general solution that fits in with the language server.

aeisenberg avatar Oct 22 '20 17:10 aeisenberg

Go to Type Definition sounds like a more appropriate language server command in this case than Workspace Symbols which is referenced in #637.

adityasharad avatar Oct 22 '20 17:10 adityasharad

Go to type definition requires a source location and a URI. whereas workspace symbols just requires a query string. So, I think in this case the latter is more appropriate.

aeisenberg avatar Oct 22 '20 19:10 aeisenberg