Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>PTX Syntax HighlightNew to Visual Studio Code? Get it now.
PTX Syntax Highlight

PTX Syntax Highlight

Albresky

|
4 installs
| (0) | Free
Syntax highlighting for NVIDIA PTX Assembly
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VS Code PTX Assembly Syntax

Syntax highlighting extension for NVIDIA PTX (Parallel Thread Execution) Assembly language in Visual Studio Code.

Features

  • Syntax Highlighting: Comprehensive syntax highlighting for .ptx files, making assembly code easier to read and understand.

Example

Development & Build

Prerequisites

  • Node.js (v20 or higher)
  • NPM (included with Node.js)
  • vsce (Visual Studio Code Extensions CLI) for packaging
npm install -g @vscode/vsce

Setup

  1. Clone the repository.
  2. Install dependencies:
npm install

Compilation

To compile the source code:

npm run compile

To watch for changes during development:

npm run watch

Packaging

To create a VSIX package for installation:

npm run package

This will generate a .vsix file (e.g., vscode-ptx-0.0.1.vsix) in the root directory.

Installation

From VS Marketplace

Download from Visual Studio | Marketplace

From VSIX

  1. Build the package using the instructions above or download .vsix from release page.
  2. Open VS Code.
  3. Go to the Extensions view (Ctrl+Shift+X).
  4. Click on the "..." (Views and More Actions) menu in the top right corner.
  5. Select "Install from VSIX...".
  6. Choose the generated .vsix file.

Alternatively, we install via command line:

code --install-extension <PATH_TO_VSIX>
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft