Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight/color query results in code #1775

Open
nrb547 opened this issue Nov 20, 2022 · 0 comments
Open

Highlight/color query results in code #1775

nrb547 opened this issue Nov 20, 2022 · 0 comments
Labels
enhancement New feature or request VSCode

Comments

@nrb547
Copy link

nrb547 commented Nov 20, 2022

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;
}
`
@nrb547 nrb547 added the enhancement New feature or request label Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request VSCode
Projects
None yet
Development

No branches or pull requests

1 participant