Comments (11)
We can add multiple folders to a workspace now, but it seems like there is no way of opening a new workspace without closing out the old one. Also, there is no way of saving the old workspace, or even change its name!
And that is why I ask for help from project manager, is there a way of doing that?
Please forgive me for asking this dumb question here, but I have been trying to find instructions for a few days with no one seems to be interesting doing this.
Please let me know if my description was not clear. Thanks!
from vscode-project-manager.
Sure it could ๐. But that is not the intention for this issue. I filled just to remember myself to update (if necessary) when VSCode itself support multi folder projects.
But I get your idea . It's interesting ๐
from vscode-project-manager.
Depends on:
- microsoft/vscode#396
- ๐โโ๏ธ #47
from vscode-project-manager.
Can we have it mock with symlinks for now? Could do it by hand, but I think it makes sense for this project.
from vscode-project-manager.
@alefragnani is there any way you could open new windows for each folder defined in paths?
from vscode-project-manager.
The multi-folder is coming to VSCode (is already in the current Insiders), and it uses a peculiar approach, putting the multi-folder info inside settings.json
. Doing so, there is nothing to be done (adapted) in the extension, which is good ๐ .
from vscode-project-manager.
@alefragnani Can you explain how we can add multiple directories ?
Current use case (not working):
- Open a folder
- Right click on sidebar, ยซ Add Folder to Workspace... ยป
- Save the project
What my .code-workspace
looks like:
{
"folders": [
{
"path": "arena.utt.fr-api"
},
{
"path": "arena.utt.fr-2018"
}
],
"settings": {}
}
Also tried (by going into projects.json):
[
{
"name": "arena",
"rootPath": "$home/Workspace",
"paths": [
"arena.utt.fr-api",
"arena.utt.fr-2018"
],
"group": ""
}
]
And it doesn't works, it just opens my whole Workspace directory.
Any clue ?
from vscode-project-manager.
Hi @gjuchault ,
This option was put on hold after Workspaces has landed in VS Code. That's why it has no effect today, and will probably be removed in the future. The original intention was to prepare for Workspaces (even before being developed by VS Code itself) but with the current Workspaces implementation (which hides access the .code-workspace
) access, I didn't see a good reason to keep it.
Looking at it now, after your comment, I was thinking that maybe it could be used to mimic a workspace. I mean, I could create my own workspace API, as originally intended. I will think about it ๐ .
Hope this helps
from vscode-project-manager.
@alefragnani So Is there no way to have multiple folders in a single project?
I'm very new to VSCode and coming from Sublime, this is one of the features I'm missing.
In Sublime, this option is called "Add folder to project" which adds any folder to the current project.
from vscode-project-manager.
I finally read up on what workspaces are, and I think they're just like sublime's projects.
I bound Alt+Ctrl+P
to workbench.action.openRecent
which is what Sublime has.
I've disabled this plugin for now, if I miss a feature from Sublime, I'll come back.
from vscode-project-manager.
Hi @dufferzafar ,
Yes, Workspaces in VS Code are the answer to Multifolder Projects in Sublime. You can create a workspace containing a set of folders, and when you open that workspace, it will present you all that folders opened at once, in the same window.
My extension was created at the very beginning of VS Code. The idea was to have a Manager for your Favorite Projects, with an easy way to manage and open them. Today, it allows you to have not only your Favorite Projects but also an auto-detection of Git, SVN and Mercurial repositories. So, you just have to define a baseFolder
where these repositories are, and you a ready to use them. There is no relation to Sublime's projects or VS Code workspaces.
I've disabled this plugin for now, if I miss a feature from Sublime, I'll come back.
No problem ๐
from vscode-project-manager.
Related Issues (20)
- [BUG] -ไฟๅญไธบ้กน็ฎไธๆพ็คบๆ ็ญพ HOT 2
- [FEATURE] - "create project" command
- [FEATURE] - Support (favorite) projects to be stored in User Settings HOT 1
- [BUG] - extension not working anymore - placeholders not interpreted HOT 2
- [FEATURE] - Option to fold tag folders by default HOT 1
- [BUG] - Why the source code for the repo: vscode-project-manager-core is missing from your github ? HOT 1
- [FEATURE] - Automatic detection of worktrees in the repository HOT 2
- [FEATURE] - When using `List Projects to Open` add a shortcut to open in a new window HOT 1
- [BUG] - Can not save the favorite list in the remote HOT 4
- [FEATURE] - Git Projects baseFolders with multiple profiles HOT 1
- [FEATURE] - Support more ParentFolder levels of showParentFolderInfoOnDuplicates
- [BUG] - HOT 1
- [BUG] - side bar somehow disappeared, how to recover it? HOT 1
- [BUG] - Status bar can show wrong project when there are two remote projects with the same workspace path
- [FEATURE] - Folder color of file icon?
- [FEATURE] - Modify the tag by users ourselves HOT 1
- [BUG] - - VSCode version: HOT 2
- [BUG] - HOT 2
- [FEATURE] - HOT 2
- Feature request: clarify that projectManager.projectsLocation expects a folder, not a full path HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-project-manager.