Here a simple maybe already asked : what IDE are using to code in ruby/gosu ?
I'm looking for good (completion, syntaxe correction, etc.), that support opening window (and so Gosu), and UTF-8 caracter (ÀÁÂÄ, ç, etc.).
Any idea ?
To be perfect, a free one is better.
EDIT : Finally, I'm using Eclipse (with some plugins) : iso-8859-1 support, completion, realtime console. Just what I need.
I have yet to find a full IDE that doesn't just get in my way.TextMate
(Mac) and Notepad++
(Windows) are both great free code editors (not full IDEs). They do some completion and syntax highlighting, but they don't do as much as Aptana, Visual Studio or Eclipse. You can write your own completions and macros for TextMate, though.
Not exactly what you asked for, but I hope it helps.
Yes, it does, not completly. In fact, I'd like to find a full IDE. Aptana was pretty good, but, can't encode my french accented characters. Annoying.
For now, I'll try easyeclipse, with a few plugin. But, without radrail, who is the one preventing me to use UTF-8 characters.
If anyone as a better one (among the free one), please tell me.
I have used Rubymine extensively, which is excellent, but it is only free for non-commercial, open-source work (and you have to formally apply to get that license). At the moment I'm mainly using Sublime Text though, to write Ruby and Python (free if you don't mind getting an occasional popup asking you to buy it).
It's seems pretty hard to get the open-source licence. Haven't tried Rubymine, but if it was possible to get the licence (knowing that I code just for my own pleasure, open-source of course), well I coulde try.
Why did you move from Rubymine ?
Is Sublime Text can run program to test them ?
I did have a free license to Rubymine, but it lapsed and I haven't had any luck (or response) in trying to renew it. I'm also doing work in Python as well as Ruby, so I might as well use the same system for both.
ST does run code (Ctrl-B) with its own output window, though I generally just use a console to run the code and/or spec.
I have to say I'll probably buy Rubymine once I get a bit more contracting under my belt. It was definitely a lot better than Sublime, because it was very Ruby-friendly (e.g. integrating with git, github, rake, etc). Thing is I'm mainly working on quite small Ruby projects, so I don't really need it at the moment.
Spooner, do you know of a way to get Sublime text to correctly run a Gosu game from it's build system? It looks like it runs from the console output, but the game window never opens. I was trying arcadia out because it correctly runs gosu games, but I like Sublime a lot more.
No idea, sorry. I've never actually tried that; I always just have a console window open to run builds.
Does adding this to your project file not work?
This is the only way I ever launch ruby files through Sublime, and it works just fine for me.
Using the real project directory, of course :P
This also assumes that the file you want to run is called "main.rb", not necessarily the file you're currently in.
In case anyone wants to toy around with this...
I have written a generator for TextMate that takes Gosu's yard docs and outputs a bundle with tab completion:
.draw_rot(x, y, z, angle, center_x, center_y, ...)
It probably only works for Gosu because the interface is tiny, but can't many editors import .tmbundle extensions nowadays? Should I build and upload a .tmbundle?https://github.com/jlnr/gosu/blob/master/rake/tmbundle.rb
If you made a TextMate bundle part of the official Gosu distribution, I would be so happy.
+1 for tmbundle !
That would be greate.
How does it work (+bundle in general) ?
How do I "use" it ?
(Guessing I've got to require the rb file first ? Could some IDE directly use it ?)
See the post below - it is not nearly a replacement for an IDE though.
Since the official distribution is a ruby gem, I have instead linked it from the front page: http://www.libgosu.org/RubyGosu.tmbundle.zip
I am still planning to turn this into a general converter from yard output to TextMate bundle…one day :)
TextMate 2 is complaining about that bundle.
The bundle “RubyGosu” could not be installed because it is malformed.
The bundle lacks mandatory keys in its property list file.
but it doesn't actually say which keys are missing. Hrmph.
Thanks, I'll take a look. I've only used it in TextMate 1 so far.
Not an IDE, but Geany is a fantastic replacement for Notepad++ or GEdit.
I use it for all of the programming.
Sublime Text 2 is all I need.
In fact Geany could be considered a very basic IDE. Does the most things you could ever need with scripting languages.
I found out about a great editor recently, called Komodo Edit. Takes a while to load, but it's beautiful, highly configurable and intuitive yet powerful.
Run command you'll need is
, you can bind it to a hotkey easily.
Here, have a screenshot:
Thanks, I'll try it one day (currently on others stuff to deal with).
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill