+10

Calling file & goto line number with command prompt

Arief Widyananda 6 years ago • updated by Alvaro Azpeitia 2 weeks ago 3

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 our tools.

 I came here to request this very feature.

I also came here to request this feature

I just happen to find you can do that by using colon, like:


sublime_text.exe <filepath>:<linenumber>