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 all identifers with same associated symbol #71

Open
bendtherules opened this issue Jan 2, 2020 · 0 comments
Open

Highlight all identifers with same associated symbol #71

bendtherules opened this issue Jan 2, 2020 · 0 comments

Comments

@bendtherules
Copy link

bendtherules commented Jan 2, 2020

Example - https://ts-ast-viewer.com/#code/DYUwLgBAhhC8EEYDcAoA3iiWKkjeARFAM4AmBqAvigMYD2AdsXaAHTB0DmAFFAJRIgA

It would be nice to say, select first a, look at its symbol and somehow highlight all the other nodes (identifiers) which has the same symbol (match by symbol id??). So, in this case first and third a have same symbol, but second a is different.
Its fine if its not the default behaviour, just have some option or way to enable it.

Currently, its tedious to go through them manually and check the id.

Can help with the PR. Need some guidance to get started.

@bendtherules bendtherules changed the title Highlight all nodes with same associated symbol Highlight all identifers with same associated symbol Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant