I desides to learn Ruby language to write simple scripts for SketchUp(simple 3D modeling program).
http://www.sketchup.com/intl/en/developer/docs/methods http://www.sketchup.com/intl/en/developer/docs/classes It is list of all methods and class using in SU API. How i can create .sublime-completions file for this list?
I tride this. Some words of list top. I put this file into new folder in ST plagins folder.
- Code: Select all
{
"scope": "source.ruby",
"completions":
[
"Animation",
"AppObserver",
"ArcCurve",
"ArgumentError",
"Array",
"AttributeDictionaries",
"AttributeDictionary"
]
}
But I want to include this autocomlete not always when i coding in Ruby. I want to use they like snippet and autocomplete for Ruby on Rils. They are include using "Open all with current extension as ..."
What way to choose for sollving my problem?
Maybe later I create snippets for some methods. Thats why this file is in new folder.