Skip to content

Add DABs LSP language client for bundle files#1852

Draft
shreyas-goenka wants to merge 2 commits intomainfrom
dabs-lsp-client
Draft

Add DABs LSP language client for bundle files#1852
shreyas-goenka wants to merge 2 commits intomainfrom
dabs-lsp-client

Conversation

@shreyas-goenka
Copy link
Contributor

Summary

  • Adds BundleLSPClient that spawns databricks bundle lsp via stdio to provide deployment-aware features for bundle YAML files
  • Supports document links (ctrl+click on resource keys to open in Databricks workspace) and hover (resource ID, name, workspace link)
  • Stacks with the existing Red Hat YAML extension — VS Code merges results from both language servers
  • Activates for databricks.yml, databricks.yaml, bundle.yml, bundle.yaml

Dependencies

Test plan

  • Manual test with CLI binary containing the LSP server
  • Verify document links work (ctrl+click opens resource in browser)
  • Verify hover shows resource metadata
  • Verify Red Hat YAML extension still provides completions alongside

🤖 Generated with Claude Code

Introduces a BundleLSPClient that spawns `databricks bundle lsp` via
stdio to provide deployment-aware features for bundle YAML files:

- Document links: Ctrl+click on resource keys to open in workspace
- Hover: Shows resource ID, name, and workspace link

The client connects to the CLI's new hidden LSP server and activates
for all bundle YAML files (databricks.yml, databricks.yaml, etc.).
Stacks with the existing Red Hat YAML extension.

Depends on: databricks/cli#4714

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The CLI moved the LSP server from `databricks bundle lsp` to
`databricks experimental bundle-lsp`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/vscode

Inputs:

  • PR number: 1852
  • Commit SHA: eeeb710294d43e10366f020fa25cab8b5ad4c9c6

Checks will be approved automatically on success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant