vscode-kubernetes-tools / vscode-kubernetes-tools

Kubernetes extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ms-kubernetes-tools.vscode-kubernetes-tools
Apache License 2.0
685 stars 246 forks source link

Does this extension have autocomplete features? #518

Open cmeyertons opened 5 years ago

cmeyertons commented 5 years ago

I saw #447 in the backlog and #147 . Does this extension have autocomplete??

Is there something special about the folder structure you have to do in order to enable it? I haven't had any autcomplete capabilities the duration of my usage.

I currently have my helm chart under /folder/k8s/chart-name

image

bnookala commented 5 years ago

Hey there, @cmeyertons!

Thanks for raising this - I've spoken with @itowlson, and confirmed with him that we don't currently provide autocomplete - but we do have a (somewhat) borked snippet insertion mechanism that gets triggered when our k8s yaml schema support detects a k8s yaml file. You can see the same in your screenshot as the option to insert a Deployment. I tried myself to insert a Pod type, but found it doesn't work the way I expected, and inserts the snippet right after your existing schema:

Screen Shot 2019-04-12 at 11 02 31 PM

So the two action items here are for us are to:

Let me know if I've covered your requests (and the bug I found while searching for your request). Hope that clears things up - we'll get working on these soon.