Skip to content

Don't move cursor when going to next problem #243299

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

GreggZumbari
Copy link

@GreggZumbari GreggZumbari commented Mar 12, 2025

Fixes #156782

Changed the navigate() function in vscode/src/vs/editor/contrib/gotoError/browser/gotoError.ts so that the cursor is not moved when invoking editor.action.marker.next.

You can test these changes by opening a file with at least 2 problems/linting errors in it, and moving on to the next problem. If these proposed changes were successful, the cursor should not change positions when you do so.

GreggZumbari and others added 2 commits March 11, 2025 23:32
Changed the navigate() function in vscode/src/vs/editor/contrib/gotoError/browser/gotoError.ts so that the cursor is not moved when invoking editor.action.marker.next.
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

Successfully merging this pull request may close these issues.

Jumpy when going to next/prev problem
2 participants