Open File via a shortcut in diff editor opens files in read only in some casesย #221137
Closed as not planned
Closed as not planned
Description
opened on Jul 8, 2024
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.91.0
- OS Version: Windows 10 10.0.19045 Build 19045
Steps to Reproduce:
- Have outgoing changes in your source control view.
- Click on a file that has changes in a commit to open diff view.
- Configure a shortcut for the
Open File
action. - Press the shortcut.
- Observe that the file is opened in read only mode.
- Go back to the diff view and click the
Open File
button with a mouse. - Observe that the file opened in writeable mode.
Expected results:
- The way the action is invoked should not affect the mode in which the file is opened. I would personally prefer it to always open file in writeable mode if possible.
Activity