In my years of experience, I have found some features I am always looking for when I’m using an Editor. Features which allows me to write faster and better code.
These are my 6 must features your editor should have, and I also included a bonus at the end.
Heads up: I am going to put the keyboard shortcuts only for MacOS using VS Code Editor. You should Google the right shortcut if you have any different setup.
0. Word selection.
I love this feature because it looks so basic and useless, but believe me, it’ll save you a ton of time when making selections from keyboard, and when combining together with other commands, it is very powerful.
I am pretty sure shortcut is the one I use the most everyday.
![Word selection in VS Code](0-multicursors-vs-code.gif)
This one blows the mind for every one which see it for the very first time.
![Multicursors in VS Code](1-multicursors-vs-code.gif)
Keyboard shortcut: Hold
CMD key, and
Click wherever you want to put a cursor.
This feature is a sort of comibation between word selections and multicursors.
![Multiselection in VSCode](2-multiselection-vscode.gif)
D Multiple times over a word or chunk of code.
3. Render whitespaces.
Either your project uses tabs or spaces, you should always use a consistent style. And being able to see if there is a space or tab really makes the difference.
![Editor rendering whitespaces](3-render-whitespaces.png)Do you see those little dots? Those are spaces. Tabs get rendered as `->`.
**Add to Settings:** `”editor.renderWhitespace”: “all”`.
4. Version Control Integration.
Being able to see what is new in a file, what have changed, and where in the file are you working on, is priceless. You get that by integrating your editor with the version control software you are using on the project.
![Editor displaying Git changes](4-git-integration.png)VS Code include Git integration by default
![ES6 Snippet in VSCode](5-code-snippet-emmet.gif)
Making typos is so easy when coding. Choose an editor which will help you out in real time to catch up those kind of errors. Code completion is also very helpful and VS Code’s is great at it.
[Optional] Font and Theme.
Bonus: Clipboard Manager.
This will change your life. A clipboard manager gives you the ability to keep a history for every text you have copied to the clipboard. You won’t need to switch over diffent applications for copying and pasting multiple things.
For MacOS users, Flycut works like a charm. Make sure you remember the key combination for opening up the history.
– Huh? But there are thousands of plugins an extensions out there you can install
– Yes, I know, but extensions are just a plus, you don’t really need those. That is why the are named… extensions. Also some may not be available for all Editors.
– Wait, what Text Editor or
At the of the day, choosing a Text Editor or
IDE’sis just a matter of taste. There is no such thing as the perfect Editor.
Is there any other feature you consider vital? Tweet me.