Le 21 sept. 2014 15:53, "Max Leske" <maxleske@gmail.com> a écrit :
But if you open a file in an external application youâll still be
switching windows, namely between pharo and the external application⦠What am I missing?
I guess you aren't dealing with css, js, json, html, jpg, png, sh files all day long in web apps. St code in a window and file browser in another inside pharo and external files in other windows on the second screen with web browser on the third. Phil
Cheers, Max
On 19.09.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).
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>