SoftwareOne logo

Top 5 GitHub tools for faster coding (with screenshots) - SoftwareOne

SoftwareOne blog editorial team
Blog Editorial Team
A set of metal balls hanging from strings on a gray background.

Recently, we showed you our favorite extensions for working on projects in Azure DevOps.As promised, we're back with recommendations on tools and extensions worth using in your GitHub. Many of them are built into GitHub, making them even easier to use.

github.dev

Do you love Visual Studio Code? If yes, you'll love this little hack. You can use a simple shortcut to open a GitHub repository – either:

  1. Press '.' (dot) while browsing any repository or pull request, or
  2. Change the domain name from github.com to github.dev.

You will get Visual Studio Code hosted as a web application. This way you can have almost the same experience as using your local machine.Of course, some plugins won't work because they use some different processes, like omnisharp – but still, you can do many things using github.dev.

Why is github.dev useful?

If you have everything on your computer, you might wonder why you'd want to use it. The answer is relatively easy: because sometimes you don't have access to your computer, or running your IDE (integrated development environment) is more time-consuming than the change you need to do. Take this example: you have a conflict inside your pull request; you can resolve the conflict on your local machine or run it inside the browser and fix it. What follows is an example of ADRs (Architecture Decision Records), or documentation stored as markdown. You can pull everything to change something, open a browser, and write the new text on your tablet or phone. There are a lot more examples and use cases. The real question is, what is the benefit of this kind of tool? And the answer is: time and performance. Using this simple trick, you can reduce feature delivery time. By the way, did you know that you can log into your Visual Studio Code using a GitHub account, save your configuration and install plugins in the cloud? Then, when you open github.dev and use your GitHub username, your environment will be already configured!

Codespaces

The previous point refers to editing the code via web browser, and as we've seen, there are some limitations to it. But don't worry – here's a tool that resolves this issue.What would you think if we told you that you can have your developer environment in the cloud? You could build and run everything independently of your machines. Imagine you have a vast project with many dependencies where the build process consumes a lot of RAM and CPU - and you work on it on your tablet. This is entirely possible via Codespaces. Codespaces is available only for GitHub Team and GitHub Enterprise. GitHub created a short video on how to run it for a repository – you can watch it here.

How to work with Codespaces?

The philosophy of this service is simple. You pay as you go, so if you need 4 core CPUs and 8 GB RAM, you will pay $0.36 per hour and have your dev environment whenever you want.Starting out is significantly straightforward. You can create your first codespace via github.dev or create a config file and push it to the repository. This way, every developer who works on your repository will have the same setup. For a company that allows having a unique working station per repository and all dev environments, it will be sandboxed. This solution is not perfect, because as you see on the image above, everything is hosted on Linux and uses containers. As a result, it's impossible to run code strongly related to Windows or macOS, like WPF. However, most cases are workable via this solution because the work goes to the container. Developers love containers, so their code is often strongly related to them.

GitHub Copilot

This tool is a must-have for every developer in your organisation. It is a user-friendly, AI-based extension installed into your IDE to help you write better code in an efficient way.GitHub Copilot is powered by OpenAI Codex, a new AI system created by OpenAI. This may be your second pair of eyes during code writing.

GitHub Copilot works directly in the GitHub CLI. It draws context from your code, then comments and suggests individual lines and whole functions instantly. We use it every day to speed up our work. This product can't replace developers, but it can help us write code faster.GitHub Copilot authors analysed open source projects to build their own AI model. Now, so many problems that programmers may come across in their work can be easily resolved.

GitHub Advanced Security

How often do you read that someone commits sensitive data or uses vulnerable dependencies inside their repository? Technology is changing every day. It's hard to be up to date and read all the news about leaks or vulnerabilities in the libraries that we use.GitHub creates security features for an easy way to find issues, vulnerabilities, and so on. You can sleep well and not worry about problems because GitHub takes care of them. When GitHub finds something that is not secure, the system will notify you immediately, and if possible, fix it for you and create a pull request.

CodeFactor

The final item on a list of applications worth having is CodeFactor. It's an automatic code reviewer. The configuration reviews pull requests, adds comments, and waits until the developer fixes the issue. Note: Please remember that you can't just rely on this reviewer. This tool only finds code spelling and follows the specified configuration, e.g. naming convention or breaking defined rules. Still, it allows developers to focus on what's most important – working out how the business logic was implemented and resolving bugs. The solution scans your code and points out what you need to fix or change to have more readable code. In addition, you can check your pull request and show what has been improved or broken by it.

By GitHub users, for GitHub users

You can see that most tools presented are native GitHub features and are still being improved by the GitHub team for the benefit of the entire open source community. All five services are related only to the developers because GitHub is created for developers. They know what our needs are and how important time is to deliver the functionalities.Only the last tool has been created by an external party but in our opinion, it is excellent.Combining Visual Studio Code in a web browser, aka github.dev, Codespaces, and Copilot, every requirement can be delivered having only access to the internet and any class PC, laptop, or even tablet.Services like Advanced Security and CodeFactor can further improve and resolve matters that developers may skip during coding.We hope you find these recommendations useful too. And if you'd like to share your own – contact us, and let's talk!

Author

SoftwareOne blog editorial team

Blog Editorial Team

We analyse the latest IT trends and industry-relevant innovations to keep you up-to-date with the latest technology.