From 4f6c659ccb5fe69264270ac9b896db7a488a141b Mon Sep 17 00:00:00 2001 From: Jacob Dufault Date: Tue, 25 Apr 2017 13:54:37 -0700 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 043cda96..c09e3714 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,18 @@ $ npm install $ code . ``` -After VSCode is running, update the `ServerOptions` `cwd` parameter to point to -the absolute path of your build directory. +After VSCode is running, update the `ServerOptions` inside of `extension.ts` to +point to the absolute path of your build directory. For example, + +```js +let serverOptions: ServerOptions = { + command: './app', + args: ['--language-server'], + options: { + cwd: '/home/cquery/build/' + } + } +``` You can hit then `F5` to launch the extension locally. Consider taking a look at the options cquery makes available in vscode settings.