| Author |
Message |
Brian Buderman *nix forums beginner
Joined: 18 Jul 2006
Posts: 2
|
Posted: Tue Jul 18, 2006 2:31 pm Post subject:
Using Visual Slick Edit for Python
|
|
|
Anyone know if there is a way to make slickedit tag the built in modules
such as os and sys so that code completion and the like work? |
|
| Back to top |
|
 |
Daniel Dittmar *nix forums addict
Joined: 28 Feb 2005
Posts: 93
|
Posted: Tue Jul 18, 2006 3:15 pm Post subject:
Re: Using Visual Slick Edit for Python
|
|
|
Brian Buderman wrote:
| Quote: | Anyone know if there is a way to make slickedit tag the built in modules
such as os and sys so that code completion and the like work?
|
I don't think that this is possible as the docs are in the python
executable. But it should be easy to generate a dummy module:
import sys
for name, entry in sys.__dict__.iteritems ():
if callable (entry):
print '''def %s ():\n\t""""%s""""\n\tpass\n\n''' \
% (name, entry.__doc__)
Put the generated modules in a directory outside of the PYTHONPATH, but
add it to the Python tagging of SlickEdit.
Daniel
P.S. Have you already upgraded to v11 and is there anything worthwhile
in it (Python or otherwise)? |
|
| Back to top |
|
 |
Brian Buderman *nix forums beginner
Joined: 18 Jul 2006
Posts: 2
|
Posted: Tue Jul 18, 2006 3:54 pm Post subject:
Re: Using Visual Slick Edit for Python
|
|
|
Thanks very much. That should work nicely.
We just upgraded to v11, so I'm not yet familiar with all the changes.
The first noticable thing is the UI got a slight enhancement, as it
seems to from one version to the next. I've not used it for Python yet
(really only C so far), so I unfortunately can't speak to that. |
|
| Back to top |
|
 |
jjones@slickedit.com *nix forums beginner
Joined: 18 Jul 2006
Posts: 1
|
Posted: Tue Jul 18, 2006 8:34 pm Post subject:
Re: Using Visual Slick Edit for Python
|
|
|
| Quote: | P.S. Have you already upgraded to v11 and is there anything worthwhile
in it (Python or otherwise)?
|
Hi,
We have just released 11.0.1 where we improve and add new support for
scripting and dynamic languages. A snippet of the press release can be
found below.
SlickEdit v11.0.1 continues to improve support for the Python language
by offering enhanced Context Tagging™, Auto-Completion, Syntax
Indenting, and code navigation.
Thank you,
Jason Jones
SlickEdit
www.slickedit.com
SlickEdit Forums
http://community.slickedit.com/ |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|