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
Java versions 15+ support multi-line strings in the form of text blocks delineated by three double-quotes:
String foo = """
some text
some more text
""";
The linux 4b3 install includes openjdk 17.0.1 2021-10-19, but the above code still generates a syntax error in the IDE.
Text blocks would be a very convenient way to include small shaders without having to resort to a separate external editor, though, granted, they won't have any syntax highlighting or automated formatting.
The text was updated successfully, but these errors were encountered:
Yeah, was reading about these earlier today. There's a chance we may bounce back to JDK 11 since it seems to be more widely supported, but we'll keep this one in mind if we stick with Java 17. This is a really useful feature for plenty of work that I do as well so I can understand its importance.
This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs.
Created by: scudly
Java versions 15+ support multi-line strings in the form of text blocks delineated by three double-quotes:
String foo = """
some text
some more text
""";
The linux 4b3 install includes openjdk 17.0.1 2021-10-19, but the above code still generates a syntax error in the IDE.
Text blocks would be a very convenient way to include small shaders without having to resort to a separate external editor, though, granted, they won't have any syntax highlighting or automated formatting.
The text was updated successfully, but these errors were encountered: