Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3a426e4

Browse files
committedMay 21, 2021
fix: use openFolder in welcomePage
In 1.56.2, they modified the WelcomePage use of OpenFileFolder in src/vs/workbench/contrib/debug/browser/welcomeView.ts to only use on macOS + Desktop (i.e. not Web). This caused the "Open Folder" to not work on macOS + macOS-like environments. Instead, we use OpenFolder which is a registered command and works as expected.
1 parent a46030d commit 3a426e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/vscode/src/vs/workbench/contrib/welcome/page/browser/vs_code_welcome_page.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default () => `
2020
<h2 class="caption">${escape(localize('welcomePage.start', "Start"))}</h2>
2121
<ul>
2222
<li><a href="command:workbench.action.files.newUntitledFile">${escape(localize('welcomePage.newFile', "New file"))}</a></li>
23-
<li class="mac-only"><a href="command:workbench.action.files.openFileFolder">${escape(localize('welcomePage.openFolder', "Open folder..."))}</a> or <a href="command:git.clone">${escape(localize('welcomePage.gitClone', "clone repository..."))}</a></li>
23+
<li class="mac-only"><a href="command:workbench.action.files.openFolder">${escape(localize('welcomePage.openFolder', "Open folder..."))}</a> or <a href="command:git.clone">${escape(localize('welcomePage.gitClone', "clone repository..."))}</a></li>
2424
<li class="windows-only linux-only"><a href="command:workbench.action.files.openFolder">${escape(localize('welcomePage.openFolder', "Open folder..."))}</a> or <a href="command:git.clone">${escape(localize('welcomePage.gitClone', "clone repository..."))}</a></li>
2525
</ul>
2626
</div>

0 commit comments

Comments
 (0)
Please sign in to comment.