Atom Find and Replace

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 The and digi.

Atom - Find and Replace Demo
  1. Hit CTRL + F on your keyboard.
  2. 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 Replace All button.
    Atom - Find and Replace THe
  3. In the results here you can see all of the THe have been replaced with the. Yay, now to fix the next thing.
    Atom - Find and Replace THe Results
  4. Following the steps above we will search for digi in the top box, Digi on the bottom, then his the Replace All button.
    Atom - Find and Replace digi
  5. Here we can see the final results.
    Atom - Find and Replace Digi 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!

Leave a Comment