Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improvement] Navigation with ALT+PageUp/PageDown, dont set cursor at the end of a comment #205

Open
SuzukaDev opened this issue Sep 4, 2023 · 0 comments

Comments

@SuzukaDev
Copy link

Hi! First of all, thank you so much for this extension. Is SUPER useful and I love it.

I like a lot the navigation feature with ALT+PageUp/Down, but I have noticed that it places the caret at the end of the comment.
This is not a problem if you are working in a big monitor and/or your workspace view is now split into diferent columns with different files.

But if your view is splitted, is quite uncomfortable to place the caret at the end of the comment, since your (horizontal) view of the code changes (to the end of the comment), and you have to scroll back at the end of the line to have a "normal view".
To avoid that, you have to remember that you should not write long comments in the same line of an anchor if you want to use the navigation shortcut.

IMHO, a better approach would be:
A) Putting the cursor at the start of the anchor/line
B) Putting the cursor in the same column (if possible) that it was previously to pressing the shortcut, so the horizontal scroll/view of the code is not altered.

Is just a humble idea that I think it will make the navigation better!
Again, thanks again for this awesome extension!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant