Skip to content

feat: Make AdjustIndentation the default insertTextMode for completion proposals without explicit insertTextMode#1365

Merged
mickaelistria merged 1 commit into
eclipse-lsp4e:mainfrom
FlorianKroiss:adjust-indentation-default
Nov 5, 2025
Merged

feat: Make AdjustIndentation the default insertTextMode for completion proposals without explicit insertTextMode#1365
mickaelistria merged 1 commit into
eclipse-lsp4e:mainfrom
FlorianKroiss:adjust-indentation-default

Conversation

@FlorianKroiss
Copy link
Copy Markdown
Contributor

VS Code also uses this as the default

@FlorianKroiss
Copy link
Copy Markdown
Contributor Author

FlorianKroiss commented Nov 5, 2025

I'm not sure if this is a breaking change. Before this, we implicitly used AsIs as the default mode, without telling the language server. Language servers which did not set an explicit insertTextMode beforehand might behave differently in LSP4E after this change.

@rubenporras
Copy link
Copy Markdown
Contributor

@mickaelistria , any opinion on this one?

@mickaelistria
Copy link
Copy Markdown
Contributor

No opinion nor objection, let's merge and see ;)

@mickaelistria mickaelistria merged commit 914633c into eclipse-lsp4e:main Nov 5, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants