yang-vscode icon indicating copy to clipboard operation
yang-vscode copied to clipboard

IntelliSense code completion does not respect yang.settings diagnostic indentation value

Open esmasth opened this issue 2 years ago • 1 comments

With yang.settings diagnostic indentation value set to " " (two spaces), following code completion was attempted image

After selection of a completion offer, the indentation is seemingly based on the default value " ", and moreover indentation is not consistent within the block as seen below. image

Formatting the document does respect the yang.settings diagnostic indentation value as seen below, and was the expected code completion in the first place. image

esmasth avatar Mar 02 '24 11:03 esmasth

I have observed similar behavior in an under development emacs-lsp/lsp-mode#4355 plugin, so it seems that behavior lies within TypeFox/yang-lsp.

esmasth avatar Mar 12 '24 08:03 esmasth