-
Notifications
You must be signed in to change notification settings - Fork 40.3k
Allow to shorten the diff editor title #110694
Copy link
Copy link
Closed
Labels
diff-editorDiff editor issuesDiff editor issuesfeature-requestRequest for new features or functionalityRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitieson-testplanworkbench-editorsManaging of editor widgets in workbench windowManaging of editor widgets in workbench window
Milestone
Metadata
Metadata
Assignees
Labels
diff-editorDiff editor issuesDiff editor issuesfeature-requestRequest for new features or functionalityRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitieson-testplanworkbench-editorsManaging of editor widgets in workbench windowManaging of editor widgets in workbench window
Type
Fields
Give feedbackNo fields configured for issues without a type.
Issue Type: Feature Request
When comparing two codes side by side, the order is confusing.
It takes a considerable amount of time just to realize which file is on the left and which is on the right.
And the tab title showing comparing files is not helpful at all since it is too long
For example, in tab title;
different file names in same location
.....very/very/very/very/long/path/file1.js <-> .....very/very/very/very/long/path/file2.js
or
same file name in different locations
.....very/very/very/very/long/path1/file1.js <-> .....very/very/very/very/long/path2/file1.js
either situations, I find it really frustrating to identify which file is on which side by reading the long URL (title).
What i propose is to implement the vscode interface to allow the user to add labels with custom titles to each side (when in code comparison).
So instead of a single long URL like this:

implement a UI feature like this:

to show clearly which file is open on which side and also allow the user to add custom title names to each of comparing file (temporarily - for reference)
VS Code version: Code 1.51.1 (e5a624b, 2020-11-10T23:34:32.027Z)
OS version: Windows_NT x64 10.0.19042