Skip to content

Commit

Permalink
Recent folders list changes when opening folder in extension debug wi…
Browse files Browse the repository at this point in the history
…ndow (fixes #11164)
  • Loading branch information
bpasero committed Oct 3, 2016
1 parent 9374020 commit faba41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/code/electron-main/windows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ export class WindowsManager implements IWindowsService {

// Remember in recent document list (unless this opens for extension development)
// Also do not add paths when files are opened for diffing, only if opened individually
if (!openConfig.cli.extensionDevelopmentPath && !openConfig.cli.diff) {
if (!usedWindows.some(w => w.isPluginDevelopmentHost) && !openConfig.cli.diff) {
iPathsToOpen.forEach(iPath => {
if (iPath.filePath || iPath.workspacePath) {
app.addRecentDocument(iPath.filePath || iPath.workspacePath);
Expand Down

0 comments on commit faba41c

Please sign in to comment.