How can I make KOMODO IDE to know all ruby api class and method?


#1

Hi, every one, I’m a new bird to ruby.
How can I make KOMODO IDE to know all ruby api class and method?
I mean I want to let KOMODO IDE know all sketchup ruby api class and method, and then I can easily to write code.
For example, when I type model, and it would show all methods about model class, so I can choose one of them.
Is it possible?
Thank you guys!


#2

There are stubs for the SketchUp Ruby API that let IDE’s know about it. I don’t know Komodo specifics, but you can search the forum for RubyMine and NetBeans to see how people have integrated the API into the “intellisense” on those platforms.


#3

@daizhuo, The stubs are at the team’s GitHub repos:


#4

Thank you so much!


#5

Thank you so much! But I found that not all of class and method can be recognized, such as ‘sketchup’ and it’s method can not be found. Any suggestion?


#6

The Sketchup module is defined in the “sketchup.rb” stub file along with all it’s module functions.

I know nothing of Komodo. Sorry, perhaps ask in their forums ?


#7

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.