Skip to content

Commit

Permalink
fix: Make the default server location more reliable and change the pu…
Browse files Browse the repository at this point in the history
…blisher
  • Loading branch information
Marwes committed Jul 8, 2016
1 parent f565d5c commit 1a16233
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions .vscodeignore
@@ -0,0 +1,9 @@
.vscode/**
typings/**
out/test/**
test/**
target/**
**/*.map
.gitignore
tsconfig.json
vsc-extension-quickstart.md
8 changes: 4 additions & 4 deletions package.json
@@ -1,10 +1,10 @@
{
"name": "vscode-gluon",
"name": "gluon",
"description": "Language server for the gluon programming language",
"author": "Markus Westerlind",
"license": "MIT",
"version": "0.0.1",
"publisher": "gluon-lang",
"publisher": "Marwes",
"repository": "https://github.com/Marwes/gluon_language-server",
"engines": {
"vscode": "^0.10.10"
Expand Down Expand Up @@ -38,8 +38,8 @@
"description": "Controls the maximum number of problems produced by the server."
},
"gluon.language-server.path": {
"type": ["string", "null"],
"default": null,
"type": ["string"],
"default": "gluon_language-server",
"description": "Specifies the path to the language server binary."
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Expand Up @@ -9,7 +9,7 @@ import { Trace } from 'vscode-jsonrpc';
export function activate(context: ExtensionContext) {

let config = workspace.getConfiguration("gluon");
let serverPath = config.get("language-server.path", 'gluon_language-server');
let serverPath = config.get("language-server.path", "gluon_language-server");

// If the extension is launched in debug mode then the debug server options are used
// Otherwise the run options are used
Expand Down

0 comments on commit 1a16233

Please sign in to comment.