Autocompletion in jsonnet imported libraries with qbec #285
rgershkovich
started this conversation in
General
Replies: 1 comment
-
We don;t actually use a lot of complex libraries in jsonnet. That said... Would it be helpful if |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys,
First of all, thanks a lot for your work on qbec, we hugely depend on this tool.
I understand this is not a qbec-specific question, but as you probably use jsonnet for Kubernetes a lot yourself and also have some suggestions for VSCode here I might give a try.
May I ask you for hints regarding IDE setup for autocompletion from imported libraries? I can't understand if I am doing it wrong, or it is not possible to do currently.
What I want to have (using https://github.com/jsonnet-libs/k8s-libsonnet):
When i write
container.with
I want to have a suggestion from the list of possible values. Would be nice to have suggestion fromk.core.v1 ...
list, but this is less desirable.What I tried:
glob-import
are not supportedjsonnet-qbec
, but config options are not compatible (like-J
instead of--jpath
) and can't be changed, in default mode does not autocomplete from libsCould not initialize class com.github.zzehring.intellijjsonnet.JsonnetFileType
Would be grateful for any recommendations as greping through mixin stuff is suboptimal. Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions