DEV Community

loading...
Cover image for Git Branch Files

Git Branch Files

Alwar G
Web developer, Maths Lover, solving critical use cases in my free time
・1 min read

As a developer, we need to open the files in the VS code editor while switching the branch. But it creates too much frustration if we are doing this continuously. Each time we have to give 'cmd+p' and type the file name to open the particular file.

So I thought something like, 'why can't we open our files for the current branch in a single click instead of opening the files one by one?'.

For that, I have created the extension named 'Git Branch Files' to achieve this requirement.
It has two functionalities.

1. Open the files for the current branch.

It will open the files for the current branch.
open-files

2. Close the current and open the files for the current branch.

It will close all active files(For example, files from the previous branch) and open the files for the current branch.
open-close-files

For more information kindly refer to this.

Repo Link: https://github.com/AlwarG/git-branch-files
Extension Link: https://marketplace.visualstudio.com/items?itemName=AlwarG.git-branch-files

Thank you for reading this post 🙏. I Just tried what I know. Feel free to post your comments if you want to share something.

Discussion (0)