grafana / grafana/vscode-jsonnet

Pass jpath from file?

Open
#40 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
86
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Hi,

it would be great if it were possible to pass in the jpath from the outside. I'm managing my build and thus also the jpath using the Gradle Build Tool. I think it would be nice if I could dump the jpath that my build inferred into a file that would then be taken into account by the extension.

Edit: thinking some more about this, it might make sense to also pass int extVars and tlas via a file. That way I could produce a completely runnable configuration from my build script.

Edit: Ok, this might already be possible by generating the workspace local settings.json file. I'll try that :)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by checking whether the workspace-local settings.json already supports supplying jpath, extVars, and tlas, as the latest edit suggests. Done means determining whether the requested configuration is already available and, if not, defining a clear extension configuration path for values generated by Gradle.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.