[VSCode] Dev Server Launched in Incorrect Directory When Using VSCode Workspace
Minimal reproduction
- Create a workspace in VSCode, add several folders in it.
- Open a file in one of the folder
- Click Slidev extension icon, and run the dev server
- The dev server will be started from another folder that the current open editor tab doesn't belong to.
The default behavior of VSCode terminal is, new terminal windows will be opened from the root dir of the folder that contains the currently opened file. Slidev extension should mimic that behavior.
The terminal created by the Slidev extension is intended to be in the directory of slides.md. Is this your expected behavior?
The terminal created by the Slidev extension is intended to be in the directory of
slides.md. Is this your expected behavior?
In a VSCode workspace there could be many folders that have a slides.md, it'll be great if Slidev can open a terminal for each of them and switch between them automatically.