


(On Windows, I would opt for Ctrl + } - which is Ctrl + Shift + ] - as Ctrl + Alt + ] is already taken.) To speed this up, I created a custom keyboard shortcut, enabling me to use Ctrl + Cmd + ] at any point. This should copy the current indentation on the file to correct your code.
#Atom vpn for mac code#
Select the code and head to Edit > Lines > Auto Indent. One annoyance I have is when I copy code from somewhere and the indentation is all over the place.

There are also other ways to get multiple cursors - but we’ll cover them later with keyboard shortcuts. Just hold cmd (Mac) or ctrl (Windows/Linux) and click in every place you want to type. This enables to you type many things at once, on multiple lines, anywhere in the document. One of the most impressive features of Atom is its multiple cursor support. It’s worth having a look through all the menu options - as you might spot something you never knew was there! Multiple Cursors There are options you can enable, features the IDE has, and menu settings you never knew existed. The first stop is some general Atom tips. Note: Although this post is for Atom users, a lot of these tips and shortcuts also work in Sublime Text. I’m hoping that, by the time you’ve finished, you’ll have learned at least one new trick you can’t live without. This post explores some tricks for improving your Atom workflow. Released in 2014, the “Sublime Text killer” has over 1.1 million monthly users, and it’s no surprise: easily expandable, customizable and hackable, the IDE has become the favorite of many developers.ĭespite its wide use, I often see competent developers taking the long way around to do things, or not knowing about its true potential. Atom is the code editor released and maintained by the GitHub team.
