This guide will show you how to use the find and replace feature in Atom. This is extremely helpful when you need to make a lot of the same edits across your code base. This could be updating some functionality, or misspelled words in your text. Typically for me it is word misspelling, can’t you tell from all my blogs?!?
In the image below you can see some capitalization errors that I would like to fix. Specifically with
Fon your keyboard.
- In the search bar that shows up enter what you want to replace. In my case, I am looking for
THe. Then in the bottom, fill in what you want to replace it with. For me, that will be
the. When ready, hit the
- In the results here you can see all of the
THehave been replaced with
the. Yay, now to fix the next thing.
- Following the steps above we will search for
digiin the top box,
Digion the bottom, then his the
- Here we can see the final results.
As you can see from the examples above, it was really easy for me to clean up this batch of text using the find and replace. It might not always be this straight forward for you, but when you can target what you want to update, this is an amazing feature. Comment below with what you use find and replace for most!
What would you like to learn about Atom next? This application has so many features that we could write articles for days! Especially if we were to dive into the plugin! Let me know in the comments below.
If you would like to suggest a new article or video to be released, please reach out via the Contact Page. I look forward to hearing your feedback and providing content that is helpful for you!