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 10 VS Code Extensions to Fight Technical Debt that’ll help you navigate the production landscape.
10 VS Code Extensions to Fight Technical Debt
Refactoring and 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 components, converting Class Components to Functional Components and vice-verse, wrapping JSX with conditional, renaming state variables and their setters simultaneously, and more.
2. Stepsize
Our team has built Stepsize specifically for Engineering teams to track and prioritize technical debt directly in the VS Code editor. It is an editor-first issue tracker for a healthy codebase that allows engineering teams to:
- Create and view code issues directly from your editor
- Track and prioritize code improvements like technical debt
- Add key issues to your sprints with our Jira integration
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.
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.
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.
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.
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 build 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 the sidebar. Comment Anchors provides many configuration options, allowing you to tailor this extension to your personal workflow, and increase productivity.
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 and comments
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.
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 the context menu of file explorer
- Run selected code snippet in Text Editor
These 10 VS Code extensions will help you keep your codebase healthy and manage technical debt continuously. Do you use other similar extensions? Share below in the comment section!