azawawi / farabi6

Experimental in-browser Perl 6 Editor
Artistic License 2.0
14 stars 12 forks source link

[command-line] Open file and goto line #29

Open azawawi opened 9 years ago

azawawi commented 9 years ago

It would be cool to have the following scenario:

farabi6 <filename><colon ":"><line-number>
# e.g.
farabi6 lib/Farabi6.pm6:115

This code will open Farabi6.pm6 and then go to the line #115

timo commented 9 years ago

it could be interesting to also have a "farabi6-remote" binary (or built-in functionality to farabi6 itself) to open a given file in an existing "session".

azawawi commented 9 years ago

Could you explain your idea a bit further?

timo commented 9 years ago

the idea is to right-click a file in my file manager and choose "open in farabi" or type "farabi6-remote foobar.p6" on the command-line and farabi would open an editor in my existing browser tab that has farabi in it

azawawi commented 9 years ago

Then this is a separate feature. This is desktop shell integration.