DEV Community

Cover image for My productivity setup ( VS Code )

My productivity setup ( VS Code )

Minhazur Rahman Ratul on February 21, 2021

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...
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
 
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
 
tbsraviashara profile image
Ravi Ashara • Edited

Are you checking FiraCode ???

Collapse
 
lyrod profile image
Lyrod

Yep! This was the first one I tested!

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
 
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
 
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
 
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
 
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
 
sandhilt profile image
Bruno Ochotorena

Victor Mono font is cool too.

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
 
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
 
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
 
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
 
jae profile image
Jae Beojkkoch

The theme is not bad, thanks for sharing this!

Collapse
 
hamatoyogi profile image
Yoav Ganbar

I've been looking for something like "Auto Rename Tag" for a while now, thanks!

Collapse
 
developeratul profile image
Minhazur Rahman Ratul

Youre Welcome :)

Collapse
 
pankaj165 profile image
Pankaj • Edited

GitLens is also good

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
 
mikedev profile image
MikeD81

Hey guys! I would like to ask a question with a problem I'm having. When I click on the "go live" tab on vscode it's not opening the web browser as it should, Chrome is my default as it always has been, also when I right click on the html file in the workspace column it's still not opening the browser. I've searched many solutions and none seem to be helping I've also uninstalled and reinstalled code twice, nothing seems to work, can anyone shed some light or point me in a direction I can work with. I appreciate any help you guys can offer.

Collapse
 
julesparra profile image
Jules Parra

omg i need to use the live server extention🤩 thanks for sharing, i've been looking for resources like this lately as I'm experimenting with vscode with web dev after being a loyal brackets user

Collapse
 
catwhocode profile image
Cat who code • Edited

Mine: Auto close tag, Auto rename tag, Power mode, Untabify

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

Mann! Power mode is sick!!!

Collapse
 
sonulohani profile image
Sonu Lohani

I like monaco font. But i dont stick with one font.

Collapse
 
developeratul profile image
Minhazur Rahman Ratul

same to you :)

Collapse
 
jasoki profile image
Jason Kim

Auto Rename Tag looks great. Thanks for the suggestion

Collapse
 
jankohlbach profile image
Jan Kohlbach

haha, thanks for liking and mentioning my theme 😬
I was wondering why the install count did raise so much the last days and even github issues appeared until someone mentioned this article to me 😂

Collapse
 
developeratul profile image
Minhazur Rahman Ratul • Edited

DUde! Your theme is so awesome. I really enjoy using your theme :D Thanks for creating that

Collapse
 
imprimph profile image
Jaswanth

What is the extension you used to get those three vertical lines for "===" operator?

Collapse
 
pscl profile image
Pascal

Nice article! I'm currently using JetBrains Mono but I'm a huge fan of Fira Code as well.

Collapse
 
lepinekong profile image
Info Comment hidden by post author - thread only accessible via permalink
lepinekong

I tried tabnine for typescript I found it completely useless

Collapse
 
developeratul profile image
Minhazur Rahman Ratul

But in my device, it works just fine :)..... IDK why it is not working in your device it might be a bug .

Collapse
 
lepinekong profile image
lepinekong

I didn't it doesn't work I say it's useless ;)

Collapse
 
rhartzell profile image
Rod Hartzell

I absolutely love the indent-rainbow extension.

Collapse
 
allabouttech0803 profile image
universaltutor5
Collapse
 
danbmky profile image
Dan Bamikiya

You forgot to add Chameleon to ur useful extensions list!

Collapse
 
sergei profile image
Sergei Sarkisian

TabNine is pretty heavy on resources, be noticed.

Collapse
 
yatki profile image
Mehmet Yatkı

You may wanna try this one too :)

GitHub logo yatki / vscode-surround

🔥A simple yet powerful extension to add wrapper templates around your code blocks

Surround

Visual Studio Marketplace Visual Studio Marketplace GitHub last commit License


A simple yet powerful extension to add wrapper templates around your code blocks

Features

  • Supports multi selections
  • Fully customizable
  • Custom wrapper functions
  • You can assign shortcuts for each wrapper function separately
  • Nicely formated

Demo 1: Choosing wrapper function from quick pick menu

Demo 1

Demo 2: Wrapping multi selections

Demo 2

How To Use

After selecting the code block, you can

  • right click on selected code
  • OR press (ctrl+shift+T) or (cmd+shift+T)

to get list of commands and pick one of them.

Hint

Each wrapper has a separate command so you can define keybindings for your favourite wrappers by searching surround.with.commandName in the 'Keyboard Shortcuts' section.

List of commands






























Command Snippet

surround.with (ctrl+shift+T)
List of all the enabled commands below
surround.with.if if ($condition) { ... }
surround.with.ifElse if ($condition) { ... } else { $else }
surround.with.tryCatch try { ... } catch (err) { $catchBlock }
surround.with.tryFinally try { ... } finally { $finalBlock




🚀🖖

Collapse
 
kunalgupta557a profile image
kunalgupta557a

How do i change fonts to jetbrains

Collapse
 
developeratul profile image
Minhazur Rahman Ratul

at first install them > then go to settings > and search font's > then set it to > 'jetbrains mono' / 'fira code'

Collapse
 
minecodes profile image
Minecodes

Nice but the arrow style in Fira Code and Jetbrains Mono isn't working in my IDE

Collapse
 
developeratul profile image
Minhazur Rahman Ratul

make sure you have installed the fonts -> fonts.google.com/specimen/Fira+Cod...

Collapse
 
cmpsmarcio profile image
Márcio Campos

I like Menlo font and Github Plus Theme

Collapse
 
developeratul profile image
Minhazur Rahman Ratul

oh one of my favourite one.

Some comments have been hidden by the post's author - find out more