Display symbolic links in Visual Studio Code
17,486
Solution 1
The February 2018 update for VSCode includes support for symbolic links.
The links appear as below:
For further info check this page: VSCode February 2018 update
Solution 2
There was an issue in GitHub to provide support for this which was resolved in February 2018 and included in the March 2018 release.
Related videos on Youtube
Author by
A.R.C
Updated on September 16, 2022Comments
-
A.R.C over 1 year
I recently switched from atom to VS Code, and there's one key feature that I can't seem to find.
Is it possible to display a symbolic link in the Visual Studio Code file explorer?
-
Jon McClung almost 6 yearsTo future googlers, this feature has shipped. If you can't see a symlinked file, you have made the symlink incorrectly (as happened in my case)
-
-
maugch about 5 yearsIt seems not to work for me. Links are correctly created/seen on the terminal and on Cygwin. VScode shows .lnk files and python can't read them. Any idea why? (vscode is the newest release)
-
david over 4 yearsThis is still not working (December 2019): "The file is not displayed in the editor. It is either binary or uses an unsupported text encoding."
-
Hari about 4 years@maugch could you fix it? I am also facing the same issue. The linked folder is visible in the Explorer but Python code is not able to access it. Debug throws "Failed to open ..." error.
-
maugch about 4 years@haripkannan I had everything done on Linux and it worked, once I open the solution in Windows I see just a lnk file. I think I created the links using windows as admin and then I pulled again.
-
Devid over 3 yearsIn windows open a command line as Admin, and use the following command:
mklink Link Target
. This will create a (soft) symbolic link. Example:mklink C:\Development\cic.evaluate.antlr\JavaScript\src\Tests\ClarionExprParser.Debugger.txt C:\Development\cic.evaluate.antlr\Tests\ClarionExprParser_Debugger.txt