-
Notifications
You must be signed in to change notification settings - Fork 582
VSCode extension: bump vscode-languageclient
#5528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
For some reason no-shadow rule does not work with typescript enums
vscode_extension/package.json
Outdated
| "author": "Stripe Inc.", | ||
| "license": "Apache-2.0", | ||
| "version": "0.3.12", | ||
| "version": "0.3.11", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this going down?
vscode_extension/package.json
Outdated
| }, | ||
| "eslintConfig": { | ||
| "rules": { | ||
| "no-shadow": "off" | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move this into our eslint YAML config file?
jez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small requests.
Change bumps the
vscode-languageclientpackage. It also required to bump couple of related packages includingtypescriptMotivation
Previous version of the language client didn't support the
codeAction/resolverequest. Here is client capabilities from previous version:{ "codeAction": { "dynamicRegistration": true, "isPreferredSupport": true, "codeActionLiteralSupport": { "codeActionKind": { "valueSet": [ "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" ] } } } }and in the new version
{ "codeAction": { "dynamicRegistration": true, "isPreferredSupport": true, "disabledSupport": true, "dataSupport": true, "resolveSupport": { // I was looking for this property "properties": [ "edit" ] }, "codeActionLiteralSupport": { "codeActionKind": { "valueSet": [ "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" ] } }, "honorsChangeAnnotations": false } }Test plan
See included automated tests.