DEV Community

Cover image for 10 VS Code Extensions to Fight Technical Debt
Alex Omeyer
Alex Omeyer

Posted on • Updated on

10 VS Code Extensions to Fight Technical Debt

Many engineering teams get stuck and cannot ship quality software fast because of technical debt.

The best engineering teams I've talked to use the right tools to continuously refactor code, improve their codebase communication, and address technical debtπŸš€

Here are VS Code extensions that'll help you do that.

Refactoring & tech debt tools

1. Glean

Glean provides refactoring tools for your React codebase: extract JSX into a new component, convert Class Components to Functional Components, wrapping with Hooks. It allows extracting JSX into new component, converting Class Components to Functional Components and vice-verse, wrapping JSX with conditional, renaming state variables and their setters simultaneously, and more.

Alt Text

2. Stepsize

Stepsize is built specifically for Engineering teams to track and prioritise technical debt directly in the VS Code editor.

Stepsize is an editor-first issue tracker for healthy codebase. It allows Engineering teams to:

  • Create & view code issues directly from your editor
  • Track & prioritise code improvements like technical debt
  • Add key issues to your sprints with our Jira integration

Image description

3. JavaScript Assistant

JavaScript assistant will help you write modern, clear, and concise code. It offers 48 automated refactorings, cleanups and actions for JavaScript and TypeScript.

Image description

4. Abracadabra, refactor this!

With Abracadabra, you can quickly and safely refactor existing code in VS Code.

VS Code ships with a few basic refactorings. Abracadabra supercharges your editor with shortcuts to trigger the most useful ones in no-time, quick fixes to suggest refactorings when appropriate, options to customize the UX to your needs, refactorings that work with .js, .jsx, .ts, .tsx and .vue files.

Alt Text

TODOs and comments

5. TODO Highlight

If you like to mark sections of code with TODO and FIXME tags but keep forgetting about them then this plugin will solve your problem. It highlights TODO or FIXME phrases in the code so that you don’t forget what you wanted to fix or improve.
Alt Text

6. Todo Tree

The Todo Tree extension collects all your tasks scattered throughout the application at your command into one tree on the left side of the editor workspace. You can quickly search your workspace for comment tags like TODO and FIXME, and see them in a tree view.
Alt Text

7. Comment Anchors

Comment Anchors allows you to place anchors within comments or strings to place bookmarks within the context of your code. Anchors can be used to track TODOs, write notes, create foldable sections, or to build a simple navigation making it easier to navigate your files.

Anchors can be viewed for the current file, or throughout the entire workspace, using an easy to use sidebar.

Comment Anchors provides many configuration options, allowing you to tailor this extension to your personal workflow, and increase productivity.

Image description

8. New Relic CodeStream

New Relic CodeStream is a developer collaboration platform that integrates essential dev tools into VS Code. Eliminate context-switching and simplify code discussion and code review by putting collaboration tools in your IDE.

  • Create and review GitHub and GitLab pull requests
  • Get feedback on work-in-progress with pre-PR code reviews
  • Code discussions & comments

Image description

Automation

9. SonarLint

SonarLint lets you fix coding issues before they exist: like a spell checker, SonarLint highlights Bugs and Security Vulnerabilities as you write code, with clear remediation guidance so you can fix them before the code is even committed. SonarLint in VS Code supports analysis of JavaScript, TypeScript, Python, Java, HTML & PHP code.

Alt Text

10. Code Runner

Run code snippet or code file for multiple languages, such as C, C++, Java, JavaScript, PHP, Python, Perl, Perl 6, Ruby, Go, and many more.

  • Run code file of current active Text Editor
  • Run code file through context menu of file explorer
  • Run selected code snippet in Text Editor

Image description

Top comments (8)

Collapse
 
apperside profile image
Apperside

Finally a useful "vscode extensions list"

Collapse
 
cesscode profile image
Cess

Amazing Vs code collections chief, will install some of them Asap

Collapse
 
codewhiteweb profile image
Code White Dev

give some more, mostly focused on Web Developers.

Collapse
 
ahsanhabib profile image
Ahsan Habib

πŸ’• it

Collapse
 
klvenky profile image
Venkatesh KL

This is possibly the only comprehensive list of extensions that kept me engaging till the end. Definitely worth a bookmark :cheers:

Collapse
 
karlkras profile image
Karl Krasnowsky

Thanks for the recommendations Alex!

Collapse
 
luisferfranco profile image
Luis F. Franco

Very nice collection of extensions, thanks

Collapse
 
yosnier profile image
Yosnier Samon

Awesome!
Thanks