Closed
Description
Is your feature request related to a problem? Please describe.
For a "printCFG" query I'd like to be able to restrict the view to the Control flow graph of a single function instead of all functions in a file. Displaying all graphs of all files is too messy and hard to work with.
Describe the solution you'd like
In addition to the selectedSourceFile
, I'd like the selected source line and columns to be available for use in contextual queries. That way a printCfg
query can restrict itself to the enclosing function/callable at the position of the cursor.
Describe alternatives you've considered
none