VSC: Visual Studio Code
Why I moved away from Atom
I was an Atom user for nearly a year. Everything about this text editor was perfect for me. For starters, the packages manager was much more beginner friendly than Sublime. Also, there were always new updates which seemed to make my text editor more and more powerful with each update. But 4 months ago I started to feel the pain of the slow speed of Atom. This nearly broke my heart as I had put so much time and effort customizing the perfect setup for my needs. I built custom packages, created color syntax for different languages and even made my own code snippets.
So VS Code?
Yes, I choose VS Code and yes I wasn't sold the first time I saw it. I don't like Microsoft products, but this one had something I really liked.
Open VSC took me less than 10 seconds.
VSC took almost no CPU! I got some weird stuff with code helper in the activity monitor of my MAC but I quickly resolved the issue by tweakng the settings(I’ll show these magic settings at the end of this post).
cmd + click on a file path and go right to the file is awesome! You can do the same thing in Atom. I know. But it’s just not as smooth as VSC.
Like Atom, VSC has a lot of packages. The VSC community put a lot of effort into making your experience with this text editor better everyday. I miss some of Atom packages but at the same time, I have some new favorites for VSC.
My Top Packages
Here you can click on the packages name. This is a link :)
This helps you get the relative path of your file and help you to autocomplete path names when you do something like…
import MyComponent from './src/components/MyComponent';
Plus, this works with dependencies from your
This extension helps my life so much. When you have a lot of projects and don't want to waste time finding each one on your computer, you can just save them right inside the window. Just press
shift + cmd + p and
Project Manager: Save Project. Afterwards, you can just come back to your text editor and search right in the project manager by typing
shift + cmd + p and
Project Manager: List Projects to Open.
This one doesn't do much. But what it does do is a huge help! For example, you’re working on a React project and you want to change your component
MyApp to be
YourApp. This extension will rename rename every ‘MyApp’ to ‘YourApp’ at the same time.
Some es6 snippets you help you write code faster.
Add color to the internal terminal. Did I mention there is a built in terminal in VSC?!?
You need this if you work with React.
This will highlight your color variables inside CSS and JS. So, when you type something like
#fff you’ll see a white colored highlight on it.
If you follow me on Youtube you have surely seen how much I like this little tool. It makes your code more consistent for multiple users. What do I mean by this? It allows you to not worry so much about your Text Editor settings and will add some handy settings like
trim whitespace. This is useful for teams because it can be painful to see some 4 space indents on one page and 2 space indents on another. This works on almost every code editor too, so if your friends don't use want to use your new favorite text editor, it will work for them too.
This will generate a
.editorConfig file for you with some nice editor settings.
Again, this is a tool I use on every project. This tool will help you to make your code better and let you know about errors before your code runs. For example, eslint will show you when you miss a semicolon or when you declare a variable but you never use it. But these errors depend on your eslint config.
PS I have created my own. You can install it from npm
npm i -D eslint-config-equimper. This one is an extension of the Airbnb linter.
Link to mine:
If you are like me and you like Flow you need this tool. Less laggy than the nuclide one in Atom plus it's the better solution for VSC I’ve found.
Add some indent guide lines to your code. Much easier on the eyes.
Again, an extension to make your eyes happy when looking through lots of indented code.
This is an awesome extension, but I don't really use it. But for the those who don’t like using their mouse, this is something you need. It will help you navigate your file really quickly without using your mouse.
Another one that’s easy on the eyes.
React-Native user? This tool it's for you.
This plugin will track your time spent in your text editor each week. It's like a Fitbit for a programmer. It will tell you which project you spend the most time on, which language you use the most and can even keep track of goals you set during the week.
You can add some of my settings to your.
My Snippets Packages
One of my friends have started his own youtube channel where he talk about programming in general. Take a look at his channel :)
If you want to learn React-Native with NodeJS for your server side, I'm building a tutorial on youtube.
Hashnode is a friendly and inclusive dev community.
Come jump on the bandwagon!
💬 Ask programming questions without being judged
🧠 Stay in the loop and grow your knowledge
🍕 More than 500K developers share programming wisdom here
❤️ Support the growing dev community!
If you have the time, I would recommend reading this article to find out what's causing the issues you're seeing. http://flight-manual.atom.io/hacking-atom/sections/debugging/