29

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

3 Answers 3

41

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

Sign up to request clarification or add additional context in comments.

Comments

22

Alternatively, you can go to File > Preferences > Settings, search "Startup Editor" in "Search Settings" and choose "None" from the drop-down menu.

2 Comments

On the left sidebar, it is under the Workbench menu. Scrolldown to "Startup editor".
I set it to "none" and the welcome page still appears
9

First option (Simpler)

You can deselect this option on the screen itself:

VSCode

At the bottom of the page you have the following option:

VSCode

Second option (More complex)

Go to:

File > Preferences > Settings > Workbench > Startup Editor 

E Selecione a opção "None":

VSCode

2 Comments

On the latest ESP-IDF plugin, the "show welcome screen..." checkbox is now in the upper left corner. :) That option worked for me. When I tried setting startup editor to "none" it had no effect.
Setting workbench.startupEditor to none doesn't work for me in code-insiders-1.94.0-1725516996.el8.rpm, but the checkbox did.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.