Autofix: The future of code reviews is here - DeepSource

Autofix: The future of code reviews is here - DeepSource

DeepSource has been able to find issues in your code. With Autofix, DeepSource will now be able to automatically fix some of these issues for you as well.

It is 2020.

Humans have been writing code for almost half a century now, and making computers do stuff. We’ve automated most parts of the process of building software as well — continuous testing and integration, delivery, rollbacks, performance monitoring, live security monitoring, et al. Somehow, however, the act of writing code itself — and reviewing it for objective errors — is still 100% manual.

At DeepSource, we believe it doesn’t have to be like this. We believe computers should be able to find and fix bugs automatically. We’ve been working on this for quite some time, and we can barely contain our excitement now to show you what we’ve built.

Introducing, Autofix.

DeepSource has been able to find issues in your code so far — bug risks, anti-patterns, performance issues, and potential security vulnerabilities. Starting today, DeepSource will now be able to automatically fix some of these issues for you. We’re calling it, Autofix.

You can now see an “Autofix” button on some issues on a repository’s issues dashboard.

Issue box with Autofix button

In one click, you would be able to choose and confirm which files to run Autofix on — these are files in which at least one occurrence of an issue has been found. Autofix will generate fixes, and show you the changes in a diff format, so you can pick and choose which fixes you want to apply.

Autofix diff

Another click, and DeepSource will create a pull-request on your VCS provider (like GitHub or GitLab), which can then be merged.

Autofix diff

At the time of writing this, Autofix supports 14 issues in Python, and 21 in Go. In the coming few weeks, more issues will be added for Python and Go. In the next couple of months, we have a target of bringing at least 30% of all issues that DeepSource detects to Autofix.

Here’s a short video with the full workflow: Autofix Demo | DeepSource

What’s next?

Autofix takes us one step further in our journey towards building a great developer experience for automated code reviews. We believe the future of software development will include computers helping developers write code better and faster by automating everything in the process that can be automated.

Talking a page out of Jeff Bezos’s playbook, it’s day one for us. And we invite you to be a part of our journey as we attempt to fulfill our vision.

Welcome to the future.

Autofix diff

visual studio code visual studio code

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

COMO USAR e trabalhar com Code Review no Visual Studio Code

💲 Live CollabPlay: https://youtu.be/B6LCFSPdsE0 💲 Hospedagem com Desconto Exclusivo: https://tekers.tech/4e587 Não é todo programador que gosta de compartilh...

User Snippets (Code Shortcuts) in Visual Studio Code

#vscode Hello, my friends and fellow developers, this video is all about User Snippets. That means the Snippets (Code Shortcuts) that you can make for yourse...

Python в Visual Studio Code

We are pleased to announce that the July release of the Python extension is now available for Visual Studio Code. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can read more about Python support in Visual Studio Code in the documentation .

C++ Development with Visual Studio Code

If you’re looking for a fast and lightweight open-source code editor, Visual Studio Code has you covered. Come for a deep dive into the features of Visual Studio Code which provide a rich, productive environment for C++ development.

The History of Visual Studio Code

We speak to the creator of Visual Studio Code about the early challenges to now becoming the most popular development environment in the world.