tim-koehler / Helm-Intellisense

Extension for Visual Studio Code - Intellisense in helm-templates from the values.yaml
https://marketplace.visualstudio.com/items?itemName=Tim-Koehler.helm-intellisense&ssr=false#overview
MIT License
1.6k stars 23 forks source link

lint should ignore Annotations strings #47

Closed ciiiii closed 2 years ago

ciiiii commented 2 years ago
image
marcfrederick commented 2 years ago

Hey @ciiiii, could you specify what you mean by annotation strings? It's unclear to me from your screenshot in what context this occurs. Do you mean inside template comments ({{ /* ... */ }})?

ciiiii commented 2 years ago

Yes, lint should ignore Field in comments. @marcfrederick

d1820 commented 2 years ago

It should also allow valid usages in a :set call

image

tim-koehler commented 2 years ago

Hey @ciiiii i know it took some time but I just released a patch for the linter to ignore when inside comments.

ciiiii commented 2 years ago

Hey @ciiiii

i know it took some time but I just released a patch for the linter to ignore when inside comments.

That's awesome, I can't wait to upgrade it.

SayLaVie commented 1 year ago

@tim-koehler This fix only works for single-line comments, right? Could you also apply it to mult-line comments?