Le 24/11/2014 21:10, kilon alios a écrit :
Well I would love to look at your code because I was imagining doing something similar , no reason to reinvent the wheel, of course assuming you dont mind sharing your code. Especially uniting the tools under one roof and extending the shortcuts is a big win for me.
Well, the code is on github (http://github.com/ThierryGoubier/AltBrowser.git).
Some of the stuff I'm fairly proud of. It has a very simple command framework, where each command can set a shortcut / a menu entry / be active or non active, be selection dependent or not. It overrides the default shortcuts (including the text ones), so you can reroute the keyboard in almost any way you like. Adding a new command is, what, 5 one liners methods (and you have access to smart suggestions of course, since it's where it started).
It also has all the code for tracking code changes, well, the necessary IDE stuff ;) It also has some fairly good drag and drop code.
Its kinda funny I have considered several times to quit Pharo to go back to coding with python. More libraries , many great libraries, tons of documentation, even real time tutorials like codeacademy etc etc . Then I ask "sound great what IDE should I use that easy to modify on the fly and has a big enough community to help out that are friendly to newcomers..... you know... Pharo is not that bad :D " The truth is that for dynamic language the IDEs are around the same size in term on people working on it as is Pharo , pyDev for example which is the eclipse plugin for python support has 1 person and few other commiters, emacs python is pretty much abandonware and some other IDEs are again small teams, talking about open source. And I dont even go in the subject how easy it is to modify those IDEs. Pharo is the first IDE / enviroment that I find it enjoyable to hack. I totally agree that creating code that fits like a glove for your needs is ideal. But then open source usually starts like this, someone needed a tool, another tool existed but it did not get the job done the way the author wanted , or the code was too hard to extend , so he sit downs and makes some stuff and then says "lets open source it some people may find it useful as much as I do.
I agree with that. You offer as open source, sometimes all of it, sometimes pieces of it (or ideas, or a motivation), sometimes none... But when it also amount to making it cool for yourself, then its really great.
So yes I do complain for time to time about Pharo but only because I really love Pharo , I think its awesome and I love to see what people do with it because I find that many ideas I have about the ideal IDE are not as special as I think and many people end up sharing the same ideas with me. This only makes me happier even more when I find a new idea I could have never figure out by myself : )
Then enjoy yourself :) Thierry
On Mon, Nov 24, 2014 at 9:44 PM, Thierry Goubier <[email protected] <mailto:[email protected]>> wrote: Le 24/11/2014 19:51, kilon alios a écrit : >> I'm certainly a good example of that. My Pharo is mine! (and I have an IDE I like which is truly mine :P) And I can only encourage you to do the same ;) what you mean ? you have customised pharo for your needs ? care to share , I am very interested :) Well, yes, I did another system browser because I wanted to try a few things. And it kind of grow on you when you do that, so now its mine :) especially if, like me, you're not too successfull in promoting it ;). It has grown to be a very significant part of what I use, because it replace many parts of the Pharo GUI now: the finder, Nautilus, the message/method list. And I've learned a lot doing so, like how to be reasonable: I need a working system, not one which will be extraordinary 10 years down the road. I need something a guy can maintain and keep in sync with Pharo easily: done, it's only 4k lines (Nautilus is > 12k lines)... As it is a just for me, it's a no compromise thing: just what suits me and my workflow in Pharo and outside Pharo. I would like to have emacs-shortcuts for all functions? Easy mate, could do! I want different menus? Check! I want a state of the art keyboard selection in a tree? Check! I want that browsers windows opens faster? Check! I want to have windows smaller to better fit my small screen? Check! I want to keep the same UI when searching / drilling down? Check! I want to be happy with the GUI I use? Check! All this of course is building on Pharo strengths: an easy, open platform where building a new IDE is fairly simple (not that well documented, however). But there is nowhere else you could imagine doing that, apart from the Pharo and Smalltalk communities :) Thierry
