Skip to content

Commit

Permalink
File Explorer: Allow opening of symlinks (#212)
Browse files Browse the repository at this point in the history
Closes #211

Signed-off-by: Tyler Smalley <tyler@tailscale.com>
(cherry picked from commit 75112f7)
  • Loading branch information
tylersmalley committed Aug 23, 2023
1 parent d965ca5 commit e0456f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node-explorer-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ export class FileExplorer extends vscode.TreeItem {
) {
super(label, collapsibleState);

if (type === vscode.FileType.File) {
if (type === vscode.FileType.File || vscode.FileType.SymbolicLink) {
this.command = {
command: 'vscode.open',
title: 'Open File',
Expand Down

0 comments on commit e0456f0

Please sign in to comment.