vscode-codeql
vscode-codeql copied to clipboard
Highlight/color query results in code
Is your feature request related to a problem? Please describe. There is no present problem, it's just a feature request. I would like to have the query results highlighted/colored in the code.
Describe the solution you'd like In more detail, consider the query
from FunctionCall call
select call
which returns a query result with all the references to function calls in the database, that you can click on and they will be shown in the source code. What I would like to see is these locations in the code colored.
Describe alternatives you've considered Either have the whole line colored or only the references.
Additional context Example:
int func()
{
int a = 0;
foo(); /* this expression or the whole line would be colored */
a++;
bar(); /* this expression or the whole line would be colored */
return a;
}
`