Open up a file in directory from Terminal


#1

Whenever I type atom /code/progcode/JavaFile.java or whatever–it just opens up atom with a new file called JavaFile.java in the respective directory. However, I already have the file “JavaFile.java” created.
If I cd /code/progcode/ into the folder, then type atom JavaFile.java, it opens the file for editing. I can’t seem to open files in directories unless I am already in the correct directory.

I’m running atom on Linux Mint 17–I compiled it myself.


#2

There has been a recent new issue / branch that might affect this behavior:
Have a look at this:

It may not directly but a similar question was asked there:

Might be best to wait until this is officially included in the next release, but if you want you can clone and build the branch before it’s merged.


#3

Awesome! I’ll wait until it’s included. I appreciate the quick reply!