Sublime Forum

Open project and specific in-project file from Linux terminal

#1

I’m noobing my way through launching things from the Linux command line and am trying to structure a command to open an ST project with a specific existing file within that project open. So, if projectA contains a file called fileD, I want a command that will open projectA with fileD open and ready to go. I couldn’t find the answer on the ST command line interface web page. Any help appreciated!

0 Likes

#2

Just one bump here, in case my initial query wasn’t clear. On this ST webpage, there are instrux for launching ST in various ways from the Linux command line. I’m looking for, but haven’t found, a way to launch a project with a specific file in that project open. It may not be possible, I don’t know. Thanks for any thoughts.

0 Likes

#3

subl x.sublime-project y.txt works for me.

0 Likes

#4

That does it, thanks much.

0 Likes