Giter Club home page Giter Club logo

Comments (11)

zhyiyu avatar zhyiyu commented on September 17, 2024 2

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.

alefragnani avatar alefragnani commented on September 17, 2024 1

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.

alefragnani avatar alefragnani commented on September 17, 2024

Depends on:

from vscode-project-manager.

bryaan avatar bryaan commented on September 17, 2024

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.

Anthropic avatar Anthropic commented on September 17, 2024

@alefragnani is there any way you could open new windows for each folder defined in paths?

from vscode-project-manager.

alefragnani avatar alefragnani commented on September 17, 2024

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.

gjuchault avatar gjuchault commented on September 17, 2024

@alefragnani Can you explain how we can add multiple directories ?

Current use case (not working):

  1. Open a folder
  2. Right click on sidebar, ยซ Add Folder to Workspace... ยป
  3. Save the project

What you get:
image

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.

alefragnani avatar alefragnani commented on September 17, 2024

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.

dufferzafar avatar dufferzafar commented on September 17, 2024

@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.

dufferzafar avatar dufferzafar commented on September 17, 2024

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.

alefragnani avatar alefragnani commented on September 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.