github-open-in-sublime icon indicating copy to clipboard operation
github-open-in-sublime copied to clipboard

Guides on adding new editor scheme

Open twolfson opened this issue 10 years ago • 2 comments

I saw the notes in your README about Linux and Windows support. Phabricator covers implementing editor:// quite well. These should work for Windows and Linux setup.

https://secure.phabricator.com/book/phabricator/article/external_editor/

http://pla.nette.org/en/how-open-files-in-ide-from-debugger

On a side note, the subl:// scheme doesn't necessarily need to be Sublime Text specific. This could be generic (e.g. editor://) and work with any editor.

twolfson avatar Feb 26 '15 05:02 twolfson

@twolfson,

Excelent advice! The editor scheme sounds interesting. I don't know though if all editors would process the line number parameter correctly. Have you tried it with a line number parameter in Sublime?

tgirardi avatar Feb 26 '15 11:02 tgirardi

I haven't either. However, based on the Phab doc, at least Textmate supports the line parameter as well.

twolfson avatar Feb 26 '15 17:02 twolfson