You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When you've made changes to a .yarn file and the file is kept in version control, VS Code's Git extension will highlight that those changes have been made. Clicking on a file with changes (or staged changes) allows you to view a side-by-side diff of those changes, which is a useful feature.
When this extension registered the Yarn Loom editor for .yarn files, it also accidentally registered that editor for these side by side diffs. The Yarn Loom editor doesn't offer any special features for doing these diffs (like highlighting changes) and is relatively clunky when two editor instances are positioned side by side. Therefore, these diffs should open in the regular text editor.
Expected behavior
Side-by-side diffs of .yarn files should automatically open in VS Code's built-in Text Editor, not the Yarn Loom editor.
Actual behavior
Side-by-side diffs of .yarn files are opened in the Yarn Loom editor.
Steps To Reproduce
Steps to reproduce the behavior:
Find or create a project where .yarn files are kept under version control in a Git repository.
Launch VS code with the Yarn Loom extension and VS Code Git support enabled (it should be by default.)
Open a .yarn file in the Yarn Loom editor and make some changes in the working directory.
Save the file.
Open the Git sidebar in VS Code.
Click on the file, which should have an orange "M" designation next to it.
The side-by-side diff of your file will open with two side-by-side instances of the Yarn Loom editor.
Screenshots
Environment
OS: macOS Monterey, 12.0.1
Visual Studio Code Version: 1.62.3
Yarn Loom Extension Version: 1.2.0
The text was updated successfully, but these errors were encountered:
Describe the bug
When you've made changes to a
.yarn
file and the file is kept in version control, VS Code's Git extension will highlight that those changes have been made. Clicking on a file with changes (or staged changes) allows you to view a side-by-side diff of those changes, which is a useful feature.When this extension registered the Yarn Loom editor for
.yarn
files, it also accidentally registered that editor for these side by side diffs. The Yarn Loom editor doesn't offer any special features for doing these diffs (like highlighting changes) and is relatively clunky when two editor instances are positioned side by side. Therefore, these diffs should open in the regular text editor.Expected behavior
Side-by-side diffs of
.yarn
files should automatically open in VS Code's built-in Text Editor, not the Yarn Loom editor.Actual behavior
Side-by-side diffs of
.yarn
files are opened in the Yarn Loom editor.Steps To Reproduce
Steps to reproduce the behavior:
.yarn
files are kept under version control in a Git repository..yarn
file in the Yarn Loom editor and make some changes in the working directory.Screenshots
Environment
The text was updated successfully, but these errors were encountered: