-
Notifications
You must be signed in to change notification settings - Fork 591
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
[JavaScript] Highlight Class in imports #3676
Comments
Related: #1842 |
Hi FichteFoll, Thanks for your reply. I read the RFC from 2019 and few links mentioned.I will post a user opinion there. I read Thom1729 post regarding From what I read, here I am only suggesting another scope with My question is, sorry if I do not understood after reading the RFC, it is not acceptable small changes? And do you know if it is possible to have this part only in a file extending the st js syntax? I tried to extend with only the modifications but could not make it work. I had to duplicate the whole JavaScript.sublime-syntax and TypeScript.sublime-syntax. Should I close this? |
My comment was primarily meant as a reference for further reading and to show that we're still undecided about what the exact name of such a scope should be. but that there has been some discussion about this. Specifically, The closest comparison for a related syntax currently highlighting class names in import statements would be the Java syntax, which has more or less recently been updated to do that, so I recommend using that for inspiration. |
Yes I notice after post about related. I used // variable.other.constant used in st js syntax
const Bar = new ToBar() I wil close this. |
What happened?
Hi,
I was trying to highlight imported Class but I could not achieved.
With this scope
meta.import variable.other.readwrite
, it is possible to highlight all imported methods and classes. But not possible to select only Classes.I added two matches to achieve highlighting only class
Would a pull be welcome? In github we have class highlighting.
The text was updated successfully, but these errors were encountered: