In 2018 the LSP protocol added a keepWhitespace option for CompletionItems to preserve whitespace and not add automatic indentation on subsequent lines based on where the completion was prompted from. See this issue and the implementation here.
A language server I help maintain would greatly benefit from being able to use that setting if it can be added to the LSP4J CompletionItem as well.
Hi there,
In 2018 the LSP protocol added a
keepWhitespace
option for CompletionItems to preserve whitespace and not add automatic indentation on subsequent lines based on where the completion was prompted from. See this issue and the implementation here.A language server I help maintain would greatly benefit from being able to use that setting if it can be added to the LSP4J
CompletionItem
as well.