mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Update README.md
This commit is contained in:
parent
1b2219f509
commit
4f6c659ccb
14
README.md
14
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.
|
||||
|
Loading…
Reference in New Issue
Block a user