Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Lisa Weil
Lisa Weil
4,919 Points

Sublime files keep saving as Atom files?

Yo! Ok so I downloaded Atom text editor awhile ago because it was free but then eventually decided to purchase Sublime. I never use Atom anymore but whenever I save a file on Sublime it converts it to an Atom file. Kind of annoying. I want to get rid of Atom entirely but 1. Don't know how to do that and 2. Worried I will lose all of my files. What do you think is going on? Can't find the answer anywhere on the web.

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! Not to worry! Your files shouldn't be gone unless you just outright delete them. The problem here is that the files are still associated with Atom instead of Sublime. To assist you in fixing this, it will be helpful to know which operating system you're running. I look forward to your response! :sparkles:

Lisa Weil
Lisa Weil
4,919 Points

Thanks Jennifer! I'm using MAC OS X El Capitan. Hope u see this - wasn't able to comment directly back. @JenniferNordell

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

HI again! It's been a while since I've worked with El Capitan so bear with me. Try the following:

  • Right click or CTRL + click the file,
  • Click Get info
  • Go to open with
  • Select the program (Sublime)
  • Hit change all

This should tell the operating system that you want to open these types of files with this program (Sublime). You may have been working with .html, .js, or .css files (or even some others). Keep in mind that these are really just plain text files. They simply have the extensions to denote what they are. It's these extensions that the operating system looks at to know what program to open them in. So, in reality, they aren't Atom files or Sublime files... they're just files :smiley:

That being said, you will likely have to do this for any file with a different extension. For example, if you start this with a .html file, then when you see a .css file, you will have to do the same thing. But once you do it for each file extension, it should always use Sublime to open those.

Let me know if this helps or if you experience problems!

Lisa Weil
Lisa Weil
4,919 Points

Okay awesome! I think it worked. Thanks so much for explaining everything to me. U rock