ideally the editor would be pharo itself, but alas it not there yet, maybe one day. Great job. File Browser is actually quite good and your enhancement definitely makes it much more useful. On Sat, Sep 20, 2014 at 12:45 PM, phil@highoctane.be <phil@highoctane.be> wrote:
Le 20 sept. 2014 11:21, "Sven Van Caekenberghe" <sven@stfx.eu> a écrit :
On 19 Sep 2014, at 21:02, phil@highoctane.be wrote:
I had enough to switch between windows to work on external files.
So, here is ExternalTools
It adds some commands to the File Browser, allowing one to edit in the
$EDITOR (for me this is gvim) and another thing for opening the file externally through xdg-open (which kind of opens about anything).
Basically, one can extend this to whatever is needed.
The only thing is that FileServices initialize needs to be called when
a new service is added if you create your own.
This is Unix only and requires OSProcess to be loaded (use the
ConfigurationBrowser).
Great, does it work on Mac OS X ? I guess it should be possible with open and open -e.
Yes, that is the thing to do. As I do some Pharo on my Mac too, I'll look into that.
Gofer it url: 'http://www.smalltalkhub.com/mc/philippeback/HOExtras/main '; package: 'HighOctane-Tools'; load.
Screenshot in attach.
Doc here: https://gist.github.com/philippeback/8e8f8c6685bebf47f53f
Phil
<ExternalTools.png>