Skip to content

Commit

Permalink
Support shouldLanguageServerExitOnShutdown capability
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
datho7561 committed Jun 25, 2021
1 parent 7d0ee7e commit 4912bfa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* CodeLens does not work in binary. See [eclipse/lemminx#1046](https://github.com/eclipse/lemminx/issues/1046).
* Error while saving file to cache on Windows OS (PosixFileAttributeView not supported). See [eclipse/lemminx#734](https://github.com/eclipse/lemminx/issues/734).
* Extension doesn't start when running in vscode < 1.55. See [#520](https://github.com/redhat-developer/vscode-xml/pull/520).
* Language server remains running after VS Code stops. See [#530](https://github.com/redhat-developer/vscode-xml/pull/530).

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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dtd"
],
"xmlServer": {
"version": "0.17.0"
"version": "0.17.1"
},
"binaryServerDownloadUrl": {
"linux": "https://download.jboss.org/jbosstools/vscode/snapshots/lemminx-binary/LATEST/lemminx-linux.zip",
Expand Down
3 changes: 2 additions & 1 deletion src/client/xmlClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ function getLanguageClientOptions(logfile: string, externalXmlSettings: External
}
},
actionableNotificationSupport: true,
openSettingsCommandSupport: true
openSettingsCommandSupport: true,
shouldLanguageServerExitOnShutdown: true
}
},
errorHandler: new ClientErrorHandler('XML'),
Expand Down

0 comments on commit 4912bfa

Please sign in to comment.