Prompt which "working directory" when in multiple projects workspace
See original GitHub issueIs your feature request related to a problem? Please describe. VSCode allows to create workspaces that are not single project/folder. For example, you want the workspace to have “project_a” and “project_b” opened together for some reason.
{
"folders": [
{
"path": "project_a"
},
{
"path": "project_b"
}
]
}
When opening a new terminal, there is a prompt to set the working directory of the terminal:
vscode-R does not ask and use the first (in alphabetical order) as working directory.
Describe the solution you’d like The feature would ask the user to set the working directory as it is currently done for new terminals.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Workspaces in Visual Studio Code
What is a VS Code "workspace"? A Visual Studio Code "workspace" is the collection of one or more folders that are opened in...
Read more >R basics, workspace and working directory, RStudio projects
R basics, workspace and working directory, RStudio projects ... All R statements where you create objects -- "assignments" -- have this form:
Read more >Working Directories and Workspaces in the RStudio IDE
IMPORTANT NOTE: The RStudio IDE supports Projects, which make managing multiple working directories more straightforward.
Read more >Jenkins: How To Build multiple projects from a TFS repository?
For what it's worth, it's not the workspace -new line that's causing this, it's the second line which creates a working folder mapping....
Read more >How to have multiple projects in same window?
I have a directory open in PHPStorm, and code tracing and ... but when I do that PHPStorm prompts me only to replace...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think having a selection dialogue when there is no active editior from which to derive a working directory is a reasonable fallback. I just wouldn’t want to see that become the behaviour at all times.
The current behaviour is consistent with Emacs Speaks Statistics for what that’s worth.
On the last point I believe there is a VSCode setting that controls the way terminals are named, so you may be able to get that Debian behaviour on windows also.
I agree about having it all times would be really annoying, as #965 currently is by continuously and repeatedly prompting to install
languageserver
(see #1037).About terminal naming, it is named from the working directory for powershell, only R terminal does not have it on Windows. I’ll double check the settings (which are mostly synced across OSs).