oholimoli
oholimoli

Reputation: 113

How do I stop VSCode from revealing a file in the sidebar as soon as I click on it in "Source Control => Changes"

When I have a multiple file with changes in VSCode I often want to go trough the changes without staging.

I cannot do this because as soon as I click on one file with changes in "Source Control => Changes" the file is revealed in the sidebar and I have to navigate back to "Source Control" to review the changes of another file. In the past this wasn't the case. In order to open the file regularly (without diff) I could manually go to the Explorer and the file was selected.

When files are staged I can click on them and they will not be revealed in the sidebar. This behavior is what I would also like to have for files that are not staged.

What is causing this behavior (I use VSCode v1.74.2)? In the past this wasn't the case.

Update: This behavior is caused by an extension I need (Sigasi). They made an update and for some reason this caused the described unwanted behavior.

Upvotes: 1

Views: 315

Answers (1)

Bart Brosens
Bart Brosens

Reputation: 26

Hello from the Sigasi support department. ;)

The Sigasi extension for VS Code comes with a dedicated Project View to bring some useful Eclipse File System features to our VS Code extension.
One of the features this Project View offers, is to link the Project View with the editor in focus. This allows to quickly spot where you are in the project file hierarchy.

This feature can easily be disabled by going to the Project View and clicking the icon that controls the link with the editor. I'm linking a screenshot showing the link with editor setting.

It seems this feature at the moment is more intrusive than intended. We plan to adjust this feature so that it isn't active if the Project View is not visible or collapsed.

Upvotes: 1

Related Questions