jedit - auto code completetion

2007-06-19 Thread Libertarian
Hi
Does it have a plug-in for python code completetion ?

thks

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: jedit - auto code completetion

2007-06-19 Thread Wildemar Wildenburger
Libertarian wrote:
 Does it have a plug-in for python code completetion ?
   
Yes.

/W
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Can not download plugins for jEdit (help!!)

2006-11-09 Thread Lich_Ray
jEdit
Vim, it can handle all the things.
http://www.vim.org/

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Can not download plugins for jEdit (help!!)

2006-11-09 Thread Ant


On Nov 9, 6:52 am, BillJosephson [EMAIL PROTECTED] wrote:
...
 If anyone knows why i can't connect, in info about it would be
 a big help.

Sounds like the default mirror is down. Go to Utilities - Global
Options - Plugin Manager and click on Update mirror list. Choose a
new mirror and try again. If that still fails, it may be that you need
to set up your proxy server properly.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Can not download plugins for jEdit (help!!)

2006-11-09 Thread Ant
 Vim, it can handle all the things.http://www.vim.org/

I'm not convinced of that quite yet. jEdit's syntax highlighting seems
more robust (see SocketServer.py in the standard library for an example
- vim gets the highlighting of the first doc-comment wrong). I've also
not found anything like jEdit's Console plugin for vim. It's
interactive. You can run the current buffer in the console window. The
console interacts with an error reporting pane which allows you to
click on the error and it will take you to the appropriate line in the
code that the stack trace indicates.

The only thing I have found for vim (and it is specific to running
Python code) is the runscript.vim plugin, which merely allows you to
view the stdout from the script in a different buffer. It doesn't allow
you to interact (say you are writing a console based interactive
application for example)  nor does it have all of those other features
I mentioned.

I'm very interested in other people's vim setup for Python coding
however, as I do use vim more than Python these days, mainly because I
have to use it a great deal on headless servers (jEdit would be no good
here of course) and I got fed up with adding artefacts such as
extraneous i's, o's and :w's into my code when working with jEdit ;-)
And it starts faster of course.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Can not download plugins for jEdit (help!!)

2006-11-09 Thread Neil Cerutti
On 2006-11-09, Ant [EMAIL PROTECTED] wrote:
 Vim, it can handle all the things.http://www.vim.org/

 I'm not convinced of that quite yet. jEdit's syntax
 highlighting seems more robust (see SocketServer.py in the
 standard library for an example - vim gets the highlighting of
 the first doc-comment wrong).

Code inside strings, e.g., doctests, breaks the synchronization
code. I fixed this for myself by adopting the convention in my
code that all closing  are at the end of a line, while opening
 never are. Then I changed the synchronize declarations in
/syntax/python.vim to the following:

  syn sync match pythonSync grouphere NONE '$'
  syn sync maxlines=300

The above is no good for random Python code, though.

But in random Python code you can simply increase the number of
lines inspected as high as your machine can handle, as documented
in python.vim.

 I've also not found anything like jEdit's Console plugin for
 vim. It's interactive. You can run the current buffer in the
 console window. The console interacts with an error reporting
 pane which allows you to click on the error and it will take
 you to the appropriate line in the code that the stack trace
 indicates.

I haven't got that working in Vim, because I haven't been
irritated enough by its lack to try. Python's extremely verbose
error reports make designing errorformat a little tricky, but it
can be done, and the day may come soon.

The reason I haven't adapted quickfix mode to Python is that Vim
would hide most of the Traceback. I'd constantly be executing the
command to show the entire error message, so I've chosen to
eschew quickfix mode for Python code.

If there's some quickfix mode settings that solve these problems
I'd be happy to purloin it.

 I'm very interested in other people's vim setup for Python coding
 however, as I do use vim more than Python these days, mainly because I
 have to use it a great deal on headless servers (jEdit would be no good
 here of course) and I got fed up with adding artefacts such as
 extraneous i's, o's and :w's into my code when working with jEdit ;-)
 And it starts faster of course.

The default Python plugin provides the [[, ]] and [m, ]m commands
for jumping to the next function or method respectively. They are
a nice help once you're aware of them. There's a more powerful
plugin available on the internet, but it the code-jumps were the
main commands I wanted.

pytags should be in your Tools directory. I haven't found it
terribly useful, but in theory it's invaluable (my project is
piddly in size at the moment).

If you set shiftwidth to your preferred Python indent, then
indenting and unindenting code blocks is as easy as the  and 
commands.

-- 
Neil Cerutti
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Can not download plugins for jEdit (help!!)

2006-11-09 Thread Ant


On Nov 9, 2:11 pm, Neil Cerutti [EMAIL PROTECTED] wrote:
...
  never are. Then I changed the synchronize declarations in
 /syntax/python.vim to the following:

   syn sync match pythonSync grouphere NONE '$'
   syn sync maxlines=300

 The above is no good for random Python code, though.

 But in random Python code you can simply increase the number of
 lines inspected as high as your machine can handle, as documented
 in python.vim.

I commented out the maxlines line, and uncommented the syn sync
minlines=2000 line, and that seems to have worked.

 The reason I haven't adapted quickfix mode to Python is that Vim
 would hide most of the Traceback. I'd constantly be executing the
 command to show the entire error message, so I've chosen to
 eschew quickfix mode for Python code.

Sounds interesting - I may take a look at it.

 ... default Python plugin provides the [[, ]] and [m, ]m commands
 for jumping to the next function or method respectively. They are
 a nice help once you're aware of them. There's a more powerful
 plugin available on the internet, but it the code-jumps were the
 main commands I wanted.

They sound good. I've been using the taglist.vim plugin for code
browsing which is pretty good for that sort of thing.

 pytags should be in your Tools directory. I haven't found it
 terribly useful, but in theory it's invaluable (my project is
 piddly in size at the moment).

I'll take a look. A code navigation tool I presume?

 If you set shiftwidth to your preferred Python indent, then
 indenting and unindenting code blocks is as easy as the  and 
 commands

Yes - I have that set up. Thanks for the tips :-)

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Can not download plugins for jEdit (help!!)

2006-11-09 Thread BillJosephson

Ant wrote:
  Vim, it can handle all the things.http://www.vim.org/

 I'm not convinced of that quite yet. jEdit's syntax highlighting seems
 more robust (see SocketServer.py in the standard library for an example
 - vim gets the highlighting of the first doc-comment wrong). I've also
 not found anything like jEdit's Console plugin for vim. It's
 interactive. You can run the current buffer in the console window. The
 console interacts with an error reporting pane which allows you to
 click on the error and it will take you to the appropriate line in the
 code that the stack trace indicates.

 The only thing I have found for vim (and it is specific to running
 Python code) is the runscript.vim plugin, which merely allows you to
 view the stdout from the script in a different buffer. It doesn't allow
 you to interact (say you are writing a console based interactive
 application for example)  nor does it have all of those other features
 I mentioned.

 I'm very interested in other people's vim setup for Python coding
 however, as I do use vim more than Python these days, mainly because I
 have to use it a great deal on headless servers (jEdit would be no good
 here of course) and I got fed up with adding artefacts such as
 extraneous i's, o's and :w's into my code when working with jEdit ;-)
 And it starts faster of course.


Ant: 


Great. Can you help me get it?

Thanks.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Can not download plugins for jEdit (help!!)

2006-11-09 Thread John Salerno
Ant wrote:

 I do use vim more than Python these days

What does that mean? Are you referring to all the setup involved with vim?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Can not download plugins for jEdit (help!!)

2006-11-09 Thread BillJosephson

Ant wrote:
 On Nov 9, 6:52 am, BillJosephson [EMAIL PROTECTED] wrote:
 ...
  If anyone knows why i can't connect, in info about it would be
  a big help.

 Sounds like the default mirror is down. Go to Utilities - Global
 Options - Plugin Manager and click on Update mirror list. Choose a
 new mirror and try again. If that still fails, it may be that you need
 to set up your proxy server properly.



Woo hoo!  It worked!  Now of course it was a dumb question to begin
with.

May I ask another quetion?  I don't want to mess with lots of plugins
at this point. What are the minimum plugins to get a typical looking
IDE with a code window and output window and that lets me set
breakpoints and step through code?

Thanks a lot Ant, I appreciate your help.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Can not download plugins for jEdit (help!!)

2006-11-09 Thread Anders Arnholm
Ant [EMAIL PROTECTED] skriver:
 Vim, it can handle all the things.http://www.vim.org/

 I'm not convinced of that quite yet. jEdit's syntax highlighting seems
 more robust (see SocketServer.py in the standard library for an example
 - vim gets the highlighting of the first doc-comment wrong). I've also

I can't see that problem at all. Vim 7.0 standard win32 build and
6.4 on OpenBSD.

My vimrc hold and old rule that I'm not sure is needed or how it works
against the new standard python module:

:au BufEnter *.py :set smarttab smartindent \
cinwords=if,elif,else,for,while,def,try,rxcept,finally,class

I have not yet seen any problenm from it but maybe it's time to remote
it soon.


/ Balp
-- 
http://anders.arnholm.nu/Keep on Balping
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Can not download plugins for jEdit (help!!)

2006-11-09 Thread Ant
 May I ask another quetion?  I don't want to mess with lots of plugins
 at this point. What are the minimum plugins to get a typical looking
 IDE with a code window and output window and that lets me set
 breakpoints and step through code?

The Console plugin is a must (I think it depends on the ErrorList
plugin which is also very useful as I noted above). JPyDebug is an
interactive debugger - I have never used it mind, I usually rely on
print statements to debug stuff.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Can not download plugins for jEdit (help!!)

2006-11-09 Thread Ant


On Nov 9, 3:27 pm, John Salerno [EMAIL PROTECTED] wrote:
 Ant wrote:
  I do use vim more than Python these daysWhat does that mean? Are you 
  referring to all the setup involved with vim?

Whoops! I mean I use vim more than jEdit these days!

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Can not download plugins for jEdit (help!!)

2006-11-09 Thread Neil Cerutti
On 2006-11-09, Anders Arnholm [EMAIL PROTECTED] wrote:
 Ant [EMAIL PROTECTED] skriver:
 Vim, it can handle all the things.http://www.vim.org/

 I'm not convinced of that quite yet. jEdit's syntax highlighting seems
 more robust (see SocketServer.py in the standard library for an example
 - vim gets the highlighting of the first doc-comment wrong). I've also

 I can't see that problem at all. Vim 7.0 standard win32 build and
 6.4 on OpenBSD.

 My vimrc hold and old rule that I'm not sure is needed or how it works
 against the new standard python module:

:au BufEnter *.py :set smarttab smartindent \
 cinwords=if,elif,else,for,while,def,try,rxcept,finally,class

You shouldn't need that as long as the default plugin for Python
loads correctly. (except is spelled wrong by the way.)

-- 
Neil Cerutti
Women's Luncheon: Each member bring a sandwich. Polly Phillips will
give the medication. --Church Bulletin Blooper
-- 
http://mail.python.org/mailman/listinfo/python-list


Can not download plugins for jEdit (help!!)

2006-11-08 Thread BillJosephson
Hi all. I am trying to use jEdit, but can't seem to download
any plugins. I go to Plugin Manager, and select Download
options. I update the mirro and can see lots of servers.
I select the first (plugin central default) and say apply.
In the Update dialogues bottom window, I see a msg saying
Dowloading plugin list from jedit.plugins.org but after
a couple seconds it disappears. Inveitably when I select
Console and the click install, it give me An I/0 error
occurred (Connection refused: connect)

If anyone knows why i can't connect, in info about it would be
a big help.

Thanks in advance.

-- 
http://mail.python.org/mailman/listinfo/python-list


[OT] jEdit [was: Re: Why new Python 2.5 feature class C() return old-style class ?]

2006-04-19 Thread Wildemar Wildenburger
Ant wrote:
 (OT) I don't have the same issue with Syntax highlighting, and I use
 jEdit as my main Python editor (Though some of the dedicated Python
 IDE's have some nice refactoring/code completion stuff, none has the
 raw editing power of jEdit).
   
Could be I got a customized python.xml file when I started ... maybe 
I'll have a look.

 I'm using jEdit 4.3 pre3 - though I don't recall any problems with 4.2
 (and it was only a week ago I changed).
I'm cautious on the pre's ... how much of an improvement is it (feature- 
and otherwise)?

 The Jython plugin enables
 Structure browsing if you haven't already got it installed
Really? I got it with the JPyDebug ... but perhaps that includes Jython.
I'll be looking into Jython soon, as I could use a plugin (for AGAST) 
and I'm not learning Java just for that!

wildemar
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jedit

2006-02-14 Thread Doug Bromley
I've often wondered this.  I was thinking more along the lines of a
scriptable Python editor like Emacs.

The only thing I've noticed is:
CUTE - *nix only. - (http://cute.sourceforge.net/)
PyEditor - (http://www.rexx.com/~dkuhlman/pyeditor_howto.html)
ViImproved - (http://wiki.python.org/moin/ViImproved)
PythonCardEditor - (http://wiki.wxpython.org/index.cgi/PythonCardEditor)

On 2/14/06, ziggy [EMAIL PROTECTED] wrote:
 Just wondering if there is something out there like Jedit, but written
 in python ( not just supporting, but actually written in it.. )

 Nothing large like Stanzi's or Boa.. Just something quick and simple,
 with code completion, and a debugger..
 --
 http://mail.python.org/mailman/listinfo/python-list

-- 
http://mail.python.org/mailman/listinfo/python-list


Jedit

2006-02-13 Thread ziggy
Just wondering if there is something out there like Jedit, but written 
in python ( not just supporting, but actually written in it.. )

Nothing large like Stanzi's or Boa.. Just something quick and simple, 
with code completion, and a debugger..
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jedit

2006-02-13 Thread Peter Hansen
ziggy wrote:
 Just wondering if there is something out there like Jedit, but written 
 in python ( not just supporting, but actually written in it.. )
 
 Nothing large like Stanzi's or Boa.. Just something quick and simple, 
 with code completion, and a debugger..

Is that last part a joke?  Quick and simple, but with a debugger too?

Anyway, peruse http://wiki.python.org/moin/PythonEditors and see if any 
meet your requirements.

-Peter

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jedit

2006-02-13 Thread DH
ziggy wrote:
 Just wondering if there is something out there like Jedit, but written 
 in python ( not just supporting, but actually written in it.. )
 
 Nothing large like Stanzi's or Boa.. Just something quick and simple, 
 with code completion, and a debugger..

No.  The only editors with features like JEdit are vim and emacs.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jedit

2006-02-13 Thread ziggy
In article [EMAIL PROTECTED],
 Peter Hansen [EMAIL PROTECTED] wrote:

 ziggy wrote:
  Just wondering if there is something out there like Jedit, but written 
  in python ( not just supporting, but actually written in it.. )
  
  Nothing large like Stanzi's or Boa.. Just something quick and simple, 
  with code completion, and a debugger..
 
 Is that last part a joke?  Quick and simple, but with a debugger too?
 
 Anyway, peruse http://wiki.python.org/moin/PythonEditors and see if any 
 meet your requirements.
 
 -Peter

Will do, tks.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jedit

2006-02-13 Thread Kevin Walzer
ziggy wrote:
 Just wondering if there is something out there like Jedit, but written 
 in python ( not just supporting, but actually written in it.. )
 
 Nothing large like Stanzi's or Boa.. Just something quick and simple, 
 with code completion, and a debugger..

IDLE
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jedit

2006-02-13 Thread Ravi Teja

ziggy wrote:
 Just wondering if there is something out there like Jedit, but written
 in python ( not just supporting, but actually written in it.. )

 Nothing large like Stanzi's or Boa.. Just something quick and simple,
 with code completion, and a debugger..

PythonWin, so long as you are on Windows.

By Stanzi, are you are referring to SPE? I don't regard it as heavy.
It's just over 1 MB download (JEdit is 2 MB).

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jedit

2006-02-13 Thread Lad
Pythonwin is not good,if you use non Ascii characters.I had to moved to
Jedit.

L.B

-- 
http://mail.python.org/mailman/listinfo/python-list