J
jean.kasapyan
Hello,
I search Python IDE with Code Intellisense
Thanks
JEAN
I search Python IDE with Code Intellisense
Thanks
JEAN
jean.kasapyan said:Hello,
I search Python IDE with Code Intellisense
jean.kasapyan said:I search Python IDE with Code Intellisense
Irmen de Jong said:There are various:
http://www.python.org/cgi-bin/moinmoin/IntegratedDevelopmentEnvironments
I've seen PythonWin, Komodo, WingIde.
(but I'm using vim/UltraEdit myself... and sometimes PythonWin.)
But keep in mind that powerful 'intellisense'
is impossible in such a dynamic language as Python...
Jussi said:jean.kasapyan wrote:
You did not specify which platform, but if you develop on
the Windows platform the latest version of Zeus does this.
Once you create a Zeus workspace, Zeus will automatically
run ctags to produce a tags database, will populate a class
tree with this data and it also the tags information for
code intellisensing:
http://www.zeusedit.com/lookclass.html
Harri said:I just downloaded and installed Zeus, but it didn't have any
intellisense. I opened a .py file but it didn't add the class listing.
Also it failed to compile and execute it. It seems that it only has
syntax highlighting out of the box.
Harri
Irmen de Jong said:But keep in mind that powerful 'intellisense'
is impossible in such a dynamic language as Python...
Harri said:I just downloaded and installed Zeus, but it didn't have any
intellisense. I opened a .py file but it didn't add the class
listing.
Also it failed to compile and execute it.
Bryan said:would you consider SPE as having intellisense?
http://spe.pycs.net/
i've been using this editor for about a week now and i'm very impressed.
it should know that reo is a regular expression object. It should try at
least. Simpler example:
string.upper().
and it shows nothing.
Jussi said:Harri Pesonen wrote:
Zeus uses ctags to automatically generate the tags for you project
files. Zeus also use these tags to do the intellisensing.
But for Zeus to know what files are in your project you need
to create a project workspace. So to do this you would do
the following:
Workspace, New menu
Mouse right click and add the *.py files to the
source folder of the workspace
Now the class informat for the python files will be in the
class browser.
So for example assuming this file was added to a workspace:
class Example:
def a_method(self, string, variable):
now if I create a new file as start to type in this code:
Example test
test.
the '.' character will trigger the intellisense and a list of
all the method for Example will be displayed.
To run the compiler you do need to tell Zeus where you compiler
is located and this can be done using the Options Compiler menu.
Lothar said:The first could be done as a heuristic. The second is not easily
possible in an untyped language. And i guess no other IDE for any
script language can do this. Maybe they can do it for a few standart
functions but not in general.
Choosing python has advantages and disadvantages.
dir(), globals(), locals() etc. Why couldn't the editor compile and
execute the source code in sandbox on the fly? It would then know the
object types in most cases. By "in sandbox" I mean that it should not
execute any operating system functions (file, network etc) but it should
create the objects still.
Visual Basic has a very good intellisense. But it only works if you
define the data types explicitly. Python should have an option to define
the data type for variables... and "option explicit", which should be
simple to implement.
This bug is strange and shouldn't happen. When I have time I'll have aHarri Pesonen said:It is much better, but seems to be a bit buggy. The first thing I tried is
re.
which opens a list of re attributes, fine, but when I hit "c" for
"compile", the list just closes.
This is very hard to implement because it means evaluating a programWhen I write
string.
the list opens and when I press "c" the list scrolls to "capitalize" as
expected. Also when I complete it and press (, it shows the doc string,
great.
Still it does not understand that "asdf" is a string so
"asdf".
should show string methods. Also if I write
reo = re.compile(r"#define\s+Py_None.*\n")
it should know that reo is a regular expression object. It should try at
least.
For me this works however.Simpler example:
string.upper().
and it shows nothing.
The shell window is a pycrust plugin, on which I'm not coding.There are some real problems as well, the Shell window does not paint
correctly always.
Patches are always welcome ;-) I always try to fix any bug which isOverall, buggy but promising.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.