[Pydev-code] Re: parentheses autocompletion [WAS: Re: tiny PyDev javadoc patch (and ideas for another one)]

2005-07-11 Thread Fabio Zadrozny
On 7/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > - Original Message ----- > From: Fabio Zadrozny <[EMAIL PROTECTED]> > Date: Monday, July 11, 2005 5:19 pm > Subject: Re: parentheses autocompletion [WAS: Re: tiny PyDev javadoc patch > (and ideas fo

Re: [Pydev-code] Re: parentheses autocompletion

2005-07-12 Thread Fabio Zadrozny
I agree, number 1 seems the best choice for me too. On 7/12/05, Karol Pietrzak (RIT Student) <[EMAIL PROTECTED]> wrote: > > > Fabio Zadrozny wrote: > > Waiting forward to see it... :-) > > > > p.s. I'm also forwarding it to the pydev mailing list

Re: [Pydev-code] patch for .classpath file

2005-07-15 Thread Fabio Zadrozny
just applied it Karol Pietrzak (RIT Student) wrote: Hey everyone. Attached is a patch which changes a single line of the .classpath file. It allows Eclipse users to improve the project from CVS and compile it without having to fix the broken link to /org.python.pydev.core/lib/junit.jar. I

Re: [Pydev-code] patch for colon skipping and bracket matching

2005-07-15 Thread Fabio Zadrozny
just applied... I did only some minor changes, but it seems to work ok Karol Pietrzak (RIT Student) wrote: Hey everyone! I wrote a patch to add colon skipping and bracket skipping to Pydev. That last feature is what the Eclipse Java editor does automatically, but here are descriptions anyw

Re: [Pydev-code] Re: another Java 5 patch--PythonGrammar.java

2005-07-18 Thread Fabio Zadrozny
applied, thanks -note: I should probably also upgrade to java 1.5 :-) On 7/18/05, Karol Pietrzak (RIT Student) <[EMAIL PROTECTED]> wrote: > > > > I forgot to attach the actual patch, silly me. > > --- SF.Net email is sponsored by: Discov

Re: [Pydev-code] patch to compile with Java 1.5

2005-07-18 Thread Fabio Zadrozny
patched! On 7/12/05, Karol Pietrzak (RIT Student) <[EMAIL PROTECTED]> wrote: > > > Hey everyone. > > Attached is a very simple patch so PyDev compiles with Java 1.5. I only > got two errors in PyOrganizeImports.java. > --- SF.Net email

[Pydev-code] Re: PyDev: go ahead for refactoring?

2005-07-20 Thread Fabio Zadrozny
Well, I had other plans for that... if it is in the path, you can directly execute: python interpreterInfo.py and it should give you all the info required... (that file is in org.python.pydev/PySrc/interpreterInfo.py)... I just didn't have the time to do it automattically right now... (The problem

[Pydev-code] ANN: PyDev 0.9.6 released

2005-07-20 Thread Fabio Zadrozny
, -- Fabio Zadrozny -- Software Developer ESSS - Engineering Simulation and Scientific Software www.esss.com.br PyDev - Python Development Enviroment for Eclipse pydev.sf.net pydev.blogspot.com

Re: [Pydev-code] stacktrace with PyDev 0.9.6

2005-07-23 Thread Fabio Zadrozny
Did you uninstall pydev 0.9.5? There are some bugs that reported that they could be installed toghether and generate strange errors... Cheers, Fabio On 7/22/05, Rocky Burt <[EMAIL PROTECTED]> wrote: > Hi, > > Just ran across a problem trying to open python files with PyDev 0.9.6 > on Eclipse 3.

Re: [Pydev-code] Re: stacktrace with PyDev 0.9.6

2005-07-23 Thread Fabio Zadrozny
resh instance was the priority. > > Regards, > Rocky > > -- > Rocky Burt > ServerZen Software -- http://www.serverzen.com > News About The Server -- http://serverzen.net > > > On Sat, 2005-07-23 at 09:51 -0300, Fabio Zadrozny wrote: > > Did you uninstall pydev

[Pydev-code] ANN: PyDev 0.9.7 released

2005-07-26 Thread Fabio Zadrozny
.x is no longer supported). Note 3: Java 5.0 is required from now on. Regards, Fabio -- Fabio Zadrozny -- Software Developer ESSS - Engineering Simulation and Scientific Software www.esss.com.br PyDev - Python Development Enviroment for

Re: [Pydev-code] Some debugger fixes

2005-07-28 Thread Fabio Zadrozny
Hi Aleks, thanks for the fixes, I'll take a look at it (and maybe do a new release...) As a note... the new PyDocumentProvider should not need the external files fix to work anymore, so, maybe the fix should be just removed (I'll take a look at it). cheers, Fabio On 7/28/05, Aleks Totic <[EMAI

Re: [Pydev-code] Re: ANN: PyDev 0.9.7 released

2005-07-31 Thread Fabio Zadrozny
cessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) > at org.eclipse.core.launcher.Main.basicRun(Main.java:278) > at org.eclipse.core.launcher.Main

[Pydev-code] ANN: PyDev 0.9.7 with support to java 1.3 and 1.4 released

2005-08-01 Thread Fabio Zadrozny
l all previous PyDev installations before installing the new release. Note 2: This release only works with Eclipse 3.1 (and from now on, Eclipse 3.0.x is no longer supported). Regards, Fabio -- Fabio Zadrozny -- Software Developer

[Pydev-code] ANN: PyDev 0.9.7.99 released

2005-08-19 Thread Fabio Zadrozny
on support possible! Aleks Totic, Scott Schlesier and Vitor Oba for the debugger patches! Eduardo A. Hoff, for the new logo and changes on the site layout! Cheers, Fabio -- Fabio Zadrozny -- Software Developer ESSS - Engineering Simu

[Pydev-code] ANN: PyDev 0.9.8 released

2005-08-29 Thread Fabio Zadrozny
upport for making jython support possible! Vitor Oba for debugger patches! Cheers, Fabio -- Fabio Zadrozny -- Software Developer ESSS - Engineering Simulation and Scientific Software www.esss.com.br PyDev - Python Development Enviroment f

[Pydev-code] ANN: PyDev 0.9.8.1 released

2005-09-06 Thread Fabio Zadrozny
they start with a '.', because it may not accept relative paths). * relative imports are added to code-completion * local imports are taken into consideration when doing code completion * debugger has 'change support', so, changed variables in a scope appear red Che

[Pydev-code] ANN: PyDev 0.9.8.1 released

2005-09-08 Thread Fabio Zadrozny
they start with a '.', because it may not accept relative paths). * relative imports are added to code-completion * local imports are taken into consideration when doing code completion * debugger has 'change support', so, changed variables in a scope appear red Che

[Pydev-code] PyDev 0.9.8.2 released

2005-09-26 Thread Fabio Zadrozny
ore. * Some escaped quotes problems fixed when formatting code * Navigation with Ctrl+Shift+ (up or down) has been slightly improved, so that it goes to the start or the end of the file when no other class or method declaration is found * Other bug-fixes (as ususal) Cheers, Fabio --

Re: [Pydev-code] PyDev 0.9.8.2 released

2005-09-27 Thread Fabio Zadrozny
that... The xml part could also be improved as you said, but I don't think it is the slowest part right now :-) Cheers, Fabio On 9/27/05, Aleks Totic <[EMAIL PROTECTED]> wrote: Fabio Zadrozny wrote:> Hi All,>> PyDev - Python IDE (Python Development Enviroment for Eclipse) version

Re: [Pydev-code] Re: PyDev 0.9.8.2 released

2005-10-10 Thread Fabio Zadrozny
to do it, before jumping at it... jython is also a concern, since I'm> not sure if it works exactly as python on that...>> The xml part could also be improved as you said, but I don't think it is > the slowest part right now :-)>> Cheers,>> Fabio>> O

[Pydev-code] PyDev 0.9.8.3 released

2005-10-13 Thread Fabio Zadrozny
d '(self):' now works with tabs too Cheers, Fabio -- Fabio Zadrozny -- Software Developer ESSS - Engineering Simulation and Scientific Software www.esss.com.br PyDev - Python Development Enviroment for Ecl

[Pydev-code] PyDev 0.9.8.4 released

2005-11-03 Thread Fabio Zadrozny
noteworthy: - * Added option for not using the smart-indent after opening brackets * Some step-by-step instructions of how to get started with pydev have been contributed by Jack Trainor. * Many bugfixes Cheers, Fabio -- Fabi

[Pydev-code] PyDev 0.9.8.5 released

2005-11-17 Thread Fabio Zadrozny
'sun..Base64', so that other VMs can be targetted * Some code-completion problems in the 'resolution order' regarding tokens in __init__ were solved * Added option so that the user can choose whether to automatically add 'self' or not in method declarations Che

Re: [Pydev-code] more features from Java editor to Python editor

2005-12-13 Thread Fabio Zadrozny
Hi Karl, I could help you to do it (right now I'm kind of short in time, so, let me take a look at it one at a time, and I'll e-mail you back -- may take 1 or 2 days though -- or not). Anyway, if you have some 'specific' favorite of yours, say which one would it be, so that I can help you get on g

Re: [Pydev-code] Questions (Ant, lint, refactoring)

2005-12-17 Thread Fabio Zadrozny
Hi Dave, Let's go one by one: - Ant: this is a tool that is used to create scripts so that you configure what you want in a xml file, where each xml declaration points to some command. It is commonly used to generate builds, compile code, run tests, etc. - Lint: it is a tool that analyzes your c

[Pydev-code] PyDev 0.9.8.6 released

2006-01-10 Thread Fabio Zadrozny
and no hangs should appear when trying to do code-completion anymore (if it still hapens, please report it as a bug -- NOTE: a little delay on the first time code-completion is executed is expected, as this is the time the shell is started). * Other bugfixes (as usual) Cheers, Fabi

[Pydev-code] ANN: PyDev 0.9.8.7 released

2006-01-17 Thread Fabio Zadrozny
) * Breakpoints can have conditionals(this was contributed by Achim Nierbeck, and was actually provided in release 0.9.8.6, but I forgot to put it in the release notes) * Some other bugfixes are also in this build. Cheers, Fabio -- Fabio Zadrozny

Re: [Pydev-code] Parser Stuff

2006-01-31 Thread Fabio Zadrozny
Hi Steve, Well, I've only played with the javacc plugin for eclipse, and it was not really that complete, but it gave you syntax highlighting and the outline (which was actually quite useful), so, in the end I thought it was worth it... Actually, I didn't really get any tutorial about it, but 'ja

Re: [Pydev-code] Multiple Interpreters

2006-02-06 Thread Fabio Zadrozny
Hi Eric, Well, I've already received feature requests for that, so, if you want to 'get dirty' I can help you doing it (altough I'm not sure myself what would be needed for that). I believe that the way to go would be being able to set your interpreter in a 'per-project' configuration (that overr

[Pydev-code] [ANN] PyDev 1.0 released

2006-02-06 Thread Fabio Zadrozny
* Keybindings were added to run the current editor as python (F9) or as jython (Ctrl+F9). Those are customizable in the 'keys' preferences * And many other bug-fixes as usual Cheers, Fabio -- Fabio Zadrozny -- Software

[Pydev-code] [ANN] Pydev Extended: Pydev Extensions 1.0 release

2006-02-06 Thread Fabio Zadrozny
ompletions as you type * Quick-outline Cheers, Fabio -- Fabio Zadrozny -- Software Developer ESSS - Engineering Simulation and Scientific Software www.esss.com.br PyDev - Python Development Enviroment for Eclipse pydev.sf.net pydev.bl

[Pydev-code] [ANN] Pydev 1.0.1 release

2006-02-07 Thread Fabio Zadrozny
e bug' release (it fixes an out-of-memory error when restoring the interpreter). Cheers, Fabio -- Fabio Zadrozny -- Software Developer ESSS - Engineering Simulation and Scientific Software www.esss.com.br Pydev Extensions http://www.fabioz

Re: [Pydev-code] Showstopper bug when debugging Chandler

2006-02-08 Thread Fabio Zadrozny
Hi Heikki, I believe that integrating the threads would not be so hard... There has been a similar issue when dealing with threads in CORBA. The solution for that is published in the Pydev Faq, under "I have a CORBA program and I cannot debug its methods, what can I do?" While I haven't tried ma

Re: [Pydev-code] Showstopper bug when debugging Chandler

2006-02-09 Thread Fabio Zadrozny
Yeap... same thing... (too much comment in that FAQ). The only difference would be the global hook, but I think it is actually kind of unnecessary... importing pydevd as you pointed is probably the best solution... Cheers, Fabio On 2/9/06, Heikki Toivonen <[EMAIL PROTECTED]> wrote:

Re: [Pydev-code] Showstopper bug when debugging Chandler

2006-02-13 Thread Fabio Zadrozny
eforge.net/tracker/index.php?func=detail&aid=1428333&group_id=85796&atid=577329 The file (pydevd.py 02) is attached to the bug. Cheers, FabioOn 2/9/06, Heikki Toivonen <[EMAIL PROTECTED]> wrote: Fabio Zadrozny wrote:> I believe that integrating the threads would not be so ha

[Pydev-code] [ANN] Pydev and Pydev Extensions 1.0.2 release

2006-02-16 Thread Fabio Zadrozny
hlights in Pydev: --- - Jython debugging now working. - Code coverage does not report docstrings as not being executed. - Freeze when making a 'step-in' fixed in the debugger. - Grammar generated with javacc version 4.0 Cheers, Fabi

Re: [Pydev-code] [ANN] Pydev and Pydev Extensions 1.0.2 release

2006-02-17 Thread Fabio Zadrozny
On 2/16/06, Bill Baxter <[EMAIL PROTECTED]> wrote: Hi there, Hi Bill,  On 2/17/06, Fabio Zadrozny <[EMAIL PROTECTED]> wrote: - New feature in the debugger: the console is available for probing whenin 'suspendend mode'This is a pretty great addition.  How hard would it be to

Re: [Pydev-code] Another good feature to have

2006-02-17 Thread Fabio Zadrozny
new 'probe in suspend mode' feature of pydev doesn't let you do that).--bbOn 2/17/06, Bill Baxter <[EMAIL PROTECTED]> wrote: Hi there, On 2/17/06, Fabio Zadrozny < [EMAIL PROTECTED]> wrote: - New feature in the debugger: the console is available for probing whenin 'suspe

Re: [Pydev-code] Another good feature to have

2006-02-19 Thread Fabio Zadrozny
as the interactive debugging console itself, and your response was "it's in the next version already".  So I thought I'd mention these feature requests here first just in case you're already working on it for the next release. :-) I'll go ahead and submit them to the f

Re: [Pydev-code] [ANN] Pydev and Pydev Extensions 1.0.2 release

2006-02-19 Thread Fabio Zadrozny
I'll need to check if I can override the default Eclipse console used for run... Probably hard though (I had to hack my way into Eclipse just to be able to grab the input)...Maybe there's a way to make it a completely separate panel type rather than piggy-backing on the console?  (Of course, I do

Re: [Pydev-code] [ANN] Pydev and Pydev Extensions 1.0.2 release

2006-02-19 Thread Fabio Zadrozny
ver again is that I really have to 'hack' Eclipse to get what I want from it... on the other way, fortunatelly, the code is all there so that I *can* hack it ;-) Cheers,FabioOn 2/19/06, Bill Baxter <[EMAIL PROTECTED]> wrote: On 2/20/06, Fabio Zadrozny <[EMAIL PROTECTED]> wrote: Y

[Pydev-code] [ANN] Pydev and Pydev Extensions 1.0.3 release

2006-03-08 Thread Fabio Zadrozny
k on template images Cheers, -- Fabio Zadrozny -- Software Developer ESSS - Engineering Simulation and Scientific Software http://www.esss.com.br Pydev Extensions http://www.fabioz.com/pydev Pydev - Python Development Enviroment for Ecli

Re: [Pydev-code] re: context-sensitive help

2006-03-29 Thread Fabio Zadrozny
You and I are talking about two related but separate use cases, Ithink.  Yours: user writes code with docustrings in PyDev project; docustrings are parsed when code is 'compiled' and stored inresource somewhere (XML file?) for later lookup.  Mine (Java case):user includes rt.jar file, makes associa

Re: [Pydev-code] Javadoc association

2006-03-29 Thread Fabio Zadrozny
On 3/29/06, Jeff Lowery <[EMAIL PROTECTED]> wrote: Hope this attachment makes it (mail list is rejectingzip files).  Shows where javadocs are associated withthe rt.jar (in addition to src.jar association).Yeap, made it... I'm guessing the src.jar assc. is used for 'go todeclaration' and the javado

[Pydev-code] Pydev and Pydev Extensions 1.0.4 release

2006-04-03 Thread Fabio Zadrozny
Jython development -- making Eclipse a first class Python IDE -- It comes with many goodies such as code completion, syntax highlighting, syntax analysis, refactor, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer ESSS - E

Re: [Pydev-code] Pydev and Pydev Extensions 1.0.4 release

2006-04-03 Thread Fabio Zadrozny
se Eclipse for Python and> Jython development -- making Eclipse a first class Python IDE -- It > comes with many goodies such as code completion, syntax highlighting,> syntax analysis, refactor, debug and many others.>>> Cheers,>> --> Fabio Zadrozny> -

[Pydev-code] Re: Jython scripting

2006-04-03 Thread Fabio Zadrozny
Hi Don,I'm forwarding it to the pydev-code list, as I think it might be useful to others... A general question about Jython scripting.Before 1.0.4 was released I had imagined that I might be able to write ascript that could receive a selection from the editor, reformat it andreturn it to the editor

Re: [Pydev-code] Getting started with PyDev scripting

2006-04-04 Thread Fabio Zadrozny
Hi Joel,On 4/4/06, Joel Hedlund <[EMAIL PROTECTED]> wrote: Hi!I'm trying learn Jython scripting for PyDev in order to implement featurerequest #1450378 (mine :-). http://sourceforge.net/tracker/index.php?func=detail&aid=1450378&group_id=85796&atid=577332Fabio gave me a neat starter guide and a code

Re: [Pydev-code] Jython<->CPython for Scripting

2006-04-04 Thread Fabio Zadrozny
I guess you could do it with some tool to embed cpython in java... There are some projects that say they support this (note that I never tried any of those): http://jepp.sourceforge.net/ http://jpe.sourceforge.net/ http://jpype.sourceforge.net/roadmap.html Cheers, Fabio On 4/4/06, Don Taylor <[

[Pydev-code] Jython<->CPython for Scripting

2006-04-04 Thread Fabio Zadrozny
I guess you could do it with some tool to embed cpython in java... There are some projects that say they support this (note that I never tried any of those): http://jepp.sourceforge.net/ http://jpe.sourceforge.net/ http://jpype.sourceforge.net/roadmap.html Cheers, Fabio On 4/4/06, Don Taylor <

[Pydev-code] Getting started with PyDev scripting

2006-04-04 Thread Fabio Zadrozny
Hi Joel,On 4/4/06, Joel Hedlund < [EMAIL PROTECTED]> wrote: Hi!I'm trying learn Jython scripting for PyDev in order to implement featurerequest #1450378 (mine :-). http://sourceforge.net/tracker/index.php?func=detail&aid=1450378&group_id=85796&atid=577332Fabio gave me a neat starter guide and a co

Re: [Pydev-code] Jython<->CPython for Scripting

2006-04-04 Thread Fabio Zadrozny
None of these seem to be ready for prime time and they are not reallywhat I have in mind.  I was wondering how to invoke existing CPython stuff from a Jython script in Pydev.Actually,  if you're meaning in the same process, you'd need something that exposed the CPython api to java (as those project

[Pydev-code] Pydev and Pydev Extensions 1.0.5 release

2006-04-05 Thread Fabio Zadrozny
x analysis, refactor, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer ESSS - Engineering Simulation and Scientific Software http://www.esss.com.br Pydev Extensions http://www.fabioz.com/pydev Pydev - Python D

Re: [Pydev-code] Unix-Like Selection in PyDev

2006-04-10 Thread Fabio Zadrozny
Hi Gunter, Actually, I believe there is no such option... If this would be implemented, it should be on Eclipse itself, as this is more like a 'general' behaviour than what pydev should provide (like the write in overwrite mode), so, if you would like this behaviour, you should submit a feature re

Re: [Pydev-code] Getting started with PyDev scripting

2006-04-12 Thread Fabio Zadrozny
Hi Joel,   Nicely done, works very well for me (asside from the docstring issue you mentioned), so... congratulations!!!   The only thing that I saw that you shouldn't do is storing another editor reference in your class (self._oEditor), you should just use the editor variable directly (it will alw

Re: [Pydev-code] Getting started with PyDev scripting

2006-04-12 Thread Fabio Zadrozny
Hi Don, I have just installed your script and I guess I do not understand the use case.The use case is:class Foo:    def m1(self, a,b): <-- it will create self.a = a, self.b = b Fabio:I am pretty uneasy about these tricks to kill undefined symbols.  Idon't understand what is going on here, but it s

Re: [Pydev-code] Getting started with PyDev scripting

2006-04-13 Thread Fabio Zadrozny
> from org.python.pydev.core.docutils import ParsingUtils > ParsingUtils.eatLiterals (document, >  StringBuffer(), >  initialOffsetOfLiteral)Who put StringBuffer in my scope? I can see it's there but I didn'tdeclare it? Is it a Jython thing? Where can

Re: [Pydev-code] Getting started with PyDev scripting

2006-04-13 Thread Fabio Zadrozny
1)Is there some way of detecting whether or not there's a syntax error on the current line at sript execution? In the current form my script will happilypropagate syntax errors from the def line, e.g:class moo:  def cow(self, 1):(gives self.1 = 1 on execution) Well, actually, you could, but th

Re: [Pydev-code] Getting started with PyDev scripting

2006-04-13 Thread Fabio Zadrozny
> It is a java thing -- comes from java.lang... Actually you should import it > into your scope: from java.lang import StringBuffer.Yes. On Ubuntulinux 5.10, eclipse 3.1.1 and pydev 1.0.4 I do have to import it.Under WinXP, eclipse and pydev 1.0.5 I didn't need to import it... Seems weird though

Re: [Pydev-code] Getting started with PyDev scripting

2006-04-13 Thread Fabio Zadrozny
On 4/13/06, Don Taylor <[EMAIL PROTECTED]> wrote: Fabio Zadrozny wrote:> Well, remind that things are in a 'shared' interpreter for all scripts> for an editor, so, if you had made some from java.lang import * in one> script, all would have access to it (not someth

Re: [Pydev-code] Getting started with PyDev scripting

2006-04-16 Thread Fabio Zadrozny
One way of getting rid of all of the True/False warnings in Pydevextensions is to use: if False: [EMAIL PROTECTED] # None of this code will be executed, but it will stop PydevActually, what I do is put the True/False in the 'undefined' tab of code analysis (under 'consider the following names a

Re: [Pydev-code] Getting started with PyDev scripting

2006-04-16 Thread Fabio Zadrozny
document = document [EMAIL PROTECTED] False = False [EMAIL PROTECTED] True = True [EMAIL PROTECTED]Note that bogus document = document assignment and that I have droppedthe bogus import statement and used a bogus assignment for editor.  Atleast there is only one trick being used here

Re: [Pydev-code] Getting started with PyDev scripting

2006-04-19 Thread Fabio Zadrozny
Hi Joel, very nice!! Didn't find any problems this time... checked with docstrings, kwargs, defaults, end of doc, etc. The only observation is that code-analysis complained about an unused variable -- the first sCurrentLine = oSelection.getCursorLineContents(), in the run method, as you make the s

Re: [Pydev-code] querying pydev version in pydev scripting

2006-04-19 Thread Fabio Zadrozny
Is there a way of determining the pydev version from within a pydev Jython script? Humm, I'm not sure about the 'correct' way to do this, but I guess you could do that from the install dir... >>from org.python.pydev.plugin import PydevPlugin [EMAIL PROTECTED] >>p = PydevPlugin.getDefault() >>pr

Re: [Pydev-code] Some problems with Python development under Eclipse

2006-04-19 Thread Fabio Zadrozny
Hi Christian,  When I want to debug, I want to use F5 to set breakpoints, like in Delphi. But when I try to set F5 to this function it is not working.Ok, then I trying with Ctrl+B. And that is also not working !!!I set Ctrl+B and F5 in every scope that possible... and it is notworking too ! Curren

Re: [Pydev-code] Use of cmd == 'onSave' bad for development?

2006-04-19 Thread Fabio Zadrozny
On 4/19/06, Joel Hedlund <[EMAIL PROTECTED]> wrote: Hi! From my assign params to attribs script:# 'onSave' can be added to the list for developing purposes.if cmd in ['onCreateActions', 'onSave']: declare_lots_of_variables_and_stuffUsing 'onSave' in this manner isn't terribly clever, is it? Say

Re: [Pydev-code] Add location of additional jydev scripts in PYTHONPATH for pydev scripting?

2006-04-19 Thread Fabio Zadrozny
On 4/19/06, Joel Hedlund <[EMAIL PROTECTED]> wrote: Hi!Would it be a good idea to add the "location of additional jydev scripts" tothe PYTHONPATH for pydev jython scripts by default? That way it would be easierto put commonly used functionality for pydev scripting (such as your jython dir utils) in

Re: [Pydev-code] Active Pages parsing

2006-04-21 Thread Fabio Zadrozny
Hi Jonathan,I'm not sure of all the way to do it, so, I'll present some of the steps I'd consider the first ones for doing it:- Create a sub-class of PyEdit that would be actually used when recognizing python in html - Create a PartitionScanner to separate what is html and what is python -- this cl

Re: [Pydev-code] newbie pydev extension question

2006-04-21 Thread Fabio Zadrozny
Hi Keith,Well, this could be a sign of a corrupt install... I don't know why, but sometimes it seems that Eclipse gets confused when updating from different update sites, so, some reports point that removing all pydev versions and reinstalling the latest should work. Cheers,FabioOn 4/21/06, Keith J

Re: [Pydev-code] newbie pydev extension question

2006-04-22 Thread Fabio Zadrozny
ll, I tried doing a complete clean install and I'm still seeing the same behavior. Any other suggestions?thanks, --keithOn Apr 21, 2006, at 4:41 PM, Fabio Zadrozny wrote: Hi Keith,Well, this could be a sign of a corrupt install... I don't know why, but sometimes it seems that Eclipse get

Re: [Pydev-code] Getting started with PyDev scripting

2006-04-24 Thread Fabio Zadrozny
Well, actually, now that you mentioned it, maybe just putting: True, False = 1,0 in the start of the script would be enough... Cheers, FabioOn 4/24/06, Don & Sue - [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:Fabio Zadrozny wrote:>> Actually, I think that putting the True/False to be recognize

[Pydev-code] Pydev and Pydev Extensions 1.0.6 release

2006-04-24 Thread Fabio Zadrozny
--- PyDev is a plugin that enables users to use Eclipse for Python and Jython development -- making Eclipse a first class Python IDE -- It comes with many goodies such as code completion, syntax highlighting, syntax analysis, refactor, debug and many others.

Re: [Pydev-code] Re: Jython scripting

2006-04-25 Thread Fabio Zadrozny
Actually there is 1 method that does it (but it's the single one, so, you may want to use one of IDocument if it's not what you want):public void addLine(String contents, int afterLine)Cheers,Fabio On 4/25/06, Don Taylor <[EMAIL PROTECTED]> wrote: Fabio Zadrozny wrote:> Hi Don,&

Re: [Pydev-code] Re: Jython scripting

2006-04-26 Thread Fabio Zadrozny
g scripts (and maybe provide a more pythonic interface for many of the things Eclipse provides). What do you think?On 4/25/06, Don Taylor <[EMAIL PROTECTED]> wrote: Fabio Zadrozny wrote:> Actually there is 1 method that does it (but it's the single one, so,> you may want to use one of

Re: [Pydev-code] Re: Jython scripting

2006-04-26 Thread Fabio Zadrozny
I am wondering what to do about my own utility modules. I use a coupleright now that I was thinking of incorporating into the source of my pyedit_ file or simply including as peer files with the pyedit_ file.  Any thoughts on the right way to do this? I think that you could do a module (say: docuti

Re: [Pydev-code] Getting started with PyDev scripting

2006-04-27 Thread Fabio Zadrozny
Hi Joel,On 4/27/06, Joel Hedlund <[EMAIL PROTECTED]> wrote: > So, what do you (all) think about which would be the best way to make those> scripts available... I was thinking something as putting them (with the> authors permission) toghether with the pydev distribution... > The authors name would t

Re: [Pydev-code] handling of triple-quoted strings

2006-04-27 Thread Fabio Zadrozny
Hi Michael, When I'm using a TQS in a docstring, if I pause a moment, suddenly the whole buffer from that point on changes since I haven't closed thestring with another set of triple-quotes. Unfortunately, once I do, itdoesn't change.So, I end up closing the file and reopening it to fix the problem

Re: [Pydev-code] Pydev scripting - imported modules not being compiled

2006-04-27 Thread Fabio Zadrozny
Hi Don,I am developing a Pydev Jython script and am having some difficulty in getting imported modules to be recognized as having changed after editing.I have a module called pyedit_test.py that imports wrapper.py which inturn imports textwrap.py.  All modules are in the same folder - the one named

Re: [Pydev-code] pylint problems

2006-04-28 Thread Fabio Zadrozny
Well, in latest versions you can have pylint show you its console (configure in the pydev preferences). Do you see something there?On 4/28/06, Heikki Toivonen <[EMAIL PROTECTED] > wrote:I noticed I haven't had pylint report me problems lately, but I don't know when this broke. I did notice the repo

Re: [Pydev-code] Pydev scripting - imported modules not being compiled

2006-04-28 Thread Fabio Zadrozny
Hi Don,In truth, it is stupid to be trying to develop a Jython script this way.   It makes more sense to get everything working as an ordinary Jythonscript first and then plug the working script into Pydev.  Now that Iunderstand the environment a bit better I am going to away and turn mu brain back

Re: [Pydev-code] pylint problems

2006-04-28 Thread Fabio Zadrozny
On 4/28/06, Heikki Toivonen <[EMAIL PROTECTED]> wrote: Fabio Zadrozny wrote:> Well, in latest versions you can have pylint show you its console> (configure in the pydev preferences). Do you see something there?I did mention that I tried it in my original message. After the pylint upgr

Re: [Pydev-code] pylint problems

2006-04-28 Thread Fabio Zadrozny
Builders are enabled, build on save only not checked (this does not makea difference, tested). Ok, I just got the latest Pylint version myself and it works for me... Actually, when you mentioned the builders, this reminded me of something: are your files in the project pythonpath? In previous versi

Re: [Pydev-code] Line terminators in Pydev files + line numbers

2006-05-09 Thread Fabio Zadrozny
Hi Don,On 5/8/06, Don Taylor <[EMAIL PROTECTED]> wrote: Fabio:Do you do something about making sure that only one type of lineterminator (cr|lf|cr-lf) is used in a Python file in Eclipse?  Actually,I notice that Eclipse seems to let you have differing line terminators in the same file, but that PyS

Re: [Pydev-code] Line terminators in Pydev files + line numbers

2006-05-09 Thread Fabio Zadrozny
Hi Don, I am using: offset = selection.getAbsoluteCursorOffset() lineno = selection.getLineOfOffset(offset) line = selection.getLine(lineno)to get the line containing the current cursor position.  I then march upand down the text grabbing lines until I have acqu

Re: [Pydev-code] Problems with syntax colorizing

2006-05-16 Thread Fabio Zadrozny
Hi Don,On 5/15/06, Don Taylor <[EMAIL PROTECTED]> wrote: Fabio:I am having a strange problem with syntax coloring in a Jython file.My Pydev extension under development allows you to rewrap comments inPython/Jython files.  It is mostly working except for one strange case: I ask it to wrap the first

Re: [Pydev-code] Access to project pythonpath from a Jython Pydev extension

2006-05-18 Thread Fabio Zadrozny
Hi Don,On 5/18/06, Don Taylor <[EMAIL PROTECTED]> wrote: Fabio:Is there a way to get at the pythonpath for the underlying project? In the script: editor.getPythonNature().getPythonPathNature().getCompleteProjectPythonPath() you can view the interface for editor.getPythonNature().getPythonPathNatu

Re: [Pydev-code] Writing to the Eclipse status area from a Jython Pydev extension

2006-05-19 Thread Fabio Zadrozny
Actually, you probably want to ask the status manager to the editor. Something as below (untested): statusLine = editor.getAdapter(IEditorStatusLine.class); if statusLine is not None:     statusLine.setMessage(False, "foo", None) On 5/19/06, Don Taylor <[EMAIL PROTECTED]> wrote: Fabio:I am trying

Re: [Pydev-code] Writing to the Eclipse status area from a Jython Pydev extension

2006-05-19 Thread Fabio Zadrozny
5/19/06, Don Taylor <[EMAIL PROTECTED]> wrote: Fabio Zadrozny wrote:> Actually, you probably want to ask the status manager to the editor.> Something as below (untested):>> statusLine = editor.getAdapter(IEditorStatusLine.class);> if statusLine is not None: > statusLine.

Re: [Pydev-code] Writing to the Eclipse status area from a Jython Pydev extension

2006-05-20 Thread Fabio Zadrozny
Hi Don,On 5/19/06, Don Taylor <[EMAIL PROTECTED]> wrote: When I run your code outside the action listener then it works, but whenit is inside the action listeners run() then it does not display anything.Well, the problem is that you need to run it from an UI-thread. The code below shows a helper to

Re: [Pydev-code] Wrap paragraph Pydev script available for testing

2006-05-21 Thread Fabio Zadrozny
On 5/21/06, Don Taylor <[EMAIL PROTECTED]> wrote: Folks:I have written a Pydev script that wraps comment paragraphs in Python orJython in Eclipse.  I would be grateful if you could try it out and letme know about any bugs or suggestions for improving the code. Hi Don,I've checked it, and I have som

[Pydev-code] Pydev release 1.0.7

2006-05-22 Thread Fabio Zadrozny
lipse a first class Python IDE -- It comes with many goodies such as code completion, syntax highlighting, syntax analysis, refactor, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer ESSS - Engineering Simulatio

Re: [Pydev-code] Is the CVS healthy?

2006-05-23 Thread Fabio Zadrozny
Hi Don, Well, I usually look at http://sourceforge.net/docs/a04 (which is pointing that the cvs will be down for 30 minutes, so, should be shortly up again). You can get the code from the released source (I'm putting it in sourceforge for download in the same place the binary distribution is avai

[Pydev-code] Pydev 1.0.8 released

2006-05-24 Thread Fabio Zadrozny
, refactor, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer ESSS - Engineering Simulation and Scientific Software http://www.esss.com.br Pydev Extensions http://www.fabioz.com/pydev Pydev - Python Development Enviroment f

Re: [Pydev-code] Getting bookmarks to display without closing/re-opening file

2006-05-26 Thread Fabio Zadrozny
You should try to create the markers with the Pydev marker utils: from org.python.pydev.builder import PydevMarkerUtils with the method: createMarker(IResource resource, IDocument doc, String message, int lineNumber, String markerType, int severity, boolean userEditable, boolean istransient, Lis

Re: [Pydev-code] PyDev & Plone

2006-06-03 Thread Fabio Zadrozny
Hi Timothy,Well, I haven't gotten zope myself, so, I think I should get it to see how it works, but I don't know when I'll be able to get it so that I can help you further... I've passed another message (regarding turbogears) in the forum, where I give some tips on how to check the debugger... ( ht

Re: [Pydev-code] Finding imported code

2006-06-03 Thread Fabio Zadrozny
I've answered you in the other msg in the forum (pointing to the getting started guide)... have you checked it?On 5/26/06, Timothy Reaves < [EMAIL PROTECTED]> wrote:For PyDev - PYTHONPATH I have my project (root folder) in the Project Source Folder, and in the External Source Folders I have

Re: [Pydev-code] Releng build broken [patch]

2006-06-07 Thread Fabio Zadrozny
Hi Igor, Actually the fix_build.xml should not be used (I'm going to remove it from the cvs). It is there only because of a previous approach (before the whole Eclipse releng was being used). So, if you just remove the fix_build.xml, there should be no problems... Cheers, Fabio p.s. At the dev

[Pydev-code] Pydev 1.1.0 Released

2006-06-07 Thread Fabio Zadrozny
, syntax highlighting, syntax analysis, refactor, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer ESSS - Engineering Simulation and Scientific Software http://www.esss.com.br Pydev Extensions http://www.fabioz.com/pydev

[Pydev-code] Pydev 1.2.0 Released

2006-06-19 Thread Fabio Zadrozny
Dev is a plugin that enables users to use Eclipse for Python and Jython development -- making Eclipse a first class Python IDE -- It comes with many goodies such as code completion, syntax highlighting, syntax analysis, refactor, debug and many others. Cheers,

  1   2   3   4   5   >