grafana / vscode-jsonnet

Full code support (formatting, highlighting, navigation, etc) for Jsonnet
Apache License 2.0
65 stars 7 forks source link

Pass jpath from file? #40

Open skuzzle opened 4 months ago

skuzzle commented 4 months ago

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 :)