mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 09:05:10 +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 .
|
$ code .
|
||||||
```
|
```
|
||||||
|
|
||||||
After VSCode is running, update the `ServerOptions` `cwd` parameter to point to
|
After VSCode is running, update the `ServerOptions` inside of `extension.ts` to
|
||||||
the absolute path of your build directory.
|
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
|
You can hit then `F5` to launch the extension locally. Consider taking a look at
|
||||||
the options cquery makes available in vscode settings.
|
the options cquery makes available in vscode settings.
|
||||||
|
Loading…
Reference in New Issue
Block a user