79faf99b53
This CL fixes an issue where a comment was not highlighted correctly after a class definition. Bug: v8:7793 Notry: true Change-Id: I378a1373c8f4a6c8d48c4bb2ee4a4c3b39b2341f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1585733 Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Commit-Queue: Tobias Tebbi <tebbi@chromium.org> Auto-Submit: Sigurd Schneider <sigurds@chromium.org> Cr-Commit-Position: refs/heads/master@{#61067} |
||
---|---|---|
.. | ||
.vscode | ||
out | ||
src | ||
syntaxes | ||
.npmrc | ||
language-configuration.json | ||
package.json | ||
README.md | ||
tsconfig.json | ||
tslint.json |
Torque support
This extension adds language support for the Torque language used in V8.
Installation
Since the extension is currently not published to the marketplace, the easiest way to install the extension is to symlink it to your local extension directory:
ln -s $V8/tools/torque/vscode-torque $HOME/.vscode/extensions/vscode-torque
Additionally, for advanced language server features, the extension needs to be built locally (the syntax highlighting does not require this step). The following needs to be run everytime the extension is updated:
cd $V8/tools/torque/vscode-torque
npm install
Language server
The language server is not built by default. To build the language server manually:
autoninja -C <output dir> torque-language-server
The default directory where the extension looks for the executable is "out/x64.release",
but the absolute path to the executable can be configured with the torque.ls.executable
setting.