Skip to content

Remove document formatting range registration and make formatting wor…#179

Merged
JPinkney merged 1 commit intomasterfrom
fixDocumentFormattingOnPaste
Sep 13, 2019
Merged

Remove document formatting range registration and make formatting wor…#179
JPinkney merged 1 commit intomasterfrom
fixDocumentFormattingOnPaste

Conversation

@JPinkney
Copy link
Copy Markdown
Contributor

@JPinkney JPinkney commented Sep 4, 2019

…k for all yaml files

Fixes: redhat-developer/vscode-yaml#220 which came about because documentRangeFormatter was being dynamically registered even though the feature is not actually supported in the language server.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.4%) to 67.01% when pulling ca40f01 on fixDocumentFormattingOnPaste into 2be16f3 on master.

@JPinkney JPinkney merged commit 03af2f8 into master Sep 13, 2019
@evidolob evidolob deleted the fixDocumentFormattingOnPaste branch August 11, 2020 13:18
evidolob added a commit to evidolob/yaml-language-server that referenced this pull request Jan 12, 2021
Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
evidolob added a commit that referenced this pull request Jan 18, 2021
* #179 add 'doDocumentOnTypeFormatting' implementation

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>

* add tests

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>

* add handler

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>

* add missing trigger character

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>

* Update tests

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
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.

Error on Paste - Range Formatting

2 participants