You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
monaco-editor version: 0.28.0
Browser: Chrome
OS: Windows
Java 17 is out and it's LTS release. Many projects will transit form Java 11 to Java 17. However, it seems that monaco doesn't support Java 12 to 17 syntax features.
The entire string should be colored in the same color (brown in Visual Studio theme).
Examples:
StringiliadQuote = """ "But raging still, amidst his navy sat The stern Achilles, stedfast in his hate; Nor mix’d in combat, nor in council join’d; But wasting cares lay heavy on his mind: In his black thoughts revenge and slaughter roll, And scenes of blood rise dreadful in his soul." """;
Stringquery = """ SELECT "EMP_ID", "LAST_NAME" FROM "EMPLOYEE_TB" WHERE "CITY" = 'INDIANAPOLIS' ORDER BY "EMP_ID", "LAST_NAME"; """;
Stringhtml = """ <html> <body> <p>Hello, world</p> </body> </html> """;
Stringexample = """ You can use "single" or ""double"" quotes any time you like. But you must escape one if you want triple quotes: \"""" or \"\""" if you want four. The line after me will be directly concatenated onto the same line\ But this line will preserve a single trailing space at the end\s And this line will keep six trailing spaces \s """;
Various keywords for other features.
Other features seem to be fine, except the new keywords isn't highlighted properly.
Examples:
a. yield in switch expressions (JEP 361). Should be the same color as break and return
Stringgroup = switch (planet) {
caseEARTH, MARS -> {
System.out.println("inner planet");
System.out.println("made up mostly of rock");
yield "inner";
}
caseJUPITER, SATURN -> {
System.out.println("outer planet");
System.out.println("ball of gas");
yield "outer";
}
};
b. record in records (JEP 395). Should be the same color as class
record Point(intx, inty) { }
publicvoidwithLocalRecord() {
record Point(intx, inty) { };
Pointp = newPoint(1, 2);
}
c. sealed, permits, non-sealed in sealed classes (JEP 409). sealed and non-sealed should be the same color as public, abstract etc. permits should be the same color as extends and implements.
monaco-editor version: 0.28.0
Browser: Chrome
OS: Windows
Java 17 is out and it's LTS release. Many projects will transit form Java 11 to Java 17. However, it seems that monaco doesn't support Java 12 to 17 syntax features.
The entire string should be colored in the same color (brown in
Visual Studio
theme).Examples:
Other features seem to be fine, except the new keywords isn't highlighted properly.
Examples:
a.
yield
in switch expressions (JEP 361). Should be the same color asbreak
andreturn
b.
record
in records (JEP 395). Should be the same color asclass
c.
sealed
,permits
,non-sealed
in sealed classes (JEP 409).sealed
andnon-sealed
should be the same color aspublic
,abstract
etc.permits
should be the same color asextends
andimplements
.The text was updated successfully, but these errors were encountered: