Adobe Brackets and running Ruby/Python programs

cjones picture cjones · Feb 4, 2015 · Viewed 29.8k times · Source

so I have been trying out various text editors and IDE's recently to see what I like. I really like the web developer side of Brackets, which is what I think it was designed for, but was also messing around with some of the extensions for building and running Python/Ruby programs.

I have tried this, which honestly doesn't seem to do anything from what I can tell: https://github.com/vhornets/brackets-builder

And this, which adds a run button to Brackets for running the program: https://github.com/jadbox/brackets-integrated-development

The latter seems to work alright... until you make a small program that asks for user input then the program never runs, the program disappears, and then you have to restart Brackets to get it back. The code I have used is the following:

puts"Please enter your name: "
n = gets. chomp

Or

n = input("Please enter your name: ")

Any idea what might be causing this? I asked the developer, but haven't heard back. I'd probably use Brackets exclusively if it wasn't for that issue.

Tried Sublime Text 3 for a little while, but didn't like the lack of a Brackets like live preview plugin. However, it looks like it runs Python/Ruby (in addition to Java and C/C++) code without issue.

Answer

peterflynn picture peterflynn · Mar 17, 2015

You might want to try a generic extension for running command line tools, such as one of these: