Update readme, add TODO

This commit is contained in:
Jacob Dufault 2017-05-10 23:36:34 -07:00
parent 4c487ab797
commit 74d67b0eb5
2 changed files with 6 additions and 3 deletions

View File

@ -49,8 +49,9 @@ $ npm install
$ code .
```
After VSCode is running, update the `ServerOptions` inside of `extension.ts` to
point to the absolute path of your build directory. For example,
After VSCode is running, update the `ServerOptions` inside of `extension.ts`
to point to the absolute path of your build directory (specifically, the
`cwd` parameter). For example,
```js
let serverOptions: ServerOptions = {
@ -99,7 +100,7 @@ database emitted from your build system of choice. For example, here's how to
generate one in ninja. When you sync your code you should regenerate this file.
```bash
$ ninja -t compdb cxx cc > compile_commands.json
$ ninja -C out/Release -t compdb cxx cc > compile_commands.json
```
The `compile_commands.json` file should be in the top-level workspace directory.

View File

@ -372,5 +372,7 @@ void CompletionManager::UpdateActiveSession(const std::string& filename) {
}
// Reparse |filename|.
// TODO: Instead of actually reparsing it, see if we can hook into the
// indexer and steal the translation unit from there..
reparse_request.Set(MakeUnique<std::string>(filename));
}