Skip to content

Indent snippet new line if LSP client doesn't support InsertTextMode#AdjustIndentation #727

@angelozerr

Description

@angelozerr

In Eclipse IDE, the snippet section doesn't generate correctly the line identation (for new ines)

EclipseInlayHintDemo

After reading microsoft/language-server-protocol#83, I noticed that Eclipse IDE doesn't support InsertTextMode#AdjustIndentation, it means that we need to check this mode (coming from LSP client capability) and generate the proper line indentation in this case.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions