Sublime Forum

Calling file & goto line number with command prompt

#1

Hi,

I’ve an request feature that can calling specific file & lines with command prompt / batch file.

So it will like this: sublime_text.exe -n <line_target> <file_name>

example: sublime_text.exe -n GameDesign.java 1459

Above command will open sublime_text, and then opening GameDesign.java, and goto line number 1459…

Is it possible to do that? Because we need this feature to integrate with my tools.

Thanks, :smile:

0 Likes

#2

Haha, I don’t know the feature already there! :blush:

Thanks a lot! :smiley:

0 Likes

#3

I think you can already do this:

$ subl my_file:178

http://www.sublimetext.com/docs/command-line

0 Likes