modularml / mojo

The Mojo Programming Language
https://docs.modular.com/mojo
Other
22.06k stars 2.54k forks source link

[Feature Request] support "sticky scroll" in vscode extension #2621

Open artemiogr97 opened 1 month ago

artemiogr97 commented 1 month ago

Review Mojo's priorities

What is your request?

Just what is mentioned, supporting "sticky scroll" vscode functionality

What is your motivation for this change?

"stricky scroll" is a really nice feature to know where you are in a class/function/method, given the following code:

class MyClass:

    def my_long_method(self):
        self.a = 1
        self.b = 2
        self.c = 3

when scrolling down you will have the following view: image

Any other details?

No response

walter-erquinigo commented 3 days ago

This is a very nice feature to have. We are currently focusing on the stability of the LSP, so whenever we are done with that effort, we'll be focusing on this kind of productivity features. Thank you!