<p dir="auto">I think there should be a triple state value instead of a boolean in the settings.json. So one can choose between don't show folding, show folding on hover and alwasy show folding.</p>
<p dir="auto">When you define <code class="notranslate">decorators</code> for an editor (<code class="notranslate">activeEditor.setDecorations</code>), you must define a <code class="notranslate">Range</code>, which can be a specific line where you want to add that decorator (an image with <code class="notranslate">gutterIconPath</code> for instance).</p>
<p dir="auto">But if you <strong>Fold</strong> the lines where this decorator is defined, the icon is not hidden with the lines, but instead, it is shown in the line where the folding starts.</p>
<p dir="auto">I didn't find anything in <code class="notranslate">line</code> or <code class="notranslate">decorators</code> that could be used to <em>detect if the line is folded</em>, so I think that the folding engine should be taking care of that, right?</p>
<p dir="auto">Thanks in advance</p>