aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
authorMikhail Rakhmanov <[email protected]>2020-06-03 17:39:01 +0100
committerMikhail Rakhmanov <[email protected]>2020-06-03 17:39:01 +0100
commitbacd0428fa0fd744eb0aac6d5d7abd18c6c707b7 (patch)
tree54ceaaeec17255753cf886da1fffc640e50df254 /editors/code/src
parentcb482e6351c4005f29bb89d38c64c4e3f93d7a6d (diff)
Fix review comments
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/client.ts2
-rw-r--r--editors/code/src/lsp_ext.ts1
2 files changed, 0 insertions, 3 deletions
diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts
index a25091f79..40ad1e3cd 100644
--- a/editors/code/src/client.ts
+++ b/editors/code/src/client.ts
@@ -61,8 +61,6 @@ export function createClient(serverPath: string, cwd: string): lc.LanguageClient
61 const id = (item as any).id; 61 const id = (item as any).id;
62 const resolveParams: ra.ResolveCodeActionParams = { 62 const resolveParams: ra.ResolveCodeActionParams = {
63 id: id, 63 id: id,
64 // TODO: delete after discussions if needed
65 label: item.title,
66 codeActionParams: params 64 codeActionParams: params
67 }; 65 };
68 action.command = { 66 action.command = {
diff --git a/editors/code/src/lsp_ext.ts b/editors/code/src/lsp_ext.ts
index 35d73ce31..9793b926c 100644
--- a/editors/code/src/lsp_ext.ts
+++ b/editors/code/src/lsp_ext.ts
@@ -35,7 +35,6 @@ export const parentModule = new lc.RequestType<lc.TextDocumentPositionParams, lc
35 35
36export interface ResolveCodeActionParams { 36export interface ResolveCodeActionParams {
37 id: string; 37 id: string;
38 label: string;
39 codeActionParams: lc.CodeActionParams; 38 codeActionParams: lc.CodeActionParams;
40} 39}
41export const resolveCodeAction = new lc.RequestType<ResolveCodeActionParams, lc.WorkspaceEdit, unknown>('experimental/resolveCodeAction'); 40export const resolveCodeAction = new lc.RequestType<ResolveCodeActionParams, lc.WorkspaceEdit, unknown>('experimental/resolveCodeAction');