Is there a plugin or perhaps some sublime setting that I don’t know about that pins the parent element/method definition/whatever to the top of the viewport? It would be really helpful to give context for where you are in the middle of long methods or html blocks.
Let’s say in the example below my cursor is on “this is the last of it” and my viewport isn’t that large vertically, so
<div>
<p>some text</p>
<p>some text</p>
<p>some text</p>
<p>some text</p>
<p>some text</p>
<p>some text</p>
<p>some text</p>
<p>some text</p>
<p>some text</p>
<p>some text</p>
<p>this is the last of it</p>
</div>