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 Answer
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"