Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Auto-open default files #7315

Unanswered
mikesir87 asked this question in Q&A
Apr 18, 2025 · 1 comments · 1 reply
Discussion options

Hi there! I'm exploring using this project for a possible workshop and was wondering if it were possible to have the editor auto-open specific files on first launch? In my use case, instead of the generic "Welcome" page, I want to have the README or other instructions for the project automatically open. Is this possible?

If not, feel free to provide some guidance and point me in the right direction and I'll gladly work on a contribution.

Thanks!

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

It is probably possible with an extension (not sure if one exists already) but I am not aware of any settings built-in to do this.

I did see some folks try to use the URI for specifying which files to open on launch, but I have not tried this: #1964

You must be logged in to vote
1 reply
Comment options

Ah but, if you specifically only need the readme opened, there is "workbench.startupEditor" : "readme" I believe. But I think it only works if the project has been trusted, and it only works as a user-level settings (not workspace or folder level).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /