Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String blocks with \ breaks highlighting #3500

Closed
agreedSkiing opened this issue Feb 16, 2024 · 1 comment
Closed

String blocks with \ breaks highlighting #3500

agreedSkiing opened this issue Feb 16, 2024 · 1 comment

Comments

@agreedSkiing
Copy link

agreedSkiing commented Feb 16, 2024

Environment
  • Operating System:
> uname -a
Linux DI-001000095350 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal
  • JDK version:
> mvn --version
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /home/eriase/.local/share/mise/installs/maven/latest
Java version: 17.0.10, vendor: Oracle Corporation, runtime: /home/eriase/.local/share/mise/installs/java/oracle-17.0.10
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "5.15.90.1-microsoft-standard-wsl2", arch: "amd64", family: "unix"
> mvnd --version
Apache Maven Daemon (mvnd) 1.0-m8 linux-amd64 native client (0f4bdb6df5e74453d8d558d292789da4e66a7933)
Terminal: org.jline.terminal.impl.PosixSysTerminal with pty org.jline.terminal.impl.jansi.linux.LinuxNativePty
Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Maven home: /home/eriase/.local/share/mise/installs/mvnd/1.0-m8-m39/mvn
Java version: 17.0.10, vendor: Oracle Corporation, runtime: /home/eriase/.local/share/mise/installs/java/oracle-17.0.10
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "5.15.90.1-microsoft-standard-wsl2", arch: "amd64", family: "unix"
  • Visual Studio Code version:
Version: 1.82.1 (system setup)
Commit: 6509174151d557a81c9d0b5f8a5a1e9274db5585
Date: 2023-09-08T08:45:05.575Z
Electron: 25.8.0
ElectronBuildId: 23503258
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045
  • Java extension version:
Name: Language Support for Java(TM) by Red Hat
Id: redhat.java
Description: Java Linting, Intellisense, formatting, refactoring, Maven/Gradle support and more...
Version: 1.28.1
Publisher: Red Hat
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=redhat.java
Steps To Reproduce
  1. Create a java project
  2. Recreate this main method
    public static void main(String[] args) {
        String something = """
            Hello world \

            """;
        int i = 1123;
        Integer other = 123123;
    }

string-block.tar.gz
client.log
java.log

Current Result

bild

Expected Result

Keep formattning as this picture
bild

Additional Informations
@agreedSkiing agreedSkiing changed the title String blocks with ´\´ breaks highlighting String blocks with \ breaks highlighting Feb 16, 2024
@rgrunber
Copy link
Member

This is exactly #3488 . Marking as a duplicate so we can track the progress there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants