Closed iFrozenPhoenix closed 2 years ago
go-jsonnet: 0.18.0 jsonnet-language-server: 0.2.3
When importing a jsonnet file and trying to use it, no autocompletion is provided for the import.
After importing a jsonnet file autocompletion is provided for the import, i.e. when pressing the dot key after "im" ident in the example.
test.jsonnet
{ name: "test" }
main.jsonnet
local im = import "./test.jsonnet"; { asd: im.name }
output
{ "asd": "test" }
Will be tracked here: https://github.com/grafana/jsonnet-language-server/issues/5. I have added autocomplete support for self and locals so far. Imports will happen in october probably
self
Environment
go-jsonnet: 0.18.0 jsonnet-language-server: 0.2.3
Current behaviour
When importing a jsonnet file and trying to use it, no autocompletion is provided for the import.
Expected behaviour
After importing a jsonnet file autocompletion is provided for the import, i.e. when pressing the dot key after "im" ident in the example.
Example
test.jsonnet
main.jsonnet
output