Skip to content

Visual Studio Code Extension for V8 Torque Language Support

License

Notifications You must be signed in to change notification settings

v8/vscode-torque

Repository files navigation

V8 Torque Language Support

This extension adds language support for the V8 project internal language V8 Torque. This is not an officially supported Google product.

Language server

The language server is not built by default. To build the language server manually:

cd <v8 checkout>
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.

Installation instructions

Open Visual Studio Code. Press Ctrl+Shift+X or Cmd+Shift+X to open the Extensions pane. Find and install the “V8 Torque Language Support” extension. Alternatively, install the extension from the Marketplace. Open any .tq file in VS Code. The extension is now activated!