tablegen-lsp

June 28, 2026 ยท View on GitHub

A language server and VS Code extension for TableGen.

Quick Start

See docs/tutorial.md for a quick start.

Features

See docs/features.md for a list of features currently implemented or planned.

Installation

This extension is available on the VS Code Marketplace.

Configuration

See docs/configuration.md for configuration options.

Development

Dependencies

  • LLVM 22

Building from Source

# Clone the repository
git clone --recurse-submodules https://github.com/arata-nvm/tablegen-lsp
cd tablegen-lsp

# Linux
TABLEGEN_220_PREFIX=/usr/lib/llvm-22 cargo build

# macOS
brew install llvm@22
cargo build

Running Tests

cargo test

Debugging

  1. Open the vscode directory in VS Code
  2. Press F5 to start debugging

License

This project is licensed under the MIT License.

Some files in this project are derived from the LLVM Project and are licensed under the Apache License v2.0 with LLVM Exceptions:

For the full text of the Apache License v2.0 with LLVM Exceptions, please see vscode/third-party/LICENSE.TXT.