/vscode-torque

Visual Studio Code Extension for V8 Torque Language Support

Primary LanguageTypeScriptApache License 2.0Apache-2.0

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!