简体   繁体   中英

Any way or extension for keeping the opened files in Visual Studio Code?

As in Notepad++ or Sublime text, the last opened file are retained if we close and open the editor again. So is there any way to do it in VS Code (Visual Studio Code)?

// Controls if opened editors should show in tabs or not. "workbench.editor.showTabs": true,

// Controls how folders are being reopened after a restart. Select 'none' to never reopen a folder, 'one' to reopen the last folder you worked on or 'all' to reopen all folders of your last session. "window.reopenFolders": "one",

Check to see how you have these set in your preferences, particularly "window.reopenFolders" isn't none.

Latest insider version (1.11.0 insider) support that. It remembers all opened files, saved or not, when closing and re-load them when opening.

You need a workspace open to enable this feature (see here )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM