USD
Syntax highlighting for OpenUSD ASCII files (.usd, .usda).
Languages
How to install
With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.
You can also open the Extensions panel in the app and search for USD. The extension's id is usd.
Don't have Forge Super yet? Download it here.
README
From the extension's repository, written by its authors and not by Mentenaz. See the source.
zed-usd
USD/USDA language support for Zed using
tree-sitter-usd.
Scope (v1)
- Syntax highlighting for
.usdand.usda - File association for USD/USDA suffixes
- Basic bracket pairing and indentation query support
Install For Development (Local)
- Open Zed.
- Open command palette.
- Run
Extensions: Install Dev Extension. - Select the cloned local folder for this repository (for example:
/path/to/zed-usd). - Open
fixtures/basic.usdaor any.usd/.usdafile and verify highlighting.
Project Layout
extension.toml: extension metadata and grammar pinlanguages/usd/config.toml: language config and file suffix mappinglanguages/usd/highlights.scm: syntax highlight querieslanguages/usd/brackets.scm: bracket pair querieslanguages/usd/indents.scm: indentation querieslanguages/usd/outline.scm: basic symbols in the outline panelfixtures/basic.usda: quick manual test fixture
Known Limitations
- Highlighting is baseline and may miss some advanced USD constructs.
.usdcan also be binary in some workflows; this extension targets text/ASCII syntax highlighting.- Rich outline/navigation queries are not included in v1.
Grammar Source
This extension uses:
tree-sitter-usdat commit4e0875f724d94d0c2ff36f9b8cb0b12f8b20d216- Upstream grammar license: GPL-3.0-or-later
- Repository license: MIT
See THIRD_PARTY_NOTICES.md and LICENSE.
References / Related Projects
- Zed editor: https://zed.dev
- Zed extension docs (languages): https://zed.dev/docs/extensions/languages
- Zed extension docs (development): https://zed.dev/docs/extensions/developing-extensions
tree-sitter-usdgrammar (upstream parser used by this extension): https://github.com/ColinKennedy/tree-sitter-usd- Tree-sitter parser list entry for USD: https://github.com/tree-sitter/tree-sitter/wiki/List-of-parsers
nvim-treesitterparser registry (USD listed): https://github.com/nvim-treesitter/nvim-treesitter- OpenUSD project and docs: https://openusd.org