grafana / grafana/jsonnet-language-server

CodeLens: Add `jb` support

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
223
Forks
33
PR merge metrics
No merged PRs in 30d

Description

An operation that has to be done quite often for jsonnet projects is to interact with dependencies. A very common package manager for jsonnet is the [jsonnet bundler](https://github.com/jsonnet-bundler/jsonnet-bundler).

The language server could have CodeLens buttons (a-la-gopls) to check for updates and if there are any, buttons to update dependencies. That would prevent users from having to call `jb` directly

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the language server's existing CodeLens handling and the integration point for invoking jsonnet-bundler's `jb` commands. Define how dependency checks and updates should appear as CodeLens actions, then verify that users can check for updates and update dependencies without calling `jb` directly.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.