Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellisense for Ruby, Ruby on Rails, Python

Are there any intellisense options for languages like Ruby, Ruby on Rails, Python, etc?

This could include an IDE, if necessary. I'm looking for something like Visual Studio's c# or Eclipse's java intellisense.

like image 644
Cody Avatar asked Feb 24 '12 15:02

Cody


2 Answers

Sure are!!

jetbrains has full line of ide's.

PyCharm and RubyMine

http://www.jetbrains.com/ruby/

like image 168
dm03514 Avatar answered Oct 05 '22 22:10

dm03514


Because of the dynamic nature of these languages, implementing things like auto-completion is quite difficult, and only works for some cases.

Examples for Python: pydev (eclipse plug-in), rope (this is a refactoring library that can easily be used into emacs),anyting with ipython (again, an emacs mode).

Anyways, don't expect them to be as powerful as the tools you have for Java or C#.

Rope for example, does a bit of type inference to figure out parameter types in order to give you completion suggestions. This might take an awfully long amount of time for big codebases, thus making the feature useless on such codebases.

anyting with ipython on the other hand actually spawns a background python process that imports your current module and any modules it references, and does runtime checking on entities (classes, functions, global variables...) in those modules. Because it doesn't do type inference, it can't give you any auto-completion suggestions for variables passed as parameters or local variables.

like image 28
Ioan Alexandru Cucu Avatar answered Oct 06 '22 00:10

Ioan Alexandru Cucu