diff --git a/vti/src/cli.ts b/vti/src/cli.ts index 42d173ec68..1eb4dd631d 100644 --- a/vti/src/cli.ts +++ b/vti/src/cli.ts @@ -64,6 +64,7 @@ async function prepareClientConnection(workspaceUri: Uri) { const init: InitializeParams = { rootPath: workspaceUri.fsPath, rootUri: workspaceUri.toString(), + processId: process.pid, ...params } as InitializeParams; diff --git a/vti/src/initParams.ts b/vti/src/initParams.ts index 495eecbf07..3faa8c4dab 100644 --- a/vti/src/initParams.ts +++ b/vti/src/initParams.ts @@ -1,8 +1,4 @@ export const params = { - /** - * Doesn't matter as long as its positive - */ - processId: 1, capabilities: {}, initializationOptions: { config: {