Closed Vigilans closed 4 years ago
Hello @Vigilans, thanks for the report, I have simplified the examples, let me know if you have any comments.
Closing bracket in on a new line.
try {} catch (ex e
){}
Comment between the type and variable name.
try {} catch (ex /**/ e){}
It is basically two scenarios:
Exception
and e
-> have to update regexe
is on a new line -> oniguruma engine limitation (can't match new lines, see https://github.com/atom/language-java/issues/186)@lkashef
try {} catch (ex e
){}
should be
try {} catch (ex
e){}
Thanks @sadikovi! 🙇
Description
Catch parameter name is highlighted as type when declared in new line or with a comment in between.
Steps to Reproduce
Paste the following code to editor:
Expected behavior:
e
is highlighted asvariable.parameter.java
Actual behavior:
e
is highlighted asstorage.type.java
:Reproduces how often: Always