Sublime Forum

Autocomplete for SketchUp API

#1

Hello all! A am new user of this great text editor. But I have some problem :cry:
I desides to learn Ruby language to write simple scripts for SketchUp(simple 3D modeling program).
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]{
“scope”: “source.ruby”,
“completions”:

	"Animation",
	"AppObserver",
	"ArcCurve",
	"ArgumentError",
	"Array",
	"AttributeDictionaries",
	"AttributeDictionary"
]

}[/code]
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.

0 Likes

#2

Can anyone help?

0 Likes