The Ultimate VSCode Setup for Front End/JS/React
Why? Speed, stability and TypeScript.
Overall, I’m very happy with the switch. As with Atom, for me, out-of-the-box the editor has a lot of missing functionality. However, it is covered by extensions.
I divided this list into Utilities and HTML/CSS/JS/React specific extensions, sorted alphabetically.
This extension allows matching brackets to be identified with colours. The user can define which characters to match, and which colours to use.
A wrapper around node-change-case for Visual Studio Code. Quickly change the case of the current selection or current word.
A basic spell checker that works well with camelCase code.
The goal of this spell checker is to help with catching common spelling errors while keeping the number of false positives low.
This extension brings Sublime-like duplication of selected text — it duplicates it inline, and not in a new line, like the default behavior of VSCode.
Brings EditorConfig and
.editorconfig support to VSCode.
Expand selection to word/quotes/braces/expression/function body etc.
A convenient way of creating, duplicating, moving, renaming and deleting files and directories.
I configured keyboard shortcuts in the File Explorer, like
r to rename and
d to duplicate.
File-specific icons in VSCode for improved visual grepping.
Finds files related to the current file based on user-defined configuration rules. I use it to find spec/test files based on source files.
Monospaced font with programming ligatures.
tl;dr — converts
=> etc into beautiful symbols.
Supercharge the Git capabilities built into Visual Studio Code — Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more
automate repetitive actions with custom macros.
VSCode doesn’t have a built in way to open file explorer and focus on the current file, these are two different commands. This extension allows combining a set of commands, so I hooked
cmd+shift+r to do that. See instructions here.
All you need to write Markdown (keyboard shortcuts, table of contents, auto preview and more).
Enable Alt+L (line select) and Alt+Shift+L (selection to multi-cursor) behavior on VSCode. Another feature I really missed from Sublime.
If your code contains a comment, and you want to add a new comment to temporarily disable a block or portion of code, the first instance of a
*/ closing comment tag will end the entire comment.
This extension will convert pre-existing comments to safe characters, allowing a new block comment that includes the original comment. It also reverses the effect to uncomment the same block of code.
Visual Studio Code plugin that autocompletes filenames.
Easily switch between projects
Backup file when you save. Life saver.
Replace selections while preserving cases.
Synchronize Settings, Snippets, Themes, File Icons, Launch, Keybindings, Workspaces and Extensions Across Multiple Machines Using GitHub Gist.
Transpose is an extension for VSCode for transposing/swapping selections or characters.
Keep unique lines of text and remove duplicates from current selection. Also includes a command to shuffle currently selected lines.
HTML/CSS/JS/React Specific Extensions
Automatically rename paired HTML/XML tag.
Integrates ESLint into VS Code.
Wraps selected code with HTML tags. A feature I really missed from TextMate.
Help insert and remove console.(*) statements.
Code snippets for testing framework Jest.
Visual Studio Code plugin that autocompletes npm modules in import statements.
TSLint for Visual Studio Code
My all-time favorite theme.
Got more? Let me know in the comments!
Hit the clap button 👏👏🏻👏🏼👏🏽👏🏾👏🏿 (as many times as you want!).
Follow me on Twitter — @elado, and check out my other productivity tools posts: