Skip to content

Add 'Ignore Formatting' surround with command - #1169

Merged
datho7561 merged 1 commit into
redhat-developer:mainfrom
angelozerr:surround-with-ignore-formatting
Sep 14, 2026
Merged

Add 'Ignore Formatting' surround with command#1169
datho7561 merged 1 commit into
redhat-developer:mainfrom
angelozerr:surround-with-ignore-formatting

Conversation

@angelozerr

@angelozerr angelozerr commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Register a new surround with command that wraps selected XML content with formatter off/on comments via the LemMinX language server.

This PR requires eclipse-lemminx/lemminx#1848

Here a demo:

IgnoreFormatting

Register a new surround with command that wraps selected XML content
with formatter off/on comments via the LemMinX language server.

Signed-off-by: azerr <azerr@redhat.com>

@datho7561 datho7561 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and works well. Thanks, Angelo!

@datho7561 datho7561 added the enhancement New feature or request label Sep 14, 2026
@datho7561
datho7561 merged commit bff1dd7 into redhat-developer:main Sep 14, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request formatting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants