Skip to content

Java text blocks #872

@otbutz

Description

@otbutz

Is there an existing issue for this?

  • I have searched the existing issues

What problem does this feature solve?

Chroma should support text blocks which got added in Java 15:

public static void main(String[] args) {
    System.out.println("""
            Hello, world!
            This is a multi-line string!
            It can also contain "quotes" and 'apostrophes' without breaking.
            """);
}

Chroma Playground (v2.9.1):

image

What feature do you propose?

The textblock should render as such:

image

Source: IntelliJ

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions