2

Description:

When i open a selected file from windows explorer using right click menu with "Open with VS Code", VSCode only open the file i selsected. It did't reopen the previous files like sublime.

Is there any way to change this behavior?

already set "window.restoreWindows": "all"

OS: Windows 10 1803 VSCode 1.24.0

cw.h
  • 21
  • 2
  • There may be other ways of doing this, but on my Mac, I has an alias that opens multiple documents at once from the Terminal.. eg: code -n ~/.profile ~/.bashrc ~/.bash_profile - So you can do things like this from a command line. On my Mac, VS Code always reopens last project and all documents I had opened before. Following on from this it may be possible to do things like code dirname in the parent directory.. Just a thought. BTW: Not sure on Windows if its' the same - but if you type code in the view > command palette - it gives you option to install code as a command. – JGFMK Jun 16 '18 at 16:37
  • 1
    It looks like this was mentioned in [this GitHub issue](https://github.com/Microsoft/vscode/issues/34529). It seems it's not part of their current development roadmap so I'm not sure if there's a way to make it behave the way you're expecting. – Mihai Chelaru Jun 16 '18 at 20:17
  • Possible duplicate of [how to open file in new tab in visual studio code](https://stackoverflow.com/questions/43705543/how-to-open-file-in-new-tab-in-visual-studio-code) – Espoir Murhabazi Sep 28 '18 at 13:40
  • https://stackoverflow.com/questions/47844270/keep-opened-files-between-close-and-reopen/67828630#67828630 – ax. Jun 03 '21 at 21:09

0 Answers0