Skip to content

Allow CompletionItem to control how text is being inserted #57093

Closed
@jrieken

Description

@jrieken

Today, when inserting completion items (and snippets) that span multiple lines we adjust whitespace. That's not always wanted (see microsoft/language-server-protocol#83) and we should expose a flag that controls how the CompletionItem#insertText is being inserted.

In Roslyn, CompletionItemRules exist and we should either have something comparable or inline a property ala "insertAsIs"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions