-
Notifications
You must be signed in to change notification settings - Fork 100
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
in
keyword is missing
#501
Comments
It's definitely in the BNF:
Colorizing is done in HaxeColorAnnotator.annotate(). There are specific tests for 'new' and 'from/to'.
for, while, break, throw, switch, etc. are declared as "statement"s in the BNF. They all derive from (Haxe)PsiStatement, colorizing of which must be handled by some magic performed in the IDEA implementation classes. The trouble with 'in' is that it's not actually a statement in and of itself. It's more of a separator between the variable name and the elements being iterated over. |
#504 has the change. |
Fixed with d670d12. |
We're still miss
in
keyword inside lexer and grammar.For example
for(x in y) {}
IN should be highlighted as a keyword
The text was updated successfully, but these errors were encountered: