Atom predetermined text


Hello, I was wondering if there is a way to edit things such as when I type " it gives me “”. And when typing some things such as if statements I want it to add the semi-colon I will need in the body of the if statement when I use the predetermined text. I am coding in php, not sure if that makes a difference for this or not.


You’re looking for the snippets package that is built-in to Atom. You can find the snippets already supported by PHP in the Settings View on the language-php page:

You can learn more about snippets in the Atom Flight Manual.


Thank you leedohm, can we edit the packages or are they are how they are?


The documentation @leedohm linked to explains how you can create your own snippets.