Closed Vigilans closed 5 years ago
The problem is infact caused by the overly restricted rules specified in syntax file
Currently, the enum syntax will try to match three patterns:
But when constructor and code overrides are applied on a field at the same time, the pattern matching fails, just as follows:
Worth noting that a new line also breaks current syntax:
Description
Originally created in https://github.com/redhat-developer/vscode-java/issues/974 by @orblazer :