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>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> 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>
>> 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>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> 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> 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> 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
>>>
>>> ~~ Please use my website's contact form on www.genecrucean.com for any
>>> personal emails. Thanks. I may not get them at this address. ~~
>>>
>>
>

Reply via email to