Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vscode always opens welcome screen on startup instead of last opened folder

I built my own custom version of vscode to add some features to the minimap, namely highlighting when highlighting a word. All is well and good, apart from the issue where my version of vscode never remembers the last opened folder and always opens the welcome screen instead.

The official version of vscode does not do this and opens the last opened folder, as expected. What is wrong with my version?

For reference, this is the code I used to build my version of vscode: https://github.com/abhijitvalluri/vscode/tree/minimap_enhancements

like image 896
lite-whowantstoknow Avatar asked Apr 17 '17 14:04

lite-whowantstoknow


1 Answers

According to https://code.visualstudio.com/docs/getstarted/settings you need to set workbench.startupEditor to "None".

like image 53
Mark Lawrence Avatar answered Sep 21 '22 06:09

Mark Lawrence