Open pri-kise opened 4 months ago
Hi @pri-kise, I just tried to reproduce the issue, but this is what I see.
and you can also see that locked is not allowed, so I suspect the editor service crashed. Can you reproduce it?
@thpeder This is about the extension for DevOps, not for/in VS Code.
Locked is supported, but you need to replace the preceding semicolon with a comma - compare with pri-kise's code ;-)
Thanks for the help! We will have a closer look at it.
Interestingly, this does work when your curly braces are not on the same line as the value(x; someName)
declaration:
While we work on a fix to the issue, if this is bothering you, you could switch the enum value declaraton to one of the formats above which are working - dark mode aside, the highlighter works the same.
Please include the following with each issue:
1. Describe the bug The enum value isn't highlighted correctly.
2. To Reproduce Steps to reproduce the behavior:
Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (i.e. .gif) is not sufficient.
3. Expected behavior Everything that compiles should be highlighted correctly.
4. Actual behavior No Highliting.
5. Versions:
Internal work item: AB#540890