Also something else to look at: http://www.dannywynne.com/blog/?p=66
Justin and Danny have PyQt and Maya working in Sublime. Would be amazing if someone that actually has spare time could dig into this technique a bit. On Fri, Jan 4, 2013 at 3:15 AM, Andy Nicholas <a...@andynicholas.com> wrote: > You guys should check this out. It might give you a good start... > > > http://xsisupport.com/2012/10/06/saturday-snippet-getting-a-list-of-properties-and-methods-with-python-introspection/ > > > > On 04 January 2013 at 00:54 jo benayoun <jobenay...@gmail.com> wrote: > > > > The Softimage API (object model) is not visible because its all about > dynamic > > dispatching at runtime. This is like thinking your editor will be > natively > > enough smart to detect attributes you would add dynamically when > overriding > > the __getattr__ method of a class. > > Happily for us the dispatching is cached somewhere and even > introspectable by > > using the pythoncom/pywin32 API. With a little effort and sticking with > > python, one would have no problem in developing a plugin for this text > editor > > specially if sublime API is as convenient as it is claimed. The first > step is > > to learn how to use correctly the pywin32 package and what it does under > the > > hood to fully understand what the 'ultimate' solution could be. > > --jo > > > > > > > > > > > > 2013/1/3 César Sáez <cesa...@gmail.com <mailto:cesa...@gmail.com> > > > > > You're right, sublime/any-other-editor can't see that softimage > > > > variables. > > > If you're using 'Application' (or any 'implicit variable' like > that) your > > > script will fail on import, sipyutils module (or your own version of > it) is > > > the way to go IMHO. > > > > > > > > > On Thu, Jan 3, 2013 at 9:18 PM, Alan Fregtman < > alan.fregt...@gmail.com > > > <mailto:alan.fregt...@gmail.com> > wrote: > > > > > > But it won't be able to find global XSI objects just like > that, > > > > > > right? "Application" is defined by the axscript module, but > I > > > > > > feel like SI internally dispatches it in a way I don't think > > > > > > Sublime could "see" it. > > > > > > > > > > > > > > > > On Thu, Jan 3, 2013 at 1:40 PM, César Sáez <cesa...@gmail.com > > > > <mailto:cesa...@gmail.com> > wrote: > > > > > > > > You have to add your environment paths to the 'env' > tag in > > > > > > > > your python.sublime-build config file, this way if > you have > > > > > > > > a shortcuts module it will instrospect it. > > > > > El 03/01/2013 17:34, "Gene Crucean" < > emailgeneonthel...@gmail.com > > > > > <mailto:emailgeneonthel...@gmail.com> > escribió: > > > > > > > > > > Hehe I was trying to figure out the same thing. > > > > > > > > > > > > On Thu, Jan 3, 2013 at 8:09 AM, Alan Fregtman > > > > > > <alan.fregt...@gmail.com <mailto:alan.fregt...@gmail.com> > > wrote: > > > > > > > > > > > > I use SublimeCodeIntel too but it's not > aware > > > > > > > > > > > > of XSI globals like Application, XSIUtils > and > > > > > > > > > > > > so on, so it won't introspect them. > > > > > > > How would one hack it to be more aware of such? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Jan 2, 2013 at 9:19 PM, César Sáez > > > > > > > <cesa...@gmail.com <mailto:cesa...@gmail.com> > wrote: > > > > > > > > > > > > > > SublimeCodeIntel does a great job > > > > > > > > > > > > > > autocompleting python modules and > import > > > > > > > > > > > > > > statements (via introspoction, > works with > > > > > > > > > > > > > > your own modules too), it's not > softimage > > > > > > > > > > > > > > specific but helps alot. > > > > > > > > > > > > > > > > Another cool package is the SublimeLinter, it > > > > > > > > highlight potential errors in your code (IDE-like). I have > no idea > > > > > > > > how far I was from PEP8 until I start using it, now my code > is way > > > > > > > > cleaner and easy to the eyes :) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Thu, Jan 3, 2013 at 12:22 AM, Raffaele > Fragapane > > > > > > > > <raffsxsil...@googlemail.com <mailto: > raffsxsil...@googlemail.com> > > > > > > > > > wrote: > > > > > > > > > > > > > > > > You actually can introspect > > > > > > > > > > > > > > > > recursively almost the > entirety of > > > > > > > > > > > > > > > > the scripting API and > generate a > > > > > > > > > > > > > > > > dummy set of libraries from > there. > > > > > > > > > > > > > > > > That will offer > autocompletion in > > > > > > > > > > > > > > > > most IDEs. > > > > > > > > > > > > > > > > > > We've had that running here in AL for a > while > > > > > > > > > thanks to Aloys' efforts a long time ago and it's worked > without > > > > > > > > > a hitch for years. > > > > > > > > > > > > > > > > > > On Thu, Jan 3, 2013 at 10:18 AM, Gene > Crucean > > > > > > > > > <emailgeneonthel...@gmail.com > > > > > > > > > <mailto:emailgeneonthel...@gmail.com> > wrote: > > > > > > > > > > > > > > > > > > It would be completely > > > > > > > > > > > > > > > > > > bitchin if it > autocompleted > > > > > > > > > > > > > > > > > > the entire sdk... and > not > > > > > > > > > > > > > > > > > > just simple commonly > used > > > > > > > > > > > > > > > > > > snippets. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Gene Crucean - Emmy winning - Oscar nominated VFX > Supervisor > > > > > > / iOS-OSX Developer / Filmmaker / Photographer > > > > > > ** Freelance for hire ** > > > > > > www.genecrucean.com <http://www.genecrucean.com> > > > > > > > > > > > > ~~ Please use my website's contact form on > > > > > > www.genecrucean.com <http://www.genecrucean.com/> for any > personal > > > > > > emails. Thanks. I may not get them at this address. ~~ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- Gene Crucean - Emmy winning - Oscar nominated VFX Supervisor / iOS-OSX Developer / Filmmaker / Photographer ** *Freelance for hire* ** www.genecrucean.com ~~ Please use my website's contact form on www.genecrucean.com for any personal emails. Thanks. I may not get them at this address. ~~