prh-languageserver
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -51,3 +51,2 @@ "use strict"; | ||
onDidChangeConfiguration(change) { | ||
this.connection.tracer.log("aaa"); | ||
this.connection.console.log(`onDidChangeConfiguration: ${JSON.stringify(change, null, 2)}`); | ||
@@ -66,7 +65,5 @@ const settings = change.settings; | ||
onDidChangeContent(change) { | ||
this.connection.console.log(`onDidChangeContent: ${JSON.stringify(change, null, 2)}`); | ||
this.sendValidationDiagnostics(change.document); | ||
} | ||
onDidChangeWatchedFiles(change) { | ||
this.connection.console.log(`onDidChangeWatchedFiles: ${JSON.stringify(change, null, 2)}`); | ||
if (this.workspaceRoot == null) { | ||
@@ -130,3 +127,2 @@ return; | ||
onCodeAction(params) { | ||
this.connection.console.log(`onCodeAction: ${JSON.stringify(params)}`); | ||
const textDocument = this.documents.get(params.textDocument.uri); | ||
@@ -141,3 +137,2 @@ const changeSet = this.documentValidate(textDocument); | ||
const tailIndex = textDocument.offsetAt(params.range.end); | ||
this.connection.console.log(`Diff: ${JSON.stringify(diff)} ${index}:${tailIndex}`); | ||
return diff.index === index && diff.tailIndex === tailIndex; | ||
@@ -162,3 +157,2 @@ }) | ||
onExecuteCommand(args) { | ||
this.connection.console.log(`onExecuteCommand: ${JSON.stringify(args)}`); | ||
switch (args.command) { | ||
@@ -165,0 +159,0 @@ case "replace": |
@@ -5,3 +5,3 @@ { | ||
"description": "Language Server of prh", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"publisher": "vvakame", | ||
@@ -8,0 +8,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
18266
248