Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] - Option to Switch project with a Specific Branch #697

Open
ViniciusFXavier opened this issue Jul 28, 2023 · 1 comment
Open

Comments

@ViniciusFXavier
Copy link

ViniciusFXavier commented Jul 28, 2023

First and foremost, I would like to congratulate the Project Manager team for the excellent work done so far. The tool has been extremely helpful in managing my projects and ensuring that nothing gets lost.

Proposed Feature:

I am proposing the addition of a new functionality that allows users to easily switch to a specific branch within a saved project in Project Manager. Currently, we can save our projects and organize them using tags, which is fantastic. However, I have faced some difficulties when trying to switch between different branches within a project.

Feature Details:

My suggestion is to implement an option in the project settings panel that allows users to add a list of available branches for that specific project. This way, users can quickly select the branch they want to use, making the switching process easier and faster.

Benefits:

The implementation of this feature would bring several benefits to Project Manager users. Some of them include:

Efficient Project Management:

Developers often work with multiple branches for different features or fixes. This feature would allow them to switch between branches with just a few clicks, saving valuable time.

Support for Different Workflows:

Different projects may follow distinct workflows, requiring the need to switch between multiple branches. This feature would help accommodate a variety of development scenarios.

Ease of Navigation:

With a growing number of projects and branches, it can be challenging to remember all the combinations. This feature would help avoid errors when switching between branches.

Possible Implementation:

An ideal option would be to integrate the list of available branches directly into the Project Manager's sidebar or status bar. This way, users could access the functionality easily without the need to open multiple settings.

Example:

[
    {
        "name": "Bookmarks",
        "rootPath": "$home\\Documents\\GitHub\\vscode-bookmarks",
        "tags": [
            "Personal",
            "VS Code"
        ],
        "branches": [
            "main",
            "develop",
            "feature/vscode-bookmarks-v2"
        ],
        "enabled": true
    }
]

Final Remarks:

I believe that adding this functionality would make Project Manager even more powerful and efficient, providing a smoother and more streamlined project management experience.

Thank you for considering this feature request. Should you need further information or clarifications, I am available to contribute in any way possible.

Thank you very much for your hard work and continued dedication to the development of this amazing project!

@josephcrawfordSRH
Copy link

josephcrawfordSRH commented Oct 26, 2023

I too like this idea but I think it should work from the settings file like outlined above but also if loading projects based on SCM then I think it should just check your SCM files to see what branches you have locally, for instance it wouldn't check the server, if you don't see your branch you just manually run fetch. I tend to name my projects so that I can quickly jump to them.

My keyboard shortcut is cmd+; to bring up the list, I think it would be nice if we could type the project name, lets say I have a project named Bookmarks as outlined in the OP's post I would like to be able to type Book#v2 and have it also filter based on branch names, hitting enter or clicking the icon would open the project and instantly switch to that branch. In this case so long as there were no other v2 branches it would be set to switch to Bookmarks on the branch vscode-bookmarks-v2

Is this something that is possible to do in Project Manager? I was trying to look and see how I could assist with this @alefragnani but found that the core is where this would be and that does not appear to be open source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants