Skip to content

Commit

Permalink
Update vscode-languageclient to 9.0.1 (#1732)
Browse files Browse the repository at this point in the history
* Update vscode-languageclient to 9.0.1

This updates the vscode-languageclient package to 9.0.1. This is a major update that includes a number of changes, including a new dependency on vscode-jsonrpc 8.2.0 and vscode-languageserver-protocol 3.17.5

NOTE: This requires bumping the minimum supported VS Code version to 1.86
  • Loading branch information
jpogran committed May 15, 2024
1 parent b88a537 commit b695170
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
fail-fast: false
matrix:
vscode:
- '1.82.3'
- '1.86.2'
- 'insiders'
- 'stable'
os:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ The Terraform VS Code extension bundles the [Terraform Language Server](https://

The extension does require the following to be installed before use:

- VS Code v1.82 or greater
- VS Code v1.86 or greater
- Terraform v0.12 or greater

## Platform Support
Expand Down
44 changes: 22 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"engines": {
"npm": "~10.X",
"node": "~18.X",
"vscode": "^1.82.3"
"vscode": "^1.86.2"
},
"langServer": {
"version": "0.33.1"
Expand Down Expand Up @@ -871,7 +871,7 @@
"@zodios/plugins": "^10.6.0",
"axios": "^1.4.0",
"semver": "^7.5.4",
"vscode-languageclient": "8.1.0",
"vscode-languageclient": "^9.0.1",
"vscode-uri": "^3.0.7",
"which": "^3.0.1",
"zod": "^3.21.4"
Expand All @@ -883,7 +883,7 @@
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "^18.x",
"@types/vscode": "~1.82.0",
"@types/vscode": "~1.86",
"@types/webpack-env": "^1.18.0",
"@types/which": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^5.59.5",
Expand Down
3 changes: 3 additions & 0 deletions src/features/languageStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ export class LanguageStatusFeature implements StaticFeature {
private outputChannel: vscode.OutputChannel,
) {}

// eslint-disable-next-line @typescript-eslint/no-empty-function
clear(): void {}

getState(): FeatureState {
return {
kind: 'static',
Expand Down
3 changes: 3 additions & 0 deletions src/features/moduleCalls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ export class ModuleCallsFeature implements StaticFeature {

constructor(private client: BaseLanguageClient, private view: ModuleCallsDataProvider) {}

// eslint-disable-next-line @typescript-eslint/no-empty-function
clear(): void {}

getState(): FeatureState {
return {
kind: 'static',
Expand Down
3 changes: 3 additions & 0 deletions src/features/moduleProviders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ export class ModuleProvidersFeature implements StaticFeature {

constructor(private client: BaseLanguageClient, private view: ModuleProvidersDataProvider) {}

// eslint-disable-next-line @typescript-eslint/no-empty-function
clear(): void {}

getState(): FeatureState {
return {
kind: 'static',
Expand Down
3 changes: 3 additions & 0 deletions src/features/semanticTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ interface ObjectWithId {
export class CustomSemanticTokens implements StaticFeature {
constructor(private _client: BaseLanguageClient, private manifest: PartialManifest) {}

// eslint-disable-next-line @typescript-eslint/no-empty-function
clear(): void {}

getState(): FeatureState {
return {
kind: 'static',
Expand Down
3 changes: 3 additions & 0 deletions src/features/showReferences.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ export class ShowReferencesFeature implements StaticFeature {

constructor(private _client: BaseLanguageClient) {}

// eslint-disable-next-line @typescript-eslint/no-empty-function
clear(): void {}

getState(): FeatureState {
return {
kind: 'static',
Expand Down
3 changes: 3 additions & 0 deletions src/features/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ export class TelemetryFeature implements StaticFeature {

constructor(private client: BaseLanguageClient, private reporter: TelemetryReporter) {}

// eslint-disable-next-line @typescript-eslint/no-empty-function
clear(): void {}

getState(): FeatureState {
return {
kind: 'static',
Expand Down
3 changes: 3 additions & 0 deletions src/features/terraformVersion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export class TerraformVersionFeature implements StaticFeature {
private outputChannel: vscode.OutputChannel,
) {}

// eslint-disable-next-line @typescript-eslint/no-empty-function
clear(): void {}

getState(): FeatureState {
return {
kind: 'static',
Expand Down
1 change: 0 additions & 1 deletion src/test/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

import * as vscode from 'vscode';
import * as path from 'path';
import * as assert from 'assert';

export async function open(docUri: vscode.Uri): Promise<void> {
Expand Down

0 comments on commit b695170

Please sign in to comment.