Hello, everyone Nomadev here, back with another blog on tech. So today I am here with the 5 top Vs Code extensions which can empower your git and will make you feel at home with git.
To be honest I am a big fan of VS Code and its cool new features which have made using git super easy, and I believe it will replace CLI to some extent in the future. It already takes very little effort to do things on Git using VS Code and these extensions are the cherry on the top. So without wasting much time let's jump into our top 5 VS Code Extensions.
1. GitHub Copilot
Installs - 636 k (Only available on preview)
Without a doubt, GitHub Copilot is the best VS Code extension in my opinion which can supercharge your work with its amazing capability of converting comments into code. GitHub Copilot uses the context you’ve provided and synthesizes code to match. A tool powered by gpt3 is capable of writing code automatically all you have to do is write a descriptive function name or some comments and it will automatically fill in the implementation details for you. If you want to know about GitHub Copilot in detail, you can check my article here.
Installs - 11.8 M
GitLens is one of the best VS Code extensions for Git. It can help you to know whom, why, and when a line or code block was changed, you can also jump back through history to gain insights into the code's evolution. It simply helps you write better code. You can explore the history and evolution of the codebase easily using GitLens.
3. Git History
Installs - 5M
Git History gives us a wide range of features, Using Git History we can access the git log with the graph and details, As the name also suggests we can view and search the history and we can also compare branches, commits, and files across commits along with many miscellaneous features. With the new update of VS Code, you will see many miscellaneous features of Git History already available on the Source control section on VS Code.
4. Git Graph
Installs - 2M
Git stores history as a graph of snapshots of the entire repository. These snapshots, called commits in Git, can have multiple parents, creating a history that looks like a graph instead of a straight line. Using Git Graph you can easily perform Git actions from the graph. It provides a Git Graph of your repository and also it is configurable to look the way you want
5. Git Stash
Installs - 69 k
Using Git Stash you can get many features such as a Configurable explorer tree, Configurable repository searching depth. This extension allows you to comfortably create, apply, delete and inspect stashes. It results helpful when working on different features, switching to branches for modifications, or creating sets of local experimental features. For big stashes, performance can be improved by disabling items' eager loading.
So this was it, If you are interested in:
→Becoming a remote developer
→Master in Open Source
→Growing in your current role
→Web & DevOps
→Tips & Resources
FOLLOW ME for great content in 2022!✅🎉 on Twitter and here also.
And if you want to appreciate my work you can buy me a coffee, Your appreciation is my motivation.
Very soon I will be publishing a mega article on git commands so if you haven't followed me here or on Twitter, make sure to do it for all the updates and Keep supporting for more awesome content. That's my time devs, see you in the next one.
Top comments (6)
Copilot can supercharge your work to as much as it can slow you down.
With modern languages /tools like Go or Typescript it is decent enough but Copilot has no notion of coding standards or generally your surrounding code.
For a new small function it can write it, but when completing / extending new code it just assumes variable names even if they do not exist and ignores standards.
I agreed to your point, but we can't expect an AI based tool to write/predict perfectly. I will not recommend this to beginners, but this is a great auto completion tool for devs, far better than the tools they used to use earlier such as Tabnine. And it is in its preview, I believe this will improve more with time.
I don't expect perfection, I'm talking about a measure of usefulness. Copilot's code needs to be brought in to project standards (the extent of which depends on language - Java code and PHP code are a measure of the large quantity of legacy that Copilot had access to).
TabNine for example does better at completing code in local context (evening it can't write complete functions) because it learns from local context. It will never autocomplete non existent variables for example.
That's a bit of trade-off obviously and largely depends on language.
I've been using Copilot with both Go and PHP and ended up trusting Go autocompletes (with some variable names fixing) but refactoring PHP code in 90% of cases (eg: it would write functions with PHP 7 code in situations where TabNine could tell I was using PHP 8)
Considered, maybe we will see improvements in its upcoming commercial version.
I need to use Copilot more 😎
Sure thing 👍🏻