USD/USDA language support for Zed using
tree-sitter-usd.
- Syntax highlighting for
.usdand.usda - File association for USD/USDA suffixes
- Basic bracket pairing and indentation query support
- 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.
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
- 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.
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.
- 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
