<p dir="auto">I updated to 0.10.10 today, hoping to try out the new JavaScript support with Salsa. Unfortunately, my Intellisense has stopped working. I am using type definition files from definitely typed (e.g. the express.d.ts).</p>
<p dir="auto">For example, using 0.10.8:</p>
<p dir="auto">var exp = require("express");<br>
exp.Router</p>
<p dir="auto">I will see the content assist for the "Router" function and I can visit the definition file by right clicking on "Router" &gt; Go to Definition</p>
<p dir="auto">Now when I do the same thing in 0.10.10, I don't see "Router" in the Intellisense list. In addition, the list seems to have variables I had defined earlier in my code (which doesn't apply to express at all).</p>
<p dir="auto">It would be useful for extension developers to get a range of visible positions (or lines) in the editor.</p>
<p dir="auto">This would be useful when the extension is dealing with the visual aspect of the VSCode since the extension does not need to update the visual on invisible area.</p>
<p dir="auto">For example, <a href="https://marketplace.visualstudio.com/items?itemName=spywhere.guides" rel="nofollow">Guides</a> needs to update its indentation guide lines but this has impact the extension performance (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="159549768" data-permission-text="Title is private" data-url="https://github.com/spywhere/vscode-guides/issues/6" data-hovercard-type="issue" data-hovercard-url="/spywhere/vscode-guides/issues/6/hovercard" href="https://github.com/spywhere/vscode-guides/issues/6">spywhere/vscode-guides#6</a>) due to a calculation on whole file which cause the lag on the VSCode. With this API, Guides can now update only visible area, reduce the necessity of update the invisible area which can improve the performance a lot.</p>