Skip to content

Commit 7549672

Browse files
committed
Support shouldLanguageServerExitOnShutdown capability
Supports the capability, which means that language server shuts down when `shutdown` is received instead of when `exit` is received. See eclipse-lemminx/lemminx#1070 Signed-off-by: David Thompson <davthomp@redhat.com>
1 parent 7d0ee7e commit 7549672

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* CodeLens does not work in binary. See [eclipse/lemminx#1046](https://github.com/eclipse/lemminx/issues/1046).
2525
* Error while saving file to cache on Windows OS (PosixFileAttributeView not supported). See [eclipse/lemminx#734](https://github.com/eclipse/lemminx/issues/734).
2626
* Extension doesn't start when running in vscode < 1.55. See [#520](https://github.com/redhat-developer/vscode-xml/pull/520).
27+
* Language server remains running after VS Code stops. See [#TODO](https://github.com/redhat-developer/vscode-xml/pull/TODO).
2728

2829
## [0.16.1](https://github.com/redhat-developer/vscode-xml/milestone/20?closed=1) (May 18, 2021)
2930

src/client/xmlClient.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ function getLanguageClientOptions(logfile: string, externalXmlSettings: External
129129
}
130130
},
131131
actionableNotificationSupport: true,
132-
openSettingsCommandSupport: true
132+
openSettingsCommandSupport: true,
133+
shouldLanguageServerExitOnShutdown: true
133134
}
134135
},
135136
errorHandler: new ClientErrorHandler('XML'),

0 commit comments

Comments
 (0)