Skip to content

Sticky Scroll prevents some lines of EJS from scrolling #95

@mattschuette

Description

@mattschuette

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

<% 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions