-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderslinuxIssues with VS Code on LinuxIssues with VS Code on LinuxverifiedVerification succeededVerification succeeded
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.97.2 (latest)
- OS Version: Ubuntu/Windows 10
Steps to Reproduce:
- Open an
.mdfile - Drag a folder from the left hand File Explorer and drop it into the editor while holding the SHIFT key down
- Using the Microsoft Windows version of VSCode this action will result in the creation of a markdown style relative link in the editor as expected, e.g.:
[text](../../../folder_name)
- Using the
.debfile installed release of VSCode on Ubuntu Desktop or Linux Mint desktop, the same action results in the absolute path to the folder being pasted into the editor, e.g.:
/home/my_user/Documents/gitlab/doc/content/en/some/path/folder_name
I feel that the behaviour in the Linux distros is incorrect and is a bug and a markdown style link should be created instead.
I do not have any extensions installed in VSCode and all settings are in their default state (I have not changed any).
Note that I can drag an .md file or an image type file (.png, .jpg etc.) from a folder in the left hand explorer and drop it into the editor and on both Linux and Windows a markdown link will be created as expected with the relative path to the file - so I know the drag and drop facility is working as designed.
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderslinuxIssues with VS Code on LinuxIssues with VS Code on LinuxverifiedVerification succeededVerification succeeded