File tree Expand file tree Collapse file tree
src/vs/workbench/electron-main Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ export class VSCodeMenu {
224224 }
225225
226226 let mru = this . getOpenedPathsList ( ) ;
227- if ( isFile || platform . isMacintosh /* on mac we don't treat files any different from folders */ ) {
227+ if ( isFile ) {
228228 mru . files . unshift ( path ) ;
229229 mru . files = arrays . distinct ( mru . files , ( f ) => platform . isLinux ? f : f . toLowerCase ( ) ) ;
230230 } else {
Original file line number Diff line number Diff line change @@ -719,7 +719,7 @@ export class WindowsManager {
719719 recentPaths = arrays . distinct ( recentPaths ) ;
720720
721721 // Make sure it is bounded
722- return recentPaths . slice ( 0 , 10 ) ;
722+ return recentPaths . slice ( 0 , 20 /* max 10 files, 10 folders */ ) ;
723723 }
724724
725725 private toIPath ( anyPath : string , ignoreFileNotFound ?: boolean , gotoLineMode ?: boolean ) : window . IPath {
You can’t perform that action at this time.
0 commit comments