DEV Community

Cover image for My productivity setup ( VS Code )
Minhazur Rahman Ratul
Minhazur Rahman Ratul

Posted on • Updated on

My productivity setup ( VS Code )

In this post I am gonna show you my personal vs code setup! Which makes me more productive. And gives me inspiration to do more coding. I will show you how turn this boring one, -

Ratul

To this cool one-

Ratul

And I will also provide you a list of useful VS code extentions which will make you life more easier as a developer. So if you are interested, continue reading...

Theme

When it comes about theme every people has a different choice. But I personally prefer to use - "The best theme". Yes if you take my opinion this is the best theme. Which gives an elegant look to my VS code. It's pretty similar to one dark pro. But this one is a little bit lighter than one dark pro. Which attracts me so much.

Ratul

Font

I use Fira Code as the default font of my editor. Which looks pretty fine. It gives a nice look to my editor. And fira code 400 medium is recommended with the Best theme.

Alt Text

Icons

For icons I use Material Icon Theme Which makes my icons simple and elegant looking.

Alt Text

Useful Extentions

1. Prettier

Prettier is a really really useful extention. It formats your unformatted code once you save your file. So install it. And after installation, go to settings, and search - "Format on save" Then check the settings if it is marked. Then add some code in your settings.json

"editor.defaultFormatter": "esbenp.prettier-vscode",
Enter fullscreen mode Exit fullscreen mode

2. Auto Rename Tag

This extention saves my time a lot When I am working with React, Html and XML. It renames the closing tag automatically when you try to rename the opening tag.

Alt Text

3. ES7 React/Redux/GraphQL/React-Native snippets

This extention saves a lot of time when I am working with react and react-native. It helps me to prevent writing all the boilerplate codes. Like when I type - 'rafce' if generates all the codes for a react functional component.

4. Live Server

This extention is so useful when you are working with html, css and js projects. It auto reloads the browser page once you save any file in your project.

Alt Text

5. Bracket Pair Colorizer

This extention is so much useful. It highlights the occurance of the opening and closing brackets. And it generates different colors of brackets. Which helps me a lot to have a more better and fast understanding.

Alt Text

6. Tabnine Autocomplete AI

Tabnine is autocomplete AI tool. This will help you a lot when it comes to coding! And I highly recommend it. Just install it and you are gonna stick with that! it's insane!

Alt Text

So that was my vs code setup. I enjoy working a lot with this setup. Let me know what is your productivity setup! in the discussions.

Top comments (65)

Collapse
 
lyrod profile image
Lyrod

You should give a try to Jetbrains Mono font 😊

Collapse
 
aegiraexx profile image
Ægir Æxx

Jetbrains Mono has to be the best coding font I've ever come across.

Collapse
 
murad_jafarly_f82df49d515 profile image
Murad Jafarly

how can I get the Jetbrains Mono font?

Thread Thread
 
aegiraexx profile image
Ægir Æxx
Collapse
 
andreabarghigiani profile image
Andrea Barghigiani • Edited

I used that a lot but now I've been playing with Cascadia Code and I have to admit that has got a lot better since I tested some time ago. I'm starting to appreciate the thing Microsoft is publishing and I disliked 'em for so much time that is a strange feeling 😂

Collapse
 
tbsraviashara profile image
Ravi Ashara • Edited

Are you checking FiraCode ???

Collapse
 
lyrod profile image
Lyrod

Yep! This was the first one I tested!

Collapse
 
itskitto profile image
Kitto Khrangtong

It's honestly one of the best code editor fonts IMO. I always struggled with moving back and forth between fonts and this one has been the longest standing use for me!

Collapse
 
murad_jafarly_f82df49d515 profile image
Murad Jafarly

how can I get the Jetbrains Mono font?

Collapse
 
lyrod profile image
Lyrod • Edited
Collapse
 
gulajavaministudio profile image
Gulajava Ministudio

Here my current setup.

demo image

You can try extension that i use here :
Gitlens
indent-rainbow
Visual Studio IntelliCode
ES6 Snippets
Vetur
Relative Path
Bracket Pair Colorizer 2
Live Server
Path Intellisense
REST Client


And for theme and font, i'm using Mayukai Theme and Iosevka Mayukai Font

Collapse
 
stevenlu2004 profile image
Tongyu Lu

Big shout-out for Iosevka for all CJK users. The design aligns characters very well.

Collapse
 
developeratul profile image
Minhazur Rahman Ratul

nice your setup is sick

Collapse
 
mindplay profile image
Rasmus Schultz

No PHP extension?

I've switched back and forth, and continue to find that none of them are very good. It's the main (perhaps only) reason I stick with JetBrains.

Everything else in VS Code is pretty great. I wish they'd sort that out and provide an official extension with reliable IDE quality language support. 😐

Collapse
 
developeratul profile image
Info Comment hidden by post author - thread only accessible via permalink
Minhazur Rahman Ratul

you can use this extention as a php dev -> marketplace.visualstudio.com/items...

Collapse
 
mindplay profile image
Rasmus Schultz

No commits to the language server behind that project since 2+ years.

(Microsoft themselves are behind the tolerant parser behind the language service, but they don't appear to be using it for anything in the IDE space - and neither does anyone else, if I'm going by the package references.)

Collapse
 
aravindvnair99 profile image
Aravind V. Nair

Nice article! I have the same config. Three suggestions though:

"Auto Rename Tag" is no longer required. VS Code has built-in functionality for the same not.

"Bracket Pair Colorizer" has a newer version. It's much faster than v1 and is called "Bracket Pair Colorizer 2". Check it out.

400 is default font weight.

Collapse
 
developeratul profile image
Minhazur Rahman Ratul • Edited

wow thanks for informing me!!! :) But auto rename tag is still required in my device and I have said 400 medium is recommended with the best theme cause people might install other version so that's why I have said.

Collapse
 
dreitzner profile image
Domenik Reitzner • Edited

A few of my favorites:

Collapse
 
rhartzell profile image
Rod Hartzell

100% on gitlens. That is a lifesaver extension.

Collapse
 
sandhilt profile image
Bruno Ochotorena

Victor Mono font is cool too.

Collapse
 
nickfotopoulos profile image
Nick Fotopoulos • Edited

Since font's seems to be the theme of the comments section I'll add my two cents.

Hack Nerd Font
Hack Nerd Font

nerdfonts.com/font-downloads

Collapse
 
ajithgopi profile image
Ajith Gopi

Works with css? Get the CSS media query snippets..

Collapse
 
developeratul profile image
Minhazur Rahman Ratul

wow thanks!

Collapse
 
ajithgopi profile image
Ajith Gopi

Well, thank YOU btw 😛 I made it 🤪🤪

Collapse
 
jesperhodge profile image
Jesper Hodge

Did you try Fira Code iScript? I'm so so happy with the italics, even though I was skeptical first...

And another question, has anyone compared TabNine to Kite? (Free version) - I'm using Kite, it's quite helpful so far but not incredible, do you recommend TabNine instead?

Collapse
 
orels1 profile image
orels1

While it's a paid font, I still can't recommend Dank Mono enough. Its a pretty unique looking font among the coding fonts, so you never know if you might like it!

gumroad.com/l/dank-mono

JetBrains mono is also good. Learned to love it when I started doing some C# coding for Unity stuff.

And in terms of themes, I just can't stop using Monokai Pro: monokai.pro/

Some other things to note that i haven't seen other mention:

  • Dash integration, if you're on macos and using Dash - pulls up the docs for things in Dash
  • Code Spell Checker, for all your flase and other fun typos
  • Partial Diff, for weird situations when you want to quickly compare some code in the editor, i often use it to compare some code that i have open on github withi pieces on my local machine (without having to switch branches locally)

Nice compilation though! Will be grabbing the autocomplete for sure

Collapse
 
developeratul profile image
Minhazur Rahman Ratul

Thank for the font!

Collapse
 
zayrtun profile image
Zayar Tun

Really loved the theme. Thanks.

Collapse
 
jae profile image
Jae Beojkkoch

The theme is not bad, thanks for sharing this!

Collapse
 
tamnguyenchi93 profile image
tamnguyenchi93

I use ubuntu mono font for my setup. With monokai theme.

Collapse
 
developeratul profile image
Minhazur Rahman Ratul

oh awesome one!

Collapse
 
tabnine profile image
Tabnine

You should try Tabnine AI code completions! It uses GPT-2 based models to predict the exact code the developer has intended to type and saves thousands of keystrokes. Works miraculously with VS Code

Collapse
 
developeratul profile image
Minhazur Rahman Ratul • Edited

Tabnine should be in this list !

Collapse
 
tabnine profile image
Tabnine

Yay! Thanks for that, Ratul  ❤️

Collapse
 
pankaj165 profile image
Pankaj • Edited

GitLens is also good

Some comments may only be visible to logged-in visitors. Sign in to view all comments. Some comments have been hidden by the post's author - find out more