proposal for "change workdir" feature
Opened this issue · 3 comments
Hi. Is it possible to realize feature wich will change the current workdir to destination (after project's dircetory created from template)? (Analog of feature "Create Project's Directory" or "Create Subdirectory" in the most of IDEs)
For example, I have a template like a:
* __pascalCase_name__ <--Root project's folder
** ... <--Project's files.
** ...
** ...
At that time users should to make root project directory and open it manually in the file explorer.
Thanks.
Hmm... let me make sure I understand what you are asking for. When you create a a new folder/file you want VSCode to open that folder/file?
@reesemclean I mean next situation:
- for example I have a some template for C application:
This template contains catalog .vscode and makefile - and I have some directory with set of C-projects, named "MyProjects-C"
- I'm opening that directory via VSCode
- Than I want to add a new project in that directory from template via blueprint
- After this operation the directory with a new project was already created
But I can't to start working with that project immediately, because VSCode's current work directory still MyProjects-C - I should open the destination project's directory manually
of course it is not difficult to do manually, but would be a bit comfortable:
- check if template is directory
- open the destination directory after template processed (change current work directory in VSCode)
(if VSCode allows this operation)
---upd
hmm, Idea to open file (when template is a one file) could be useful, too.
user should find the new file and open it manually after template was process.
it looks like a routine operation (and sometimes a complicated, when the destination directory contains a many data and files/folders with a similar names, for example)
@reesemclean for example, you can see templates from this collection :)