alefragnani / vscode-language-pascal

Pascal language extension for Visual Studio Code
MIT License
216 stars 47 forks source link

[FEATURE] - Sticky scroll improvements #146

Open Newgap opened 5 months ago

Newgap commented 5 months ago

It would be nice to improve the sticky scroll feature. Those are lines that sticks at the top indicating where you are in a function. Now it seems to keep the begin keyword which is not very helpful.

Don't hesitate to ask for clarification if what i'm saying isn't clear.

alefragnani commented 5 months ago

Hi @Newgap ,

I tottaly agree, but with the current approach used for code navigation (using ctags and global) this is not possible, unfortunately. In order to properly support outlineMode in Sticky Scroll, the extension needs to evolve to a LSP like approach.

This is being tracked in #57 and #91, but no ETA.

Hope this helps