I have added some entries in my Default.sublime-commands
file to open files, e.g.
{ "caption": "File Open: File Name",
"command": "open_file",
"args": {"file": "/path/to/file.ext"} },
They work fine but I’d like one of them to open at a specific line number and can’t find the right notation.
This does NOT open the file at line 123, instead it opens the file path: /path/to/file.ext:123
.
{ "caption": "File Open: File Name",
"command": "open_file",
"args": {"file": "/path/to/file.ext:123"} },
Any ideas? Or should I write a plugin to do it?