grafana/vscode-jsonnet

Pass jpath from file?

skuzzle opened this issue · 0 comments

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