Skip to content

Open File via a shortcut in diff editor opens files in read only in some casesย #221137

Closed as not planned
@fcFn

Description

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:

  1. Have outgoing changes in your source control view.
  2. Click on a file that has changes in a commit to open diff view.
  3. Configure a shortcut for the Open File action.
  4. Press the shortcut.
  5. Observe that the file is opened in read only mode.
  6. Go back to the diff view and click the Open File button with a mouse.
  7. Observe that the file opened in writeable mode.

Expected results:

  1. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from posterscmGeneral SCM compound issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions