Skip to content

Add scroll on middle click release notes #8476

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

Merged
merged 1 commit into from
Jun 18, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions release-notes/images/1_102/middle-scroll.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 19 additions & 1 deletion release-notes/v1_102.md
Original file line number Diff line number Diff line change
@@ -24,5 +24,23 @@ We really appreciate people trying our new features as soon as they are ready, s

>If you'd like to read release notes for previous VS Code versions, go to [Updates](https://code.visualstudio.com/updates) on [code.visualstudio.com](https://code.visualstudio.com).

## Editor Experience

### Scroll on Middle Click

**Setting**: `setting(editor.scrollOnMiddleClick:true)`

Scroll the editor by simply clicking, or holding down, your middle mouse button (the scroll wheel) and moving around.

Once enabled, the cursor will change to a panning icon. Moving the mouse up or down will then smoothly scroll the editor in that direction. The scrolling speed is determined by how far you move the mouse from the initial click point. Simply release the middle mouse button or click it again to stop scrolling and return to the standard cursor.

![Screenshot of the editor scrolling when the middle mouse button is clicked.](images/1_102/middle-scroll.png)

**Known Conflicts**

Enabling this feature will interfere with other actions tied to the middle mouse button. For example, if you have column selection (`editor.columnSelection`) enabled, holding down the middle mouse button will select text. Similarly, on Linux, selection clipboard (`editor.selectionClipboard`) will paste content from your clipboard when the middle mouse button is clicked.

To avoid these conflicts, please enable only one of these settings at a time.

<a id="scroll-to-top" role="button" title="Scroll to top" aria-label="scroll to top" href="#"><span class="icon"></span></a>
<link rel="stylesheet" type="text/css" href="css/inproduct_releasenotes.css"/>
<link rel="stylesheet" type="text/css" href="css/inproduct_releasenotes.css"/>