tim-koehler / Helm-Intellisense

Extension for Visual Studio Code - Intellisense in helm-templates from the values.yaml

Home Page:https://marketplace.visualstudio.com/items?itemName=Tim-Koehler.helm-intellisense&ssr=false#overview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Output generated in the output tab moves cursor focus to the output tab.

BradLewis opened this issue · comments

So that's not the clearest title so I'll try to explain what I mean by that.

When typing a command, the intellisense all works correctly and as expected, however after typing .Values. (after typing the last dot), the intellisense appears as expected (and lists all of my available values), however after around a second, a message appears in the output:

Missing value at path [.Values.] in file [{PATH}\deployment.yaml:16]

Whilst this error appearing in the output isn't an issue exactly, it forces the focus from the window where I am typing to the output window making it very difficult to type anything.

Hey @BradLewis
this is strange...do you have some kind of autosave plugin installed? The linter should only be running when the document is saved or you execute the command manually.

If you dont't want the linter to be activated when the file is saved you can do the following in your settings.json:
"helm-intellisense.lintFileOnSave": false,

Hi Tim,
Yeah that's it! I use the autosaving feature which runs after a second of not typing which was running the linter. Disabling the linting on save fixes this.
However it be possible to stop the output changing the window focus?

Yep already working on that :)

Fix released with v0.7.4