Replies: 2 comments 3 replies
-
The language server is great already, in neovim I have a shortcut that can peek into the definition, this is very useful to see what a function can do. It is just very hard to do with jsonnet given it is a lazy and untyped language. For Argo, that is up for grabs. Within Grafana we run |
Beta Was this translation helpful? Give feedback.
-
Looks like I'm using a fork nvim-lspconfig: https://github.com/Duologic/nvim-lspconfig/blob/20a0a94f7fa22b19560ee50469f1f4c33b6922c8/lua/lspconfig/server_configurations/jsonnet_ls.lua |
Beta Was this translation helpful? Give feedback.
-
This is a bit of a meta discussion, but I think important nonetheless.
While Tanka helped quite a bit in using jsonnet with Kubernetes, I think there is still a significant lack in terms of tooling that prevents new users from easily adopting it.
I think 2 big items could really help ease users transition and favor adoption are:
1. Proper completion and hover support by https://github.com/grafana/jsonnet-language-server
2. Integration with ArgoCD
For point
1
, I really think this would be a game changer for new comers. Being able to complete unfamiliar code and see function signatures is something that can really ease the initial learning curve and is also something that is often expected from new users. There seems to be some preliminary work being done grafana/jsonnet-language-server#5 however, most of the language server seems to be handled by a single developer. I am wondering if this is something that other people from within the Grafana organization might be interested in helping with, given the big benefits for jsonnet adoption?For point
2
, I think this one is a bit more subtle, however I do think that ArgoCD is now one of the main (if not the most popular) GitOps tool in use at the moment. Being able to see Tanka as a first party integration alongside helm and kustomize, could be a welcoming sight and something that would also ease users into adopting it. While it is possible to do it with sidecar plugins, it is still a bit awkward and also is not the best experience if you have to deal with multiple private repositories. Seeing this issue argoproj/argo-cd#3124, I was wondering if there is still interest from the Tanka community in providing ArgoCD first class support?Beta Was this translation helpful? Give feedback.
All reactions