2

Is there a way to get VS Code to open a specific file when opening a workspace? I always want to see my "to do" file when I open a workspace.

1

1 Answer 1

0

One simple option is to create a shortcut:

"D:\Path_to_VS_Code\Code.exe" "D:\Path_to_workspace\workspace.code-workspace" "D:\Path_to_workspace\file1.txt"

Can open multiple files:

"D:\Path_to_VS_Code\Code.exe" "D:\Path_to_workspace\workspace.code-workspace" "D:\Path_to_workspace\file1.txt" "D:\Path_to_workspace\sub_folder\other_file.txt"

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.