summaryrefslogtreecommitdiff
path: root/lib/extension.ts
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2018-06-30 20:36:34 -0700
committerGeorge Fraser <george@fivetran.com>2018-06-30 20:36:34 -0700
commit9fab6a5321a4c6d886822e5229f6f912472db7a1 (patch)
tree61ab1de59152034d29f3abc06c6d74dea7389592 /lib/extension.ts
parent18d94f9e96bb91130992367ff40b90d8fd9e657d (diff)
downloadjava-language-server-9fab6a5321a4c6d886822e5229f6f912472db7a1.zip
Use parsing, not Doclet API
Diffstat (limited to 'lib/extension.ts')
-rw-r--r--lib/extension.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/extension.ts b/lib/extension.ts
index 706e440..14a422f 100644
--- a/lib/extension.ts
+++ b/lib/extension.ts
@@ -51,11 +51,9 @@ export function activate(context: VSCode.ExtensionContext) {
let serverOptions: ServerOptions = {
command: javaExecutablePath,
args: args,
- options: { cwd: VSCode.workspace.rootPath }
+ options: { cwd: context.extensionPath }
}
- console.log(javaExecutablePath + ' ' + args.join(' '));
-
// Copied from typescript
VSCode.languages.setLanguageConfiguration('java', {
indentationRules: {