Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I disable 'autoscroll from source' in Visual-Studio-Code

Code Version - 1.7.1

I find this to be one of the most annoying parts of my day.

How can i disable 'autoscroll from source' in Visual-Studio-Code?

In Android Studio it is possible to enable/disable Auto Scroll to/from source. I'm looking for a way to disable this in Visual-Studio-Code.

Thank you

like image 646
Mable John Avatar asked Nov 17 '16 06:11

Mable John


People also ask

How do I get rid of side scroll in VS Code?

Use Ctrl + E, then Ctrl + W for disable horizontal scrolling.

How do I disable pop up code in Visual Studio?

Type “editor. hover. enable” into the search field then check/uncheck the checkbox associated with “Controls whether the hover is shown.” to enable/disable the suggestion tooltip on hover.

How do I enable horizontal scrolling in VS Code?

Scroll horizontally with the mouse wheel when holding the shift key. Enables horizontal scrolling by holding down the Shift key and spinning the mouse wheel in Visual Studio 2017, 2019 and 2022. This feature is available in many other programs.


2 Answers

Open your user settings and set "explorer.autoReveal": false. This setting is listed under "File Explorer" on the default settings side.

like image 107
Rob Lourens Avatar answered Oct 14 '22 04:10

Rob Lourens


May you want to focus to "File Explorer" from "current editing file" you can set "Files: Reveal Active File in Side Bar" in Short cut setting file. after set "explorer.autoReveal": false

like image 20
Semin Avatar answered Oct 14 '22 05:10

Semin