Skip to content

Fix indentation for snippet strings within code actions.#3970

Merged
rgrunber merged 1 commit intoredhat-developer:masterfrom
rgrunber:fix-code-action-indent
Mar 11, 2025
Merged

Fix indentation for snippet strings within code actions.#3970
rgrunber merged 1 commit intoredhat-developer:masterfrom
rgrunber:fix-code-action-indent

Conversation

@rgrunber
Copy link
Copy Markdown
Member

@rgrunber rgrunber commented Mar 10, 2025

Before

codeaction-snippet-indent-before.mp4

After

codeaction-snippet-indent-after.mp4

- Language server (JDT-LS) handles appropriate indentation so indicate
  to client that whitespace is to be preserved

Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
@rgrunber rgrunber added this to the End March 2025 milestone Mar 10, 2025
@rgrunber rgrunber self-assigned this Mar 10, 2025
@rgrunber rgrunber moved this to Pending review in Java Tooling Mar 10, 2025
@rgrunber rgrunber merged commit f970c5c into redhat-developer:master Mar 11, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this from Pending review to Done in Java Tooling Mar 11, 2025
@rgrunber rgrunber deleted the fix-code-action-indent branch March 11, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant