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
{
"a": "this is the first line in the string\n\n# this is not a comment\nb: false\nc: 0\nfail: this is the last line\n",
"otherProperty": "this is correctly highlighted"
}
VS Code correctly highlights it.
Notepad++ fails to highlight it correctly.
At the time of posting, GitHub also has the same issue!
Steps To Reproduce
Copy the example to Notepad++.
Set the language to YAML.
Look at the incorrect highlighting.
Current Behavior
The highlighting is incorrect.
Expected Behavior
The highlighting is correct, as shown in the VS Code example screenshot.
Debug Information
Notepad++ v8.6.7 (64-bit)
Build time: May 12 2024 - 20:04:00
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : OFF
OS Name : Windows 11 Pro for Workstations (64-bit)
OS Version : 23H2
OS Build : 22631.3672
Current ANSI codepage : 1252
Plugins :
mimeTools (3.1)
NppConverter (4.6)
NppExport (0.4)
Anything else?
I use YAML block scalars to define multiline strings for shell scripts in build pipelines (GitHub Actions workflows and Azure DevOps pipelines), which break the syntax highlighting in Notepad++.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description of the Issue
This YAML example is highlighted incorrectly in Notepad++ but works in VS Code:
That example corresponds to this JSON (which can be confirmed by copying the example to https://yaml-online-parser.appspot.com):
VS Code correctly highlights it.
Notepad++ fails to highlight it correctly.
At the time of posting, GitHub also has the same issue!
Steps To Reproduce
YAML
.Current Behavior
The highlighting is incorrect.
Expected Behavior
The highlighting is correct, as shown in the VS Code example screenshot.
Debug Information
Anything else?
I use YAML block scalars to define multiline strings for shell scripts in build pipelines (GitHub Actions workflows and Azure DevOps pipelines), which break the syntax highlighting in Notepad++.
The text was updated successfully, but these errors were encountered: