DEV Community

Cover image for My VS Code setup
Jatin Sharma
Jatin Sharma

Posted on • Originally published at j471n.in

My VS Code setup

In this article, I'll be sharing my VS Code Setup with you. It includes the theme and Icons that use and also Extensions (this is very important).

🎨Theme

I use Andromeda as my primary theme for my vs code

andromeda-screenshot

🪟Icons

For Icons, I sometimes switch between Material Icon Theme and Material Theme Icons.

Material Icon Theme

Material Icon Theme

Material Theme Icons

⚒️Extensions

Now the best part, There are a lot of extensions I mentioned only my favorite or the one that I use mostly every day.

Auto Rename Tag

Automatically rename paired HTML/XML tag, same as Visual Studio IDE does.

Download: Auto Rename Tag

Bracket Pair Colorization Toggler

A VS Code extension that gives you a simple command to quickly toggle the global “Bracket Pair Colorization”

Download: Bracket Pair Colorization Toggler

C/C++

The C/C++ extension adds language support for C/C++ to Visual Studio Code, including editing (IntelliSense) and debugging features.

Download: C/C++

Code Runner

Run code snippet or code file for multiple languages

Download: Code Runner

Usage

Code Spell Checker

A basic spell checker that works well with code and documents.

The goal of this spell checker is to help catch common spelling errors while keeping the number of false positives low.

Download: Code Spell Checker

Example

DotENV

VSCode .env syntax highlighting.

Download: DotENV

Example

Error Lens

ErrorLens turbo-charges language diagnostic features by making diagnostics stand out more prominently, highlighting the entire line wherever a diagnostic is generated by the language and also prints the message inline.

Download: Error Lens

Demo image

ES7+ React/Redux/React-Native snippets

JavaScript and React/Redux snippets in ES7+ with Babel plugin features for VS Code

Download: ES7+ React/Redux/React-Native snippets

ESLint

The extension uses the ESLint library installed in the opened workspace folder. If the folder doesn't provide one the extension looks for a global install version. If you haven't installed ESLint either locally or globally do so by running npm install eslint in the workspace folder for a local install or npm install -g eslint for a global install.

Download: ESLint

Git Graph

View a Git Graph of your repository, and easily perform Git actions from the graph. Configurable to look the way you want!

Download: Git Graph

Recording of Git Graph

GitLens

GitLens supercharges Git inside VS Code and unlocks untapped knowledge within each repository. It helps you to visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more.

Download: GitLens

HTML Boilerplate

This extension provides the standard HTML boilerplate code used in all web applications.

Download: HTML Boilerplate

alt text

Import Cost

This extension will display inline in the editor the size of the imported package. The extension utilizes webpack in order to detect the imported size.

Download: Import Cost

Example Image

Live Server

It'll enable live changes without saving files.

Download: Live Server

Live Server Demo VSCode

Markdown All in One

All you need for Markdown (keyboard shortcuts, table of contents, auto preview and more).

Note: VS Code has basic Markdown support out-of-the-box (e.g, Markdown preview), please see the official documentation for more information.

Download: Markdown All in One

toggle bold gif

Markdown Preview Enhanced

It shows the enhanced preview of your markdown content.

Download: Markdown Preview Enhanced

intro

Paste JSON as Code

Copy JSON, paste as Go, TypeScript, C#, C++ and more.

Download - Paste JSON as Code

Image description

Prettier

Code formatter using prettier

Download - Prettier

Prettier

Python

IntelliSense (Pylance), Linting, Debugging (multi-threaded, remote), Jupyter Notebooks, code formatting, refactoring, unit tests, and more.

Download - Python

Python

Settings Sync

Synchronize Settings, Snippets, Themes, File Icons, Launch, Keybindings, Workspaces and Extensions Across Multiple Machines Using GitHub Gist.

Download - Settings Sync

Settings Sync

Tailwind CSS IntelliSense

Intelligent Tailwind CSS tooling for VS Code

Download - Tailwind CSS IntelliSense

Tailwind CSS IntelliSense

TODO Highlight

Highlight TODO, FIXME and other annotations within your code.

Sometimes you forget to review the TODOs you've added while coding before you publish the code to production. So I've been wanting an extension for a long time that highlights them and reminds me that there are notes or things not done yet.

Hope this extension helps you as well.

Download - TODO Highlight

TODO Highlight

Turbo Console Log

Automating the process of writing meaningful log messages.

Download - Turbo Console Log

Turbo Console Log

Tabnine AI

Tabnine is an AI code assistant that makes you a better developer. Tabnine will increase your development velocity with real-time code completions in all the most popular coding languages and IDEs.

Download - Tabnine AI

Tabnine AI

⚙️Settings

The following JSON code shows my vs code setting:

// user/settings.json
{
  "files.autoSave": "afterDelay",
  "editor.mouseWheelZoom": true,
  "code-runner.clearPreviousOutput": true,
  "code-runner.ignoreSelection": true,
  "code-runner.runInTerminal": true,
  "code-runner.saveAllFilesBeforeRun": true,
  "code-runner.saveFileBeforeRun": true,
  "editor.wordWrap": "on",
  "C_Cpp.updateChannel": "Insiders",
  "editor.suggestSelection": "first",
  "python.jediEnabled": false,
  "editor.fontSize": 17,
  "emmet.includeLanguages": {
    "javascript": "javascriptreact"
  },
  "editor.minimap.size": "fit",
  "editor.fontFamily": "Consolas, DejaVu Sans Mono, monospace",
  "editor.fontLigatures": false,
  "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "python.formatting.provider": "yapf",
  "[css]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "git.autofetch": true,
  "git.enableSmartCommit": true,
  "html-css-class-completion.enableEmmetSupport": true,
  "editor.formatOnPaste": true,
  "liveServer.settings.donotShowInfoMsg": true,
  "[python]": {
    "editor.defaultFormatter": "ms-python.python"
  },
  "diffEditor.ignoreTrimWhitespace": false,
  "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features"
  },
  "[c]": {
    "editor.defaultFormatter": "ms-vscode.cpptools"
  },
  "editor.fontWeight": "300",
  "editor.fastScrollSensitivity": 6,
  "explorer.confirmDragAndDrop": false,
  "vsicons.dontShowNewVersionMessage": true,
  "workbench.iconTheme": "material-icon-theme",
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.renderWhitespace": "none",
  "workbench.startupEditor": "newUntitledFile",
  "liveServer.settings.multiRootWorkspaceName": "",
  "liveServer.settings.port": 5000,
  "liveServer.settings.donotVerifyTags": true,
  "editor.formatOnSave": true,
  "html.format.indentInnerHtml": true,
  "editor.formatOnType": true,
  "printcode.tabSize": 4,
  "terminal.integrated.confirmOnExit": "hasChildProcesses",
  "terminal.integrated.cursorBlinking": true,
  "terminal.integrated.rightClickBehavior": "default",
  "tailwindCSS.emmetCompletions": true,
  "sync.gist": "527c3e29660c53c3f17c32260188d66d",
  "gitlens.hovers.currentLine.over": "line",
  "terminal.integrated.profiles.windows": {
    "PowerShell": {
      "source": "PowerShell",
      "icon": "terminal-powershell"
    },
    "Command Prompt": {
      "path": [
        "${env:windir}\\Sysnative\\cmd.exe",
        "${env:windir}\\System32\\cmd.exe"
      ],
      "args": [],
      "icon": "terminal-cmd"
    },
    "Git Bash": {
      "source": "Git Bash"
    },
    "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe (migrated)": {
      "path": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
      "args": []
    },
    "Windows PowerShell": {
      "path": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
    },
    "Ubuntu (WSL)": {
      "path": "C:\\WINDOWS\\System32\\wsl.exe",
      "args": [
        "-d",
        "Ubuntu"
      ]
    }
  },
  "javascript.updateImportsOnFileMove.enabled": "always",
  "[dotenv]": {
    "editor.defaultFormatter": "foxundermoon.shell-format"
  },
  "editor.tabSize": 2,
  "cSpell.customDictionaries": {
    "custom-dictionary-user": {
      "name": "custom-dictionary-user",
      "path": "~/.cspell/custom-dictionary-user.txt",
      "addWords": true,
      "scope": "user"
    }
  },
  "window.restoreFullscreen": true,
  "tabnine.experimentalAutoImports": true,
  "files.defaultLanguage": "${activeEditorLanguage}",
  "bracket-pair-colorizer-2.depreciation-notice": false,
  "workbench.editor.wrapTabs": true,
  "[markdown]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[ignore]": {
    "editor.defaultFormatter": "foxundermoon.shell-format"
  },
  "terminal.integrated.fontFamily": "courier new",
  "terminal.integrated.defaultProfile.windows": "pwsh.exe -nologo",
  "terminal.integrated.shellIntegration.enabled": true,
  "terminal.integrated.shellIntegration.showWelcome": false,
  "editor.accessibilitySupport": "off",
  "editor.bracketPairColorization.enabled": true,
  "todohighlight.isEnable": true,
  "terminal.integrated.shellIntegration.history": 1000,
  "turboConsoleLog.insertEnclosingClass": false,
  "turboConsoleLog.insertEnclosingFunction": false,
  "files.autoSaveDelay": 500,
  "liveServer.settings.CustomBrowser": "chrome",
  "liveServer.settings.host": "localhost",
  "liveServer.settings.fullReload": true,
  "workbench.editor.enablePreview": false,
  "workbench.colorTheme": "Andromeda Bordered"
}
Enter fullscreen mode Exit fullscreen mode

Wrapping up

This is all. I hope you find this useful. If you do, then don't forget to give ❤️ and Bookmark 🏷️ for later use and if you have any questions or feedback then don't hesitate to drop them in the comments below. I'll see in the next one.

Connect with me

Oldest comments (57)

Collapse
 
hackertab profile image
Hackertab.dev 🖥️

I found 3 cool extensions I didn't know they exist!
Thank you for this amazing collection

Collapse
 
j471n profile image
Jatin Sharma

I am glad it helped. 😊

Collapse
 
nickjeon profile image
Nicholas Jeon

Are you utilizing all of them concurrently? I have concerns that this type of configuration may significantly impede the performance of your VS Code. 🤔

Collapse
 
j471n profile image
Jatin Sharma

Not all of them, I disable some of them depending upon environment or workspace.

Collapse
 
louiecodes profile image
L O U I S

Nice, I almost use the same ones. Still I'm taking a few to try!

Collapse
 
j471n profile image
Jatin Sharma

It's amazing.

Collapse
 
aadarsh805 profile image
Aadarsh Thakur

Man I'm missing so much cool features, thanks a lot for this

Collapse
 
j471n profile image
Jatin Sharma

Now, you won't miss them. 🙌

Collapse
 
khuongduybui profile image
Duy K. Bui

Has anyone pointed out that Settings Sync is now replaceable by a built-in function?

Collapse
 
sarathkumar365 profile image
Sarath Kumar

yeah right, it is.

Collapse
 
machineno15 profile image
Tanvir Shaikh

Great list,
Bracket pair colorizer is no more required, its built is vscode now

Most of this I'm already using, error lens something new to me

Collapse
 
j471n profile image
Jatin Sharma

Error lens helped me a lot recently.

Collapse
 
lgrammel profile image
Lars Grammel

Awesome extensions!

I've recently created an extension that provides Chat-GPT-like functions inside VS Code: marketplace.visualstudio.com/items...

Would love to hear if an extension like this would be useful to you as well.

Collapse
 
j471n profile image
Jatin Sharma

That's sounds wonderful, I would love to try that. Thanks fo this.

Collapse
 
uciharis profile image
the hengker

wanna give a try

Collapse
 
_itsglover profile image
Glover

Just tried out your extension and it's genuinely awesome 🔥

Collapse
 
lgrammel profile image
Lars Grammel

Thank you!

Collapse
 
fahimfba profile image
Md. Fahim Bin Amin

I also use the Andromeda theme. After shifting a lot of themes, this is the only theme I can make my eyes peaceful for a longer period of time.

Collapse
 
j471n profile image
Jatin Sharma

Exactly the same reason.

Collapse
 
satyamgupta1495 profile image
Satyam Gupta

I use Night Wolf theme, would recommend you to try once!

Collapse
 
j471n profile image
Jatin Sharma

I'll definately try, thanks man for recommendation.

Collapse
 
husseinkizz profile image
Hussein Kizz

Well thanks for sharing, I may do a whole youtube video or blog post about my vscode setup if I get time, cause I like making it the best I can have since I spend most of time there yet not also blow it and make it lag, but for the sake here are my top extensions I think you will ever need to make your vscode more poppy!
Link: howivscode.com/Hussseinkizz

Collapse
 
j471n profile image
Jatin Sharma

That's an amazing collection.

Collapse
 
tiagoribeiro25 profile image
TiagoRibeiro25

I find it funny that 95% of this is literally my current vscode setup, including the theme, except the font, I use monolisa. Good recommendations ;=)

Collapse
 
j471n profile image
Jatin Sharma

That's amazing 🤩

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
j471n profile image
Jatin Sharma

Thanks Deepak. 🙌

Collapse
 
mohammadparsajavidi profile image
mohammadparsa-javidi

Great 👌

Collapse
 
j471n profile image
Jatin Sharma

Thanks 😊

Collapse
 
saravanasai profile image
Saravana Sai

Turbo log that's really awesome thanks for that

Collapse
 
j471n profile image
Jatin Sharma

Yes, it helped me a lot recently.

Collapse
 
banhsbao profile image
BanhsBao

Very helpful!! Thanks

Collapse
 
j471n profile image
Jatin Sharma

I am glad you find it helpful 😊

Collapse
 
mahlilmahee profile image
Mahlil Mahee

awesome bro

Collapse
 
j471n profile image
Jatin Sharma

Thanks.