Home Download Buy Blog Forum Support

Autocomplete for SketchUp API

Autocomplete for SketchUp API

Postby yorik1984 on Sun Mar 10, 2013 8:23 pm

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).
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.
yorik1984
 
Posts: 2
Joined: Sun Mar 10, 2013 7:46 pm
Location: Kiev, Ukraine

Re: Autocomplete for SketchUp API

Postby yorik1984 on Thu Mar 14, 2013 6:15 pm

Can anyone help?
yorik1984
 
Posts: 2
Joined: Sun Mar 10, 2013 7:46 pm
Location: Kiev, Ukraine


Return to Plugin Development

Who is online

Users browsing this forum: Majestic-12 [Bot] and 7 guests