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
.md file
- 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
.deb file 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.
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
.mdfile.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.: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
.mdfile or an image type file (.png,.jpgetc.) 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.