Re: Scripting Development with an external IDE

2012-06-06 Thread Michal Doniec
Unit testing please, as well.

On Thu, May 31, 2012 at 6:28 PM, jo benayoun jobenay...@gmail.com wrote:
 Sublime has this shiny side I don't like and do definitively less than an
 emacs or cie, its the perfect tool to develop snippets and little tools tho
 ...
 What a good IDE should have:
   - a good code editor
   - an awesome project manager
   - an amazing debugger
   - a without-effort integrated build environment
 IMHO, Sublime fails on the last 3 points.
 When is coming the time to develop serious stuff and packages in python, no
 doubts, Eclipse is the only valid choice to me !
 I guess, the most important is just you feel comfortable with your choice
 and super-productive ... I find often myself more confortable to write in
 the notepad app than in a code editor ...

 - jo







 2012/5/31 Dan Yargici danyarg...@gmail.com

 Thanks Alan, I'm sold!

 I was using Komodo, however I just do the odd script here and there so
 this suits my needs better I think.  It's great that it's available on Linux
 also.


 On Thu, May 31, 2012 at 2:34 AM, Alan Fregtman alan.fregt...@gmail.com
 wrote:

 Screencast.com cut me off for eating the free monthly limit of 2GB, lol.

 Just put the video on my blog thanks to
 Vimeo: http://darkvertex.com/wp/2012/05/30/i-love-sublimetext2/


 On Tue, May 29, 2012 at 9:58 PM, Alan Fregtman alan.fregt...@gmail.com
 wrote:

 Recorded a little video running down through some Sublime
 features:  http://www.screencast.com/t/0KEX9gW0

 My apologies for uhms, ehhs and ocassional ranting. This is what happens
 when you record straight ahead. :p


 By the way, while it is a commercial product, you can try it out for as
 long as you wish with all features; it just nags once every so many file
 saves. Go try! http://www.sublimetext.com/2


 On Tue, May 29, 2012 at 12:04 PM, Alan Fregtman
 alan.fregt...@gmail.com wrote:

 It's good for everyone, projects big or small. The multi-select tricks
 in particular are like pure witchcraft.

 I'll make a video capture showing some of the cool stuff later when I
 get home.

 On Tue, May 29, 2012 at 11:56 AM, Gustavo Eggert Boehs
 gustav...@gmail.com wrote:

 what is so good about it?
 will it help me on my very narrow PY developments, or is it only good
 for thousands of lines type of work?









-- 
--
Michal
http://uk.linkedin.com/in/mdoniec



Re: Scripting Development with an external IDE

2012-06-04 Thread Tim Crowson
On a related note, this Kickstarter project looks interesting: Light 
Table http://www.kickstarter.com/projects/ibdknox/light-table
I especially like the section at the end, where it shows related 
functions...


-Tim C.



On 5/31/2012 12:28 PM, jo benayoun wrote:
Sublime has this shiny side I don't like and do definitively less than 
an emacs or cie, its the perfect tool to develop snippets and little 
tools tho ...

What a good IDE should have:
  - a good code editor
  - an awesome project manager
  - an amazing debugger
  - a without-effort integrated build environment
IMHO, Sublime fails on the last 3 points.
When is coming the time to develop serious stuff and packages in 
python, no doubts, Eclipse is the only valid choice to me !
I guess, the most important is just you feel comfortable with your 
choice and super-productive ... I find often myself more confortable 
to write in the notepad app than in a code editor ...


- jo






2012/5/31 Dan Yargici danyarg...@gmail.com mailto:danyarg...@gmail.com

Thanks Alan, I'm sold!

I was using Komodo, however I just do the odd script here and
there so this suits my needs better I think.  It's great that it's
available on Linux also.


On Thu, May 31, 2012 at 2:34 AM, Alan Fregtman
alan.fregt...@gmail.com mailto:alan.fregt...@gmail.com wrote:

Screencast.com cut me off for eating the free monthly limit of
2GB, lol.

Just put the video on my blog thanks to Vimeo:
http://darkvertex.com/wp/2012/05/30/i-love-sublimetext2/


On Tue, May 29, 2012 at 9:58 PM, Alan Fregtman
alan.fregt...@gmail.com mailto:alan.fregt...@gmail.com wrote:

Recorded a little video running down through some Sublime
features: http://www.screencast.com/t/0KEX9gW0

My apologies for uhms, ehhs and ocassional ranting. This
is what happens when you record straight ahead. :p


By the way, while it is a commercial product, you can try
it out for as long as you wish with all features; it just
nags once every so many file saves. Go try!
http://www.sublimetext.com/2


On Tue, May 29, 2012 at 12:04 PM, Alan Fregtman
alan.fregt...@gmail.com mailto:alan.fregt...@gmail.com
wrote:

It's good for everyone, projects big or small. The
multi-select tricks in particular are like pure
witchcraft.

I'll make a video capture showing some of the cool
stuff later when I get home.

On Tue, May 29, 2012 at 11:56 AM, Gustavo Eggert Boehs
gustav...@gmail.com mailto:gustav...@gmail.com wrote:

what is so good about it?
will it help me on my very narrow PY developments,
or is it only good for thousands of lines type of
work?








--



Re: Scripting Development with an external IDE

2012-05-31 Thread alok.gandhi
Awesome Alan, that is a very nice presentation, and btw this '~' this is called 
tilde.

 -Original Message-
 From: Alan Fregtman alan.fregt...@gmail.com
 Sent 5/29/2012 9:58:17 PM
 To: softimage@listproc.autodesk.com
 Subject: Re: Scripting Development with an external IDE

 Recorded a little video running down through some Sublime 
features:  http://www.screencast.com/t/0KEX9gW0  

My apologies for uhms, ehhs and ocassional ranting. This is what happens when 
you record straight ahead. :p 

By the way, while it is a commercial product, you can try it out for as long as 
you wish with all features; it just nags once every so many file saves. Go 
try! http://www.sublimetext.com/2 

On Tue, May 29, 2012 at 12:04 PM, Alan Fregtman alan.fregt...@gmail.com wrote:

It's good for everyone, projects big or small. The multi-select tricks in 
particular are like pure witchcraft. 

I'll make a video capture showing some of the cool stuff later when I get home. 

On Tue, May 29, 2012 at 11:56 AM, Gustavo Eggert Boehs gustav...@gmail.com 
wrote:
  what is so good about it? 

will it help me on my very narrow PY developments, or is it only good for 
thousands of lines type of work?

Re: Scripting Development with an external IDE

2012-05-31 Thread Eric Thivierge
See what happens when you force me to use eclipse? It feels clunky and
bloated. The ones that left were weak anyway...  only the strong survive!


Eric Thivierge
http://www.ethivierge.com


On Wed, May 30, 2012 at 9:40 AM, Raffaele Fragapane 
raffsxsil...@googlemail.com wrote:

 Please don't get Eric started on Sublime VS Eclipse + pyDev. We had people
 leaving the project and the company in tears for asking about text editors
 in his vicinity.


Re: Scripting Development with an external IDE

2012-05-31 Thread Alan Fregtman
I know what you mean and I'm afraid not. Nobody's made one yet.

Some handy tips though:
* ctrl+r to cycle through functions in the current file
* if you install SublimeCodeIntel, alt+click on a function and it should
find the relevant file and pop it open to the line with that function
declaration.
* ctrl+p to cycle through open files

Of course like everything that pops up the command panel, autocomplete is
built-in and works great.


On Tue, May 29, 2012 at 1:43 PM, Guillaume Laforge 
guillaume.laforge...@gmail.com wrote:

 By the way, is there any package in Sublime to list all the class/methods
 in an explorer a la Eclipse Outline view ?


 On Tue, May 29, 2012 at 1:30 PM, Xavier Lapointe xl.mailingl...@gmail.com
  wrote:

 Sweet (: Make sure to install Package Control (the link Alan sent), they
 are all in there.

 2012/5/29 Guillaume Laforge guillaume.laforge...@gmail.com

 Thanks for the link Xavier :), I will give it a try !


 On Tue, May 29, 2012 at 12:30 PM, Xavier Lapointe 
 xl.mailingl...@gmail.com wrote:

 https://github.com/Kronuz/SublimeCodeIntel does this for you, but
 maybe it's not as good as PyDev ... not sure.

 But yes, the Python Debugger is a missing point. There's one I've seen
 in the Package Control called SublimeXDebug
 https://github.com/Kindari/SublimeXdebug, but it's probably not as
 good as PyDev or Komodo (i remember we could visually inspect the Python
 stack).

 This guy has a good amount of package that you can install to enhance
 the Sublime: https://github.com/Kronuz

 Cheers




 2012/5/29 Guillaume Laforge guillaume.laforge...@gmail.com

 Did you find any good python debugger package for Sublime ? For me it
 is the missing point, but maybe I didn't search correctly ?
 Also the auto-completion is cool but doesn't search for imported
 modules and doesn't filter methods on instantiated objects:-/
 All those stuffs are standard in Eclipse/PyDev.


 On Tue, May 29, 2012 at 12:06 PM, Alok Gandhi 
 alok.gandhi2...@gmail.com wrote:

 Sublime has tons of autocompletion feature, for example in one stroke
 you generate code for a class with all the necessary function like
 __init__. You can do multiline edit with just one change. If you have a
 variable 'foo' in used in multilines of your code, you can change it at 
 one
 place and all the other occurrences gets updated. There is a whole gamut 
 of
 color coding with infinite color combinations. You can define your own
 color coding. There are just few of the features. I can not do much 
 justice
 to it as I personally do not use it a lot, but I always hear great things
 about it. May be others can fill you on in this. But remember that 
 sublime
 is only a text editor, not an IDE.





 --
 Xavier





 --
 Xavier





Re: Scripting Development with an external IDE

2012-05-31 Thread Dan Yargici
Thanks Alan, I'm sold!

I was using Komodo, however I just do the odd script here and there so this
suits my needs better I think.  It's great that it's available on Linux
also.


On Thu, May 31, 2012 at 2:34 AM, Alan Fregtman alan.fregt...@gmail.comwrote:

 Screencast.com cut me off for eating the free monthly limit of 2GB, lol.

 Just put the video on my blog thanks to Vimeo:
 http://darkvertex.com/wp/2012/05/30/i-love-sublimetext2/


 On Tue, May 29, 2012 at 9:58 PM, Alan Fregtman alan.fregt...@gmail.comwrote:

 Recorded a little video running down through some Sublime features:
 http://www.screencast.com/t/0KEX9gW0

 My apologies for uhms, ehhs and ocassional ranting. This is what happens
 when you record straight ahead. :p


 By the way, while it is a commercial product, you can try it out for as
 long as you wish with all features; it just nags once every so many file
 saves. Go try! http://www.sublimetext.com/2


 On Tue, May 29, 2012 at 12:04 PM, Alan Fregtman 
 alan.fregt...@gmail.comwrote:

 It's good for everyone, projects big or small. The multi-select tricks
 in particular are like pure witchcraft.

 I'll make a video capture showing some of the cool stuff later when I
 get home.

 On Tue, May 29, 2012 at 11:56 AM, Gustavo Eggert Boehs 
 gustav...@gmail.com wrote:

 what is so good about it?
 will it help me on my very narrow PY developments, or is it only good
 for thousands of lines type of work?







RE: Scripting Development with an external IDE

2012-05-31 Thread Guillaume Laforge
Thanks Alan, I didn't know the ctrl+r shortcut, very handy!

I really like Sublime, but you know, when some needed features are missing you 
can't use it all the time and you don't practice muscle memories for it :).
I played with Sublime a couple of days last month but couldn't find a good 
integrated C++ debugger like in Eclipse or Visual Studio.
I tried SublimeGDB but it was not looking like a finished package.

But for any Python work I should give Sublime a new chance! (and yes Eclipse is 
ugly and slow compared to Sublime ;) )

Cheers,

Guillaume




From: softimage-boun...@listproc.autodesk.com 
[softimage-boun...@listproc.autodesk.com] on behalf of Alan Fregtman 
[alan.fregt...@gmail.com]
Sent: May 31, 2012 7:28 AM
To: softimage@listproc.autodesk.com
Subject: Re: Scripting Development with an external IDE

I know what you mean and I'm afraid not. Nobody's made one yet.

Some handy tips though:
* ctrl+r to cycle through functions in the current file
* if you install SublimeCodeIntel, alt+click on a function and it should find 
the relevant file and pop it open to the line with that function declaration.
* ctrl+p to cycle through open files

Of course like everything that pops up the command panel, autocomplete is 
built-in and works great.


On Tue, May 29, 2012 at 1:43 PM, Guillaume Laforge 
guillaume.laforge...@gmail.commailto:guillaume.laforge...@gmail.com wrote:
By the way, is there any package in Sublime to list all the class/methods in an 
explorer a la Eclipse Outline view ?


On Tue, May 29, 2012 at 1:30 PM, Xavier Lapointe 
xl.mailingl...@gmail.commailto:xl.mailingl...@gmail.com wrote:
Sweet (: Make sure to install Package Control (the link Alan sent), they are 
all in there.

2012/5/29 Guillaume Laforge 
guillaume.laforge...@gmail.commailto:guillaume.laforge...@gmail.com
Thanks for the link Xavier :), I will give it a try !


On Tue, May 29, 2012 at 12:30 PM, Xavier Lapointe 
xl.mailingl...@gmail.commailto:xl.mailingl...@gmail.com wrote:
https://github.com/Kronuz/SublimeCodeIntel does this for you, but maybe it's 
not as good as PyDev ... not sure.

But yes, the Python Debugger is a missing point. There's one I've seen in the 
Package Control called SublimeXDebug https://github.com/Kindari/SublimeXdebug, 
but it's probably not as good as PyDev or Komodo (i remember we could visually 
inspect the Python stack).

This guy has a good amount of package that you can install to enhance the 
Sublime: https://github.com/Kronuz

Cheers




2012/5/29 Guillaume Laforge 
guillaume.laforge...@gmail.commailto:guillaume.laforge...@gmail.com
Did you find any good python debugger package for Sublime ? For me it is the 
missing point, but maybe I didn't search correctly ?
Also the auto-completion is cool but doesn't search for imported modules and 
doesn't filter methods on instantiated objects:-/
All those stuffs are standard in Eclipse/PyDev.


On Tue, May 29, 2012 at 12:06 PM, Alok Gandhi 
alok.gandhi2...@gmail.commailto:alok.gandhi2...@gmail.com wrote:
Sublime has tons of autocompletion feature, for example in one stroke you 
generate code for a class with all the necessary function like __init__. You 
can do multiline edit with just one change. If you have a variable 'foo' in 
used in multilines of your code, you can change it at one place and all the 
other occurrences gets updated. There is a whole gamut of color coding with 
infinite color combinations. You can define your own color coding. There are 
just few of the features. I can not do much justice to it as I personally do 
not use it a lot, but I always hear great things about it. May be others can 
fill you on in this. But remember that sublime is only a text editor, not an 
IDE.




--
Xavier




--
Xavier


attachment: winmail.dat

Re: Scripting Development with an external IDE

2012-05-31 Thread jo benayoun
Sublime has this shiny side I don't like and do definitively less than an
emacs or cie, its the perfect tool to develop snippets and little tools tho
...
What a good IDE should have:
  - a good code editor
  - an awesome project manager
  - an amazing debugger
  - a without-effort integrated build environment
IMHO, Sublime fails on the last 3 points.
When is coming the time to develop serious stuff and packages in python, no
doubts, Eclipse is the only valid choice to me !
I guess, the most important is just you feel comfortable with your choice
and super-productive ... I find often myself more confortable to write in
the notepad app than in a code editor ...

- jo






2012/5/31 Dan Yargici danyarg...@gmail.com

 Thanks Alan, I'm sold!

 I was using Komodo, however I just do the odd script here and there so
 this suits my needs better I think.  It's great that it's available on
 Linux also.


 On Thu, May 31, 2012 at 2:34 AM, Alan Fregtman alan.fregt...@gmail.comwrote:

 Screencast.com cut me off for eating the free monthly limit of 2GB, lol.

 Just put the video on my blog thanks to Vimeo:
 http://darkvertex.com/wp/2012/05/30/i-love-sublimetext2/


 On Tue, May 29, 2012 at 9:58 PM, Alan Fregtman 
 alan.fregt...@gmail.comwrote:

 Recorded a little video running down through some Sublime features:
 http://www.screencast.com/t/0KEX9gW0

 My apologies for uhms, ehhs and ocassional ranting. This is what happens
 when you record straight ahead. :p


 By the way, while it is a commercial product, you can try it out for as
 long as you wish with all features; it just nags once every so many file
 saves. Go try! http://www.sublimetext.com/2


 On Tue, May 29, 2012 at 12:04 PM, Alan Fregtman alan.fregt...@gmail.com
  wrote:

 It's good for everyone, projects big or small. The multi-select tricks
 in particular are like pure witchcraft.

 I'll make a video capture showing some of the cool stuff later when I
 get home.

 On Tue, May 29, 2012 at 11:56 AM, Gustavo Eggert Boehs 
 gustav...@gmail.com wrote:

 what is so good about it?
 will it help me on my very narrow PY developments, or is it only good
 for thousands of lines type of work?








Re: Scripting Development with an external IDE

2012-05-30 Thread Michal Doniec
I use Eclipse, did quite big projects (1000s of lines of code) in it.
Really happy with it, it has everything I need.

Visual Studio is all right, but lacks lint integration and even simple
code pre-procesing for python (no checking for unused variables, etc).
There is a plugin in the works which is supposed to provide these
features, but it has been in limbo for a year now.

On Tue, May 29, 2012 at 8:21 PM, Ben Rogall
xsi_l...@shaders.moederogall.com wrote:
 I like it, probably because I'm used to the Visual Studio environment. I
 haven't used it for Softimage though.


 On 5/29/2012 12:39 PM, Marc-Andre Belzile wrote:

 Did anyone try the VS2010 python IDE ?

 http://ironpython.net/tools/

 From: softimage-boun...@listproc.autodesk.com
 [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Xavier
 Lapointe
 Sent: Tuesday, May 29, 2012 1:30 PM
 To: softimage@listproc.autodesk.com
 Subject: Re: Scripting Development with an external IDE

 Sweet (: Make sure to install Package Control (the link Alan sent), they
 are all in there.

 2012/5/29 Guillaume
 Laforgeguillaume.laforge...@gmail.commailto:guillaume.laforge...@gmail.com
 Thanks for the link Xavier :), I will give it a try !

 On Tue, May 29, 2012 at 12:30 PM, Xavier
 Lapointexl.mailingl...@gmail.commailto:xl.mailingl...@gmail.com  wrote:
 https://github.com/Kronuz/SublimeCodeIntel does this for you, but maybe
 it's not as good as PyDev ... not sure.

 But yes, the Python Debugger is a missing point. There's one I've seen in
 the Package Control called SublimeXDebug
 https://github.com/Kindari/SublimeXdebug, but it's probably not as good as
 PyDev or Komodo (i remember we could visually inspect the Python stack).

 This guy has a good amount of package that you can install to enhance the
 Sublime: https://github.com/Kronuz

 Cheers



 2012/5/29 Guillaume
 Laforgeguillaume.laforge...@gmail.commailto:guillaume.laforge...@gmail.com
 Did you find any good python debugger package for Sublime ? For me it is
 the missing point, but maybe I didn't search correctly ?
 Also the auto-completion is cool but doesn't search for imported modules
 and doesn't filter methods on instantiated objects:-/
 All those stuffs are standard in Eclipse/PyDev.

 On Tue, May 29, 2012 at 12:06 PM, Alok
 Gandhialok.gandhi2...@gmail.commailto:alok.gandhi2...@gmail.com  wrote:
 Sublime has tons of autocompletion feature, for example in one stroke you
 generate code for a class with all the necessary function like __init__. You
 can do multiline edit with just one change. If you have a variable 'foo' in
 used in multilines of your code, you can change it at one place and all the
 other occurrences gets updated. There is a whole gamut of color coding with
 infinite color combinations. You can define your own color coding. There are
 just few of the features. I can not do much justice to it as I personally do
 not use it a lot, but I always hear great things about it. May be others can
 fill you on in this. But remember that sublime is only a text editor, not an
 IDE.




 --
 Xavier




 --
 Xavier





-- 
--
Michal
http://uk.linkedin.com/in/mdoniec



Re: Scripting Development with an external IDE

2012-05-30 Thread Alan Fregtman
Screencast.com cut me off for eating the free monthly limit of 2GB, lol.

Just put the video on my blog thanks to Vimeo:
http://darkvertex.com/wp/2012/05/30/i-love-sublimetext2/


On Tue, May 29, 2012 at 9:58 PM, Alan Fregtman alan.fregt...@gmail.comwrote:

 Recorded a little video running down through some Sublime features:
 http://www.screencast.com/t/0KEX9gW0

 My apologies for uhms, ehhs and ocassional ranting. This is what happens
 when you record straight ahead. :p


 By the way, while it is a commercial product, you can try it out for as
 long as you wish with all features; it just nags once every so many file
 saves. Go try! http://www.sublimetext.com/2


 On Tue, May 29, 2012 at 12:04 PM, Alan Fregtman 
 alan.fregt...@gmail.comwrote:

 It's good for everyone, projects big or small. The multi-select tricks in
 particular are like pure witchcraft.

 I'll make a video capture showing some of the cool stuff later when I get
 home.

 On Tue, May 29, 2012 at 11:56 AM, Gustavo Eggert Boehs 
 gustav...@gmail.com wrote:

 what is so good about it?
 will it help me on my very narrow PY developments, or is it only good
 for thousands of lines type of work?






Re: Scripting Development with an external IDE

2012-05-30 Thread Eric Turman
nice! Thanks for the demo :)

On Wed, May 30, 2012 at 6:34 PM, Alan Fregtman alan.fregt...@gmail.comwrote:

 Screencast.com cut me off for eating the free monthly limit of 2GB, lol.

 Just put the video on my blog thanks to Vimeo:
 http://darkvertex.com/wp/2012/05/30/i-love-sublimetext2/


 On Tue, May 29, 2012 at 9:58 PM, Alan Fregtman alan.fregt...@gmail.comwrote:

 Recorded a little video running down through some Sublime features:
 http://www.screencast.com/t/0KEX9gW0

 My apologies for uhms, ehhs and ocassional ranting. This is what happens
 when you record straight ahead. :p


 By the way, while it is a commercial product, you can try it out for as
 long as you wish with all features; it just nags once every so many file
 saves. Go try! http://www.sublimetext.com/2


 On Tue, May 29, 2012 at 12:04 PM, Alan Fregtman 
 alan.fregt...@gmail.comwrote:

 It's good for everyone, projects big or small. The multi-select tricks
 in particular are like pure witchcraft.

 I'll make a video capture showing some of the cool stuff later when I
 get home.

 On Tue, May 29, 2012 at 11:56 AM, Gustavo Eggert Boehs 
 gustav...@gmail.com wrote:

 what is so good about it?
 will it help me on my very narrow PY developments, or is it only good
 for thousands of lines type of work?







-- 




-=T=-


Re: Scripting Development with an external IDE

2012-05-29 Thread Alan Fregtman
I keep a Plugin Manager open and the Script Editor open to the file of my
plugin. I write to it outside of SI, save and when I switch back XSI
detects it changed and reloads the plugin. I try using it, find a bug,
rinse, repeat...

Pretty rudimentary but it works.


Oh, and the best general code editor in this corner of the universe as far
as I'm concerned: http://www.sublimetext.com/2


On Tue, May 29, 2012 at 3:34 AM, Leo Quensel le...@gmx.de wrote:

 Hey guys,

 I am trying to find out how to properly develop python scripts using an
 external IDE.
 In Maya this works pretty well by using the mayapy.exe as the interpreter
 and enables code completion for Maya commands in Eclipse.
 Is there any way to do this for Soft?
 How is everyone doing (Python) script development?

 Cheers,
 Leo
 --
 NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
 Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a



Re: Scripting Development with an external IDE

2012-05-29 Thread Eric Thivierge
Yeah what Alan said.


Eric Thivierge
http://www.ethivierge.com


On Tue, May 29, 2012 at 11:37 PM, Alan Fregtman alan.fregt...@gmail.comwrote:

 I keep a Plugin Manager open and the Script Editor open to the file of my
 plugin. I write to it outside of SI, save and when I switch back XSI
 detects it changed and reloads the plugin. I try using it, find a bug,
 rinse, repeat...

 Pretty rudimentary but it works.


 Oh, and the best general code editor in this corner of the universe as far
 as I'm concerned: http://www.sublimetext.com/2



 On Tue, May 29, 2012 at 3:34 AM, Leo Quensel le...@gmx.de wrote:

 Hey guys,

 I am trying to find out how to properly develop python scripts using an
 external IDE.
 In Maya this works pretty well by using the mayapy.exe as the interpreter
 and enables code completion for Maya commands in Eclipse.
 Is there any way to do this for Soft?
 How is everyone doing (Python) script development?

 Cheers,
 Leo
 --
 NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
 Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a





Re: Scripting Development with an external IDE

2012-05-29 Thread Xavier Lapointe
Erratum: The link I sent is not about codeintel directly but the new syntax
checker, just had this name in mind, hehe.

Anyway syntax checker and
https://github.com/Kronuz/SublimeCodeIntel/https://github.com/Kronuz/SublimeCodeIntel/tree/master/libs
are
pretty convenient.

2012/5/29 Xavier Lapointe xl.mailingl...@gmail.com

 As far as I know code completion is not available for various reason out
 of the box, but you could probably generate codeintel files for Komodo (and
 maybe this is also compatible with Sublime)
 http://www.activestate.com/blog/2012/02/diving-deep-komodos-syntax-checker
 (Not sure you want to go down that path tho)

 The raw setup would be to enable auto-reload in the Softimage Script
 Editor and set your IDE to the same settings as Soft's (4 spaces tab,
 replace tab with spaces, etc -- avoiding weird behavior if for any reason
 you want to do a quick edit in Soft directly). You could also point to your
 external IDE with the proper path in the preferences.

 .. and as I'm writting these lines, I just saw Alan's answer, so yes, same
 as him too (:

 Cheers




 2012/5/29 Leo Quensel le...@gmx.de

 Hey guys,

 I am trying to find out how to properly develop python scripts using an
 external IDE.
 In Maya this works pretty well by using the mayapy.exe as the interpreter
 and enables code completion for Maya commands in Eclipse.
 Is there any way to do this for Soft?
 How is everyone doing (Python) script development?

 Cheers,
 Leo
 --
 NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
 Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a




 --
 Xavier




-- 
Xavier


Re: Scripting Development with an external IDE

2012-05-29 Thread Leo Quensel
Thanks guys!

 Original-Nachricht 
 Datum: Tue, 29 May 2012 09:48:15 -0400
 Von: Xavier Lapointe xl.mailingl...@gmail.com
 An: softimage@listproc.autodesk.com
 Betreff: Re: Scripting Development with an external IDE

 Erratum: The link I sent is not about codeintel directly but the new
 syntax
 checker, just had this name in mind, hehe.
 
 Anyway syntax checker and
 https://github.com/Kronuz/SublimeCodeIntel/https://github.com/Kronuz/SublimeCodeIntel/tree/master/libs
 are
 pretty convenient.
 
 2012/5/29 Xavier Lapointe xl.mailingl...@gmail.com
 
  As far as I know code completion is not available for various reason out
  of the box, but you could probably generate codeintel files for Komodo
 (and
  maybe this is also compatible with Sublime)
 
 http://www.activestate.com/blog/2012/02/diving-deep-komodos-syntax-checker
  (Not sure you want to go down that path tho)
 
  The raw setup would be to enable auto-reload in the Softimage Script
  Editor and set your IDE to the same settings as Soft's (4 spaces tab,
  replace tab with spaces, etc -- avoiding weird behavior if for any
 reason
  you want to do a quick edit in Soft directly). You could also point to
 your
  external IDE with the proper path in the preferences.
 
  .. and as I'm writting these lines, I just saw Alan's answer, so yes,
 same
  as him too (:
 
  Cheers
 
 
 
 
  2012/5/29 Leo Quensel le...@gmx.de
 
  Hey guys,
 
  I am trying to find out how to properly develop python scripts using an
  external IDE.
  In Maya this works pretty well by using the mayapy.exe as the
 interpreter
  and enables code completion for Maya commands in Eclipse.
  Is there any way to do this for Soft?
  How is everyone doing (Python) script development?
 
  Cheers,
  Leo
  --
  NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
  Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
 
 
 
 
  --
  Xavier
 
 
 
 
 -- 
 Xavier

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Re: Scripting Development with an external IDE

2012-05-29 Thread Alok Gandhi
I use Komodo, in XSI I wrote a script to reload the plugin/plugins that
ways you don't have to keep plugin manager open. I edit the code in komodo
and just run the script. I run the script from script editor but you can
also conveniently put it under a button on a shelf or toolbar. You can
specify multiple plugins to reload in the script. Here is the script:

import os

PLUGINS_TO_RELOAD = ['you_plugin_file1.py', 'you_plugin_file2.py']

plugins = Application.Plugins

for p in plugins:

pluginFileName = p.Filename
pluginName = os.path.basename(pluginFileName)

if pluginName in PLUGINS_TO_RELOAD:
Application.UnloadPlugin(pluginFileName)
Application.LoadPlugin(pluginFileName)
--


Re: Scripting Development with an external IDE

2012-05-29 Thread Dan Yargici


 Oh, and the best general code editor in this corner of the universe as far
 as I'm concerned: http://www.sublimetext.com/2


Thanks Alan, I'm loving the look of some of those features!


Re: Scripting Development with an external IDE

2012-05-29 Thread Eric Thivierge
Sublime has changed my life. I'm glad Alan got me on board.


Eric Thivierge
http://www.ethivierge.com


On Wed, May 30, 2012 at 1:09 AM, Dan Yargici danyarg...@gmail.com wrote:


 Oh, and the best general code editor in this corner of the universe as
 far as I'm concerned: http://www.sublimetext.com/2


 Thanks Alan, I'm loving the look of some of those features!



Re: Scripting Development with an external IDE

2012-05-29 Thread Miquel Campos
+1 for SublimeText

+
Miquel Campos
Character  Animation TD at:
www.shedmtl.com

Personal web:
www.akaosaru.com
+



2012/5/29 Eric Thivierge ethivie...@gmail.com

 Sublime has changed my life. I'm glad Alan got me on board.

 
 Eric Thivierge
 http://www.ethivierge.com


 On Wed, May 30, 2012 at 1:09 AM, Dan Yargici danyarg...@gmail.com wrote:


 Oh, and the best general code editor in this corner of the universe as
 far as I'm concerned: http://www.sublimetext.com/2


 Thanks Alan, I'm loving the look of some of those features!





Re: Scripting Development with an external IDE

2012-05-29 Thread Alan Fregtman
It's good for everyone, projects big or small. The multi-select tricks in
particular are like pure witchcraft.

I'll make a video capture showing some of the cool stuff later when I get
home.

On Tue, May 29, 2012 at 11:56 AM, Gustavo Eggert Boehs
gustav...@gmail.comwrote:

 what is so good about it?
 will it help me on my very narrow PY developments, or is it only good for
 thousands of lines type of work?



Re: Scripting Development with an external IDE

2012-05-29 Thread Guillaume Laforge
I like Sublime, but it is just a text editor. For python projects using
several modules, I prefer an IDE like Eclipse + PyDev.

Cheers,

Guillaume Laforge

On Tue, May 29, 2012 at 11:56 AM, Gustavo Eggert Boehs
gustav...@gmail.comwrote:

 what is so good about it?
 will it help me on my very narrow PY developments, or is it only good for
 thousands of lines type of work?



Re: Scripting Development with an external IDE

2012-05-29 Thread Alok Gandhi
Sublime has tons of autocompletion feature, for example in one stroke you
generate code for a class with all the necessary function like __init__.
You can do multiline edit with just one change. If you have a variable
'foo' in used in multilines of your code, you can change it at one place
and all the other occurrences gets updated. There is a whole gamut of color
coding with infinite color combinations. You can define your own color
coding. There are just few of the features. I can not do much justice to it
as I personally do not use it a lot, but I always hear great things about
it. May be others can fill you on in this. But remember that sublime is
only a text editor, not an IDE.


Re: Scripting Development with an external IDE

2012-05-29 Thread Alok Gandhi
As I said I do not use sublime so I am not really in a position to do a
comprehensive critique. For me a text editor will always be a different
entity than an IDE, I am happy with Komodo so far. Another important thing
is that, if you are working in a dev team than code sharing, collobration
and version controls bocome important. Most of the IDE's (Eclipse, Komodo,
Visual Studio) provide extentions/addons to push/pull code directly with
the repositories, which also is not possible through text editors.


Re: Scripting Development with an external IDE

2012-05-29 Thread Alan Fregtman
Sublime is better than just a text editor.

It has a concept of packages, which are best managed with Package Control:
http://wbond.net/sublime_packages/package_control

Among the packages available are several implementations of git and svn
addons, and many other cool things as Xavier has pointed out.


On Tue, May 29, 2012 at 12:41 PM, Alok Gandhi alok.gandhi2...@gmail.comwrote:

 As I said I do not use sublime so I am not really in a position to do a
 comprehensive critique. For me a text editor will always be a different
 entity than an IDE, I am happy with Komodo so far. Another important thing
 is that, if you are working in a dev team than code sharing, collobration
 and version controls bocome important. Most of the IDE's (Eclipse, Komodo,
 Visual Studio) provide extentions/addons to push/pull code directly with
 the repositories, which also is not possible through text editors.



Re: Scripting Development with an external IDE

2012-05-29 Thread Xavier Lapointe
Sweet (: Make sure to install Package Control (the link Alan sent), they
are all in there.

2012/5/29 Guillaume Laforge guillaume.laforge...@gmail.com

 Thanks for the link Xavier :), I will give it a try !


 On Tue, May 29, 2012 at 12:30 PM, Xavier Lapointe 
 xl.mailingl...@gmail.com wrote:

 https://github.com/Kronuz/SublimeCodeIntel does this for you, but maybe
 it's not as good as PyDev ... not sure.

 But yes, the Python Debugger is a missing point. There's one I've seen in
 the Package Control called SublimeXDebug
 https://github.com/Kindari/SublimeXdebug, but it's probably not as good
 as PyDev or Komodo (i remember we could visually inspect the Python stack).

 This guy has a good amount of package that you can install to enhance the
 Sublime: https://github.com/Kronuz

 Cheers




 2012/5/29 Guillaume Laforge guillaume.laforge...@gmail.com

 Did you find any good python debugger package for Sublime ? For me it is
 the missing point, but maybe I didn't search correctly ?
 Also the auto-completion is cool but doesn't search for imported modules
 and doesn't filter methods on instantiated objects:-/
 All those stuffs are standard in Eclipse/PyDev.


 On Tue, May 29, 2012 at 12:06 PM, Alok Gandhi alok.gandhi2...@gmail.com
  wrote:

 Sublime has tons of autocompletion feature, for example in one stroke
 you generate code for a class with all the necessary function like
 __init__. You can do multiline edit with just one change. If you have a
 variable 'foo' in used in multilines of your code, you can change it at one
 place and all the other occurrences gets updated. There is a whole gamut of
 color coding with infinite color combinations. You can define your own
 color coding. There are just few of the features. I can not do much justice
 to it as I personally do not use it a lot, but I always hear great things
 about it. May be others can fill you on in this. But remember that sublime
 is only a text editor, not an IDE.





 --
 Xavier





-- 
Xavier


RE: Scripting Development with an external IDE

2012-05-29 Thread Marc-Andre Belzile
Did anyone try the VS2010 python IDE ?

http://ironpython.net/tools/

From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Xavier Lapointe
Sent: Tuesday, May 29, 2012 1:30 PM
To: softimage@listproc.autodesk.com
Subject: Re: Scripting Development with an external IDE

Sweet (: Make sure to install Package Control (the link Alan sent), they are 
all in there.

2012/5/29 Guillaume Laforge 
guillaume.laforge...@gmail.commailto:guillaume.laforge...@gmail.com
Thanks for the link Xavier :), I will give it a try !

On Tue, May 29, 2012 at 12:30 PM, Xavier Lapointe 
xl.mailingl...@gmail.commailto:xl.mailingl...@gmail.com wrote:
https://github.com/Kronuz/SublimeCodeIntel does this for you, but maybe it's 
not as good as PyDev ... not sure.

But yes, the Python Debugger is a missing point. There's one I've seen in the 
Package Control called SublimeXDebug https://github.com/Kindari/SublimeXdebug, 
but it's probably not as good as PyDev or Komodo (i remember we could visually 
inspect the Python stack).

This guy has a good amount of package that you can install to enhance the 
Sublime: https://github.com/Kronuz

Cheers



2012/5/29 Guillaume Laforge 
guillaume.laforge...@gmail.commailto:guillaume.laforge...@gmail.com
Did you find any good python debugger package for Sublime ? For me it is the 
missing point, but maybe I didn't search correctly ?
Also the auto-completion is cool but doesn't search for imported modules and 
doesn't filter methods on instantiated objects:-/
All those stuffs are standard in Eclipse/PyDev.

On Tue, May 29, 2012 at 12:06 PM, Alok Gandhi 
alok.gandhi2...@gmail.commailto:alok.gandhi2...@gmail.com wrote:
Sublime has tons of autocompletion feature, for example in one stroke you 
generate code for a class with all the necessary function like __init__. You 
can do multiline edit with just one change. If you have a variable 'foo' in 
used in multilines of your code, you can change it at one place and all the 
other occurrences gets updated. There is a whole gamut of color coding with 
infinite color combinations. You can define your own color coding. There are 
just few of the features. I can not do much justice to it as I personally do 
not use it a lot, but I always hear great things about it. May be others can 
fill you on in this. But remember that sublime is only a text editor, not an 
IDE.




--
Xavier




--
Xavier
attachment: winmail.dat

Re: Scripting Development with an external IDE

2012-05-29 Thread Ben Rogall
I like it, probably because I'm used to the Visual Studio environment. I 
haven't used it for Softimage though.


On 5/29/2012 12:39 PM, Marc-Andre Belzile wrote:

Did anyone try the VS2010 python IDE ?

http://ironpython.net/tools/

From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Xavier Lapointe
Sent: Tuesday, May 29, 2012 1:30 PM
To: softimage@listproc.autodesk.com
Subject: Re: Scripting Development with an external IDE

Sweet (: Make sure to install Package Control (the link Alan sent), they are 
all in there.

2012/5/29 Guillaume 
Laforgeguillaume.laforge...@gmail.commailto:guillaume.laforge...@gmail.com
Thanks for the link Xavier :), I will give it a try !

On Tue, May 29, 2012 at 12:30 PM, Xavier 
Lapointexl.mailingl...@gmail.commailto:xl.mailingl...@gmail.com  wrote:
https://github.com/Kronuz/SublimeCodeIntel does this for you, but maybe it's 
not as good as PyDev ... not sure.

But yes, the Python Debugger is a missing point. There's one I've seen in the 
Package Control called SublimeXDebug https://github.com/Kindari/SublimeXdebug, 
but it's probably not as good as PyDev or Komodo (i remember we could visually 
inspect the Python stack).

This guy has a good amount of package that you can install to enhance the 
Sublime: https://github.com/Kronuz

Cheers



2012/5/29 Guillaume 
Laforgeguillaume.laforge...@gmail.commailto:guillaume.laforge...@gmail.com
Did you find any good python debugger package for Sublime ? For me it is the 
missing point, but maybe I didn't search correctly ?
Also the auto-completion is cool but doesn't search for imported modules and 
doesn't filter methods on instantiated objects:-/
All those stuffs are standard in Eclipse/PyDev.

On Tue, May 29, 2012 at 12:06 PM, Alok 
Gandhialok.gandhi2...@gmail.commailto:alok.gandhi2...@gmail.com  wrote:
Sublime has tons of autocompletion feature, for example in one stroke you 
generate code for a class with all the necessary function like __init__. You 
can do multiline edit with just one change. If you have a variable 'foo' in 
used in multilines of your code, you can change it at one place and all the 
other occurrences gets updated. There is a whole gamut of color coding with 
infinite color combinations. You can define your own color coding. There are 
just few of the features. I can not do much justice to it as I personally do 
not use it a lot, but I always hear great things about it. May be others can 
fill you on in this. But remember that sublime is only a text editor, not an 
IDE.




--
Xavier




--
Xavier




Re: Scripting Development with an external IDE

2012-05-29 Thread Raffaele Fragapane
Please don't get Eric started on Sublime VS Eclipse + pyDev. We had people
leaving the project and the company in tears for asking about text editors
in his vicinity.

On Wed, May 30, 2012 at 2:04 AM, Guillaume Laforge 
guillaume.laforge...@gmail.com wrote:

 I like Sublime, but it is just a text editor. For python projects using
 several modules, I prefer an IDE like Eclipse + PyDev.

 Cheers,

 Guillaume Laforge

 On Tue, May 29, 2012 at 11:56 AM, Gustavo Eggert Boehs 
 gustav...@gmail.com wrote:

 what is so good about it?
 will it help me on my very narrow PY developments, or is it only good for
 thousands of lines type of work?





-- 
Our users will know fear and cower before our software! Ship it! Ship it
and let them flee like the dogs they are!


Re: Scripting Development with an external IDE

2012-05-29 Thread Alan Fregtman
Recorded a little video running down through some Sublime features:
http://www.screencast.com/t/0KEX9gW0

My apologies for uhms, ehhs and ocassional ranting. This is what happens
when you record straight ahead. :p


By the way, while it is a commercial product, you can try it out for as
long as you wish with all features; it just nags once every so many file
saves. Go try! http://www.sublimetext.com/2


On Tue, May 29, 2012 at 12:04 PM, Alan Fregtman alan.fregt...@gmail.comwrote:

 It's good for everyone, projects big or small. The multi-select tricks in
 particular are like pure witchcraft.

 I'll make a video capture showing some of the cool stuff later when I get
 home.

 On Tue, May 29, 2012 at 11:56 AM, Gustavo Eggert Boehs 
 gustav...@gmail.com wrote:

 what is so good about it?
 will it help me on my very narrow PY developments, or is it only good for
 thousands of lines type of work?