sbt-dependencies VS Code / Cursor Extension
Syntax highlighting for sbt-dependencies configuration files (dependencies.conf). Works with both VS Code and Cursor.
Features
- Syntax highlighting for dependency strings (organization, artifact, version, configuration)
- Support for both simple and advanced group formats
- Support for object format with notes (
{ dependency = "...", note = "..." })
- Version marker highlighting (
=, ^, ~)
- Variable reference highlighting (
{{name}})
- HOCON comment support (
//, #, /* */)
- CodeLens navigation between
build.sbt and dependencies.conf: jump from a project definition to its dependency group and vice versa
- CodeLens hint on pinned dependencies without a note, with a quick action to add one
Development
Press F5 in VS Code or Cursor to launch a development Extension Host with the extension loaded.
Packaging
npm run package
This creates a .vsix file that can be installed with:
code --install-extension sbt-dependencies-*.vsix
| |