Steps to reproduce:
- EJS file with single lines of code near the top
- A file long enough to scroll
- Sticky Scroll enabled in VSCode
Expected result:
Individual lines of code are not context for the block of code you are scrolling. For HTML, any (up to a configurable number, actually) open tags remain at the top while you scroll to provide context as to where in the document you are. A quick check shows that EJS if statements seem to be working, which is great. However, if you have a line like
near the top of your file, it will stick and consume a line of Max Line Count. When you have several lines of EJS, you effectively get no lines of Sticky Scroll context. I'm sure there is some way to indicate to VSCode which lines should be treated as starting a nesting context or something along those lines.
Steps to reproduce:
Expected result:
Individual lines of code are not context for the block of code you are scrolling. For HTML, any (up to a configurable number, actually) open tags remain at the top while you scroll to provide context as to where in the document you are. A quick check shows that EJS if statements seem to be working, which is great. However, if you have a line like
<% let x = 5; %>near the top of your file, it will stick and consume a line of Max Line Count. When you have several lines of EJS, you effectively get no lines of Sticky Scroll context. I'm sure there is some way to indicate to VSCode which lines should be treated as starting a nesting context or something along those lines.