pydev-code Mailing List for PyDev for Eclipse (Page 44)
Brought to you by:
fabioz
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
(14) |
Apr
(18) |
May
(12) |
Jun
(34) |
Jul
(31) |
Aug
(37) |
Sep
(22) |
Oct
(2) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(1) |
Feb
(4) |
Mar
(9) |
Apr
(1) |
May
|
Jun
(2) |
Jul
(24) |
Aug
(3) |
Sep
(5) |
Oct
(3) |
Nov
(3) |
Dec
(5) |
2006 |
Jan
(5) |
Feb
(23) |
Mar
(5) |
Apr
(80) |
May
(26) |
Jun
(13) |
Jul
(13) |
Aug
(4) |
Sep
(31) |
Oct
(24) |
Nov
(6) |
Dec
(2) |
2007 |
Jan
(7) |
Feb
|
Mar
(26) |
Apr
(3) |
May
(8) |
Jun
(6) |
Jul
(11) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
(3) |
2008 |
Jan
(7) |
Feb
(1) |
Mar
(6) |
Apr
(7) |
May
(9) |
Jun
(14) |
Jul
(9) |
Aug
(6) |
Sep
(10) |
Oct
(5) |
Nov
(8) |
Dec
(5) |
2009 |
Jan
(8) |
Feb
(10) |
Mar
(10) |
Apr
(1) |
May
(3) |
Jun
(5) |
Jul
(10) |
Aug
(3) |
Sep
(12) |
Oct
(6) |
Nov
(22) |
Dec
(12) |
2010 |
Jan
(10) |
Feb
(17) |
Mar
(5) |
Apr
(9) |
May
(8) |
Jun
(2) |
Jul
(4) |
Aug
(12) |
Sep
(1) |
Oct
(1) |
Nov
(8) |
Dec
|
2011 |
Jan
(14) |
Feb
(8) |
Mar
(3) |
Apr
(11) |
May
(6) |
Jun
(5) |
Jul
(10) |
Aug
(7) |
Sep
|
Oct
(4) |
Nov
(4) |
Dec
(8) |
2012 |
Jan
|
Feb
(8) |
Mar
(10) |
Apr
(5) |
May
(4) |
Jun
(10) |
Jul
|
Aug
(2) |
Sep
(2) |
Oct
(11) |
Nov
(1) |
Dec
|
2013 |
Jan
(1) |
Feb
(2) |
Mar
(11) |
Apr
(10) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(20) |
Sep
(4) |
Oct
(18) |
Nov
(5) |
Dec
(7) |
2014 |
Jan
(3) |
Feb
(5) |
Mar
(7) |
Apr
(5) |
May
(10) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(7) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
2015 |
Jan
(1) |
Feb
(1) |
Mar
(8) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
(1) |
Aug
(2) |
Sep
(1) |
Oct
(3) |
Nov
(5) |
Dec
(1) |
2016 |
Jan
(26) |
Feb
(10) |
Mar
(4) |
Apr
|
May
(4) |
Jun
(3) |
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
(4) |
Dec
(3) |
2017 |
Jan
(3) |
Feb
|
Mar
(9) |
Apr
(2) |
May
|
Jun
(1) |
Jul
|
Aug
(9) |
Sep
(1) |
Oct
|
Nov
(2) |
Dec
|
2018 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
(3) |
2019 |
Jan
(4) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(4) |
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(4) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
(11) |
2021 |
Jan
(3) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2024 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
From: Grig G. <gr...@gh...> - 2004-10-20 21:32:54
|
Fabio, I've been sidetracked for the last few weeks, but I made a little progress towards a more seamless pyUnit integration. I'll probably send you some code in a couple of weeks. Grig --- Fabio Zadrozny <fa...@in...> wrote: > Hi All, > > Release 0.7.1 is out (I know it should be 0.7, but I did 0.7 and got > it with > some bugs, so, I corrected them and released 0.7.1) > > Check the page for its features... > > []s > > Fabio Zadrozny > ------------------------------------------------------ > Software Developer > ESSS - Engineering Simulation and Scientific Software > www.esss.com.br > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of them. > Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find > out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Pydev-code mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: Fabio Z. <fa...@in...> - 2004-10-20 19:40:29
|
Hi All, Release 0.7.1 is out (I know it should be 0.7, but I did 0.7 and got it with some bugs, so, I corrected them and released 0.7.1) Check the page for its features... []s Fabio Zadrozny ------------------------------------------------------ Software Developer ESSS - Engineering Simulation and Scientific Software www.esss.com.br |
From: Grig G. <gr...@gh...> - 2004-09-30 21:11:29
|
That's great to see. Congrats! Grig --- Aleks Totic <a...@to...> wrote: > Hi, > I just got a big pydev love letter, the new features are winning > over new fans... > > Aleks > > ATTACHMENT part 2 message/rfc822 name=You rock - pydev is awesome now... > To: at...@us... > From: "citizen_kahn" <cit...@us...> > CC: cit...@us... > Subject: You rock - pydev is awesome now... > Date: Thu, 30 Sep 2004 12:29:55 -0700 > > Message body follows: > > I was beginning to look at using IDLE more and then you came > out with 0.6.1. Wow, you have implemented exaclty the > features I hoped you would. I'm really happy with the work > you all are doing. Thanks, this has made my job so much > easier. > > I will look over the code and see if there isn't a way I > could lend a hand as I really want to support this effort. > If you have any suggestions, I'd be willing to devote some > time working through some issues. > > Thanks again... > > > Peter > > > -- > This message has been sent to you, a registered SourceForge.net user, > by another site user, through the SourceForge.net site. This message > has been delivered to your SourceForge.net mail alias. You may reply > to this message using the "Reply" feature of your email client, or > using the messaging facility of SourceForge.net at: > https://sourceforge.net/sendmessage.php?touser=1101559 > > > |
From: Aleks T. <a...@to...> - 2004-09-30 21:06:13
|
Hi, I just got a big pydev love letter, the new features are winning over new fans... Aleks |
From: Aleks T. <a...@to...> - 2004-09-28 19:33:54
|
"0.6.1, just as Fabiolous Release" is out. Aleks Fabio Zadrozny wrote: > Aleks, >=20 > I think it is a good idea... :-) >=20 > -----Original Message----- > From: pyd...@li... > [mailto:pyd...@li...] On Behalf Of Aleks Toti= c > Sent: ter=E7a-feira, 28 de setembro de 2004 14:21 > To: pyd...@li... > Subject: [Pydev-code] 0.6.1? >=20 > Hi Fabio, > 0.6 looks pretty good. Code completion gets a lions share of bug report= s, > probably because it is so visible and popular. You've checked in many f= ixes > to it already. Should we release 0.6.1? >=20 > Aleks |
From: Fabio Z. <fa...@in...> - 2004-09-28 18:20:13
|
Aleks, I think it is a good idea... :-) []s Fabio Zadrozny ------------------------------------------------------ Software Developer ESSS - Engineering Simulation and Scientific Software www.esss.com.br -----Original Message----- From: pyd...@li... [mailto:pyd...@li...] On Behalf Of Aleks Totic Sent: ter=E7a-feira, 28 de setembro de 2004 14:21 To: pyd...@li... Subject: [Pydev-code] 0.6.1? Hi Fabio, 0.6 looks pretty good. Code completion gets a lions share of bug = reports, probably because it is so visible and popular. You've checked in many = fixes to it already. Should we release 0.6.1? Aleks ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal = Use IT products in your business? Tell us what you think of them. Give us = Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Pydev-code mailing list Pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code |
From: Aleks T. <a...@to...> - 2004-09-28 17:21:35
|
Hi Fabio, 0.6 looks pretty good. Code completion gets a lions share of bug reports, probably because it is so visible and popular. You've checked in many fixes to it already. Should we release 0.6.1? Aleks |
From: Aleks T. <a...@to...> - 2004-09-24 21:13:51
|
I've just posted it to sourceforge, here are the release notes: This is the 0.6 release of pydev. Just like the old release, there are bug fixes, and new features. Unlike the old release, the new features are not well documented. The principal author of the new stuff, Fabio, prefers to spend his time coding. The new features are: - code completion (Fabio) - code refactoring using Bicycle Repair Man package. (Fabio) - something called code advisor. (Fabio) - pyUnit initial integration (Grig) Most of these features are implemented by communicating with a CPython process, and will fail silently if one is not found. You should configure your CPython location inside Preferences:Pydev:Debug. You can find more information under Pydev Eclipse documentation. See Pydev User Guide:Editor:Undocumented under Eclipse Help. Beyond the features, we've fixed all the major bugs: - ctrl-Space no longer deletes current line (doh!) - debugger does not lose its mind when he finds no local variables - print margin and current line highlight are visible again - hyperlink underlining is back Thanks for those filed those detailed debugger bustage reports. Release is also available from the update site, Enjoy, Aleks |
From: Fabio Z. <fa...@in...> - 2004-09-24 16:52:28
|
Aleks, Strange, I just did the same change you did and it worked for me, but I think I know why... The thing is, I rely on our ModelUtils to make things work on code folding. The problem is that I only got a Model after some document change, because it was only parsed then - and if it was not sintatically correct, it would never work, I made some changes and now if it finds an error it tries to parse the document again changing the line error for a pass (it may not work sometimes, but it is better than nothing). So, I made some changes (also commited the line to make the decorator work), try to check it out and see if it works... I added one more feature for the release: a Ctrl+1 advisor, to help on assigning. E.g. If you have a call in the main module, let's say: C()| Ctrl+1 - bring a list of suggestions for assistants (it's still not very complete, but it has already proved very usable for me) Or if you have: Class C: def a(self): self.newMethod()| Ctrl+1 also brings some interesting assistants. It is not complete, but it works well for cases were it is well used...eheheheh I say that because the suggestions may appear in any context now, and it may do strange things if the user doesn't know what it is doing... []s Fabio Zadrozny ------------------------------------------------------ Software Developer ESSS - Engineering Simulation and Scientific Software www.esss.com.br -----Original Message----- From: pyd...@li... [mailto:pyd...@li...] On Behalf Of Aleks Totic Sent: quinta-feira, 23 de setembro de 2004 21:47 To: pyd...@li... Subject: [Pydev-code] Code folding problem Hi Fabio, before making a new release, I was going through a list of all the open bugs. There is 1 where I need your help: It is [ 998497 ] 0.5.3 breaks hyperlinking and highlighting of current line I've fixed the hyperlinking bit, but when I try to fix highlight of current line & showing of the print margin, I break code folding. This is what I've done: - Current line highlight & print margin were not displayed because PyEdit was lacking a sourceViewerDecorator. When I fix this by doing: PyEditProjection.java: changed: protected ISourceViewer createSourceViewer(Composite parent, IVerticalRuler ruler, int styles) { return new PySourceViewer(parent, ruler, getOverviewRuler(), true, styles, this); to: ISourceViewer viewer = new PySourceViewer(parent, ruler, getOverviewRuler(), true, styles, this); getSourceViewerDecorationSupport(viewer); // make sure we get decoration support return viewer; The folding arrows are no longer visible. Any clues how might we be able to have folding & line highlight/print margins at the same time? It seems like some annotation provider conflict, the class names make me dizzy trying to figure it out. I did not check in this change. Once this is resolved, we'll be ready to release. Aleks ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Pydev-code mailing list Pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code |
From: Grig G. <gr...@gh...> - 2004-09-24 04:38:07
|
If you have a Python module that contains a TestCase subclass, it runs TextTestRunner on all the tests in that class and outputs the results on the console. The next version will have a view with a green/red bar, just as jUnit does. Aleks Totic <a...@to...> wrote:I've just noticed it. What does it do? Aleks ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Pydev-code mailing list Pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code |
From: Aleks T. <a...@to...> - 2004-09-24 01:59:23
|
I've just noticed it. What does it do? Aleks |
From: Aleks T. <a...@to...> - 2004-09-24 00:46:48
|
Hi Fabio, before making a new release, I was going through a list of all the open bugs. There is 1 where I need your help: It is [ 998497 ] 0.5.3 breaks hyperlinking and highlighting of current line I've fixed the hyperlinking bit, but when I try to fix highlight of current line & showing of the print margin, I break code folding. This is what I've done: - Current line highlight & print margin were not displayed because PyEdit was lacking a sourceViewerDecorator. When I fix this by doing: PyEditProjection.java: changed: protected ISourceViewer createSourceViewer(Composite parent, IVerticalRuler ruler, int styles) { return new PySourceViewer(parent, ruler, getOverviewRuler(), true, styles, this); to: ISourceViewer viewer = new PySourceViewer(parent, ruler, getOverviewRuler(), true, styles, this); getSourceViewerDecorationSupport(viewer); // make sure we get decoration support return viewer; The folding arrows are no longer visible. Any clues how might we be able to have folding & line highlight/print margins at the same time? It seems like some annotation provider conflict, the class names make me dizzy trying to figure it out. I did not check in this change. Once this is resolved, we'll be ready to release. Aleks |
From: Fabio Z. <fa...@in...> - 2004-09-22 16:37:08
|
Hi all, just wanted to let you know that I found a good resource for making eclipse plugins (until now I hadn't found anything really good)... http://eclipse-wiki.info/ http://www.eclipsefaq.org/ []s Fabio Zadrozny ------------------------------------------------------ Software Developer ESSS - Engineering Simulation and Scientific Software www.esss.com.br |
From: Grig G. <gr...@gh...> - 2004-09-22 14:02:24
|
Fabio, Thanks for putting together this documentation, it really helps. I made some progress on the pyUnit integration, but I have some ways to go before I can show the results neatly in their own view. Fabio already checked in a preliminary version, which adds a "pyUnit Test..." menu item on the popup menu which appears when you right-click on a .py file. The corresponding action invokes a unittest runner which then displays the results on stdout. In the next version, I'll have a tabbed view, just as you have when you use jUnit. Grig --- Fabio Zadrozny <fa...@in...> wrote: > Hi Aleks, > > Ok then, I'm going to do a clean up on code completion too... I'm > giving > some examples on how should refactor / code completion work below. > > > Examples > > -------------------------------------------------------------------- > > Refactor Examples (activates on right mouse click - there is usually > a > keyboard key that emulates that): > > On: > > class C: > def a(self): > a = 2 > b = 3 > c = a+b #this should be refactored. > return c > c = C() > > Marking 'a+b' and making an extract method refactor for a method > called > 'plusMet' should give you: > > class C: > def a(self): > a = 2 > b = 3 > c = self.plusMet(a, b) #this should be refactored. > return c > > def plusMet(self, a, b): > return a+b > c = C() > > > > And with the same class, marking C (it must be the class definition) > should > give you: > class G: > def a(self): > a = 2 > b = 3 > c = a+b #this should be refactored. > return c > c = G() > > Until now, extract method has given me no problems, but rename does > not > always work... It has to scan all the PYTHONPATH and does not always > find > all the references (and sometimes may have problems parsing some > files > too...) > > Methods or variables can be renamed too. > > And as a helper, a Refactor Results View has been contributed. After > any > refactoring it should show which files were changed, however, it only > works > correctly if it is opened (if you do a refactor and open it later it > won't > show the results - that's a bug). > > > ----------------------------------------------------------------- > > Code completion examples: > > Imports completion goes for the sys.path, that is, if you go in > python and: > import sys > print sys.path - those are the locations searched to get the imports > tips. > Directories if they contain an __init__.py > Files: .py, .py, .pyo, .pyd, .dll > > So, if you go: (| Marks Ctrl+Space) > import | a list of the imports that can be gotten > should > appear. > import comp| completes imports that start with comp > import compiler.| completes with compiler sub-modules and > classes > import compiler.ast.| completes with compiler.ast sub-modules > and > classes > from compiler import | completes with compiler sub-modules and > classes > from compiler import ast.| completes with compiler.ast sub-modules > and > classes > > Now for other completions: > > If you have a file > > from compiler import * > > And just Ctrl+Space, it should appear all the globals, in this case > all > compiler submodules and classes. > > If you had just > > Import compiler > > Ctrl+Space would bring you '__builtins__' and 'compiler' suggestions > > > For class code completion: > > Suppose you have: > > import compiler > class C(compiler.visitor.ASTVisitor): > def __init__(self): > self.| would bring you all the code available from this > class. > > > compiler.| would bring all that is contained within the compiler > module > > > There is a catch in this completion: as I rely on our ModelUtils to > know in > which class I am, it only works correctly once it is parsed correctly > (at > least once) - if this doesn't happen, you're getting an error such as > 'name > self. Not defined', because as it can't determine it as a class in > ModelUtils, it tries to complete as if it was a simple token - this > could be > worked with some kind of fast parser, just to determine in which > class we > are... > > Well, I think that's most of it... > > > []s > > Fabio Zadrozny > ------------------------------------------------------ > Software Developer > ESSS - Engineering Simulation and Scientific Software > www.esss.com.br > > > -----Original Message----- > From: pyd...@li... > [mailto:pyd...@li...] On Behalf Of Aleks > Totic > Sent: terça-feira, 21 de setembro de 2004 23:38 > To: pyd...@li... > Subject: Re: [Pydev-code] Next release > > Hi Fabio, > this is great news, way beyond what I was thinking about. I am > sure the pydev users will love it. About feature freeze, that was > just a suggestion, it seems as if everything you've done is ready > to ship. You've > > My current plan is to compile what we have, clean up the debugger > bugs, and ship it, late tomorrow as 0.6. About documentation, > I'll do what I can. Can you give me some good examples of how > your features work? Maybe a python file with comments like "you > can refactor this, you can do code completion on these". > > For imports code completion, what are you using as your path? > > Aleks > > Fabio Zadrozny wrote: > > Hi All, > > > > I've been working full time the last week in pydev (thanks to some > support > > from my company), so, I have been able to introduce the following > features > > in the plugin (yes Aleks, I saw you said freeze the features, but I > was > > REALLY, REALLY in need for that): > > > > Python shell integration > > - Using a python shell and communicating through sockets (for > > refactoring, search and code completion). > > > > Refactoring: > > Completed: > > - Bicycle repair man (BRM) integration (support for rename and > > extract method). > > - Added a view to show which files were affected by the last > === message truncated === |
From: Fabio Z. <fa...@in...> - 2004-09-22 12:09:38
|
Hi Aleks,=20 Ok then, I'm going to do a clean up on code completion too... I'm giving some examples on how should refactor / code completion work below. Examples -------------------------------------------------------------------- Refactor Examples (activates on right mouse click - there is usually a keyboard key that emulates that): On: class C: def a(self): a =3D 2 b =3D 3 c =3D a+b #this should be refactored. return c c =3D C() Marking 'a+b' and making an extract method refactor for a method called 'plusMet' should give you: class C: def a(self): a =3D 2 b =3D 3 c =3D self.plusMet(a, b) #this should be refactored. return c def plusMet(self, a, b): return a+b c =3D C() And with the same class, marking C (it must be the class definition) = should give you: class G: def a(self): a =3D 2 b =3D 3 c =3D a+b #this should be refactored. return c c =3D G() Until now, extract method has given me no problems, but rename does not always work... It has to scan all the PYTHONPATH and does not always = find all the references (and sometimes may have problems parsing some files too...) Methods or variables can be renamed too. And as a helper, a Refactor Results View has been contributed. After any refactoring it should show which files were changed, however, it only = works correctly if it is opened (if you do a refactor and open it later it = won't show the results - that's a bug). ----------------------------------------------------------------- Code completion examples: Imports completion goes for the sys.path, that is, if you go in python = and: import sys print sys.path - those are the locations searched to get the imports = tips. Directories if they contain an __init__.py=20 Files: .py, .py, .pyo, .pyd, .dll So, if you go: (| Marks Ctrl+Space) import | a list of the imports that can be gotten = should appear. import comp| completes imports that start with comp import compiler.| completes with compiler sub-modules and = classes import compiler.ast.| completes with compiler.ast sub-modules and classes from compiler import | completes with compiler sub-modules and = classes from compiler import ast.| completes with compiler.ast sub-modules and classes Now for other completions: If you have a file from compiler import * And just Ctrl+Space, it should appear all the globals, in this case all compiler submodules and classes. If you had just=20 Import compiler=20 Ctrl+Space would bring you '__builtins__' and 'compiler' suggestions For class code completion: Suppose you have: import compiler=20 class C(compiler.visitor.ASTVisitor): def __init__(self): self.| would bring you all the code available from this class. compiler.| would bring all that is contained within the compiler module There is a catch in this completion: as I rely on our ModelUtils to know = in which class I am, it only works correctly once it is parsed correctly = (at least once) - if this doesn't happen, you're getting an error such as = 'name self. Not defined', because as it can't determine it as a class in ModelUtils, it tries to complete as if it was a simple token - this = could be worked with some kind of fast parser, just to determine in which class = we are... Well, I think that's most of it... []s Fabio Zadrozny ------------------------------------------------------ Software Developer ESSS - Engineering Simulation and Scientific Software www.esss.com.br -----Original Message----- From: pyd...@li... [mailto:pyd...@li...] On Behalf Of Aleks Totic Sent: ter=E7a-feira, 21 de setembro de 2004 23:38 To: pyd...@li... Subject: Re: [Pydev-code] Next release Hi Fabio, this is great news, way beyond what I was thinking about. I am=20 sure the pydev users will love it. About feature freeze, that was=20 just a suggestion, it seems as if everything you've done is ready=20 to ship. You've My current plan is to compile what we have, clean up the debugger=20 bugs, and ship it, late tomorrow as 0.6. About documentation,=20 I'll do what I can. Can you give me some good examples of how=20 your features work? Maybe a python file with comments like "you=20 can refactor this, you can do code completion on these". For imports code completion, what are you using as your path? Aleks Fabio Zadrozny wrote: > Hi All, >=20 > I've been working full time the last week in pydev (thanks to some = support > from my company), so, I have been able to introduce the following = features > in the plugin (yes Aleks, I saw you said freeze the features, but I = was > REALLY, REALLY in need for that): >=20 > Python shell integration > - Using a python shell and communicating through sockets (for > refactoring, search and code completion). >=20 > Refactoring: > Completed: > - Bicycle repair man (BRM) integration (support for rename and > extract method).=20 > - Added a view to show which files were affected by the last > refactoring > Missing: > - Undo of the refactoring (it is supported by BRM but not > integrated). > - There are other refactorings that can be integrated.=20 > - Only appearing on right click menu... Some keybindings could be > used also. >=20 > Search: > Using Bicycle repair man go to definition search on key F3. It is > used because our search was only on the current buffer (and that was really > annoying).=20 >=20 > Code completion: > Basically, this was a rewrite from the python side of the code > completion. I think there are better ways to do it, but time is never > enough, so, code completion now works on: > - import ... > - from ...=20 > - from a import ... > - self. > - any other token that we are able to get on the module > level, that is, variables initialized inside methods or other scopes = are not > gotten (they weren't earlier either, so, that's not a retrocess). >=20 > So, missing for this feature is: > - Work on inner scopes: this would require some good work > with the python ast... > - It still doesn't work on method parameters, but it could > be added without too much effort (I will do it as soon as I can, but I still > don't know when I will be able to do it - so, if anyone = volunteers...). >=20 > Well, I think that's it... The bad part is that I didn't put it in = pydev > help (if someone volunteers...) >=20 > Anyway, I think that's enough for a 0.6 release, and if those features prove > to be stable, it should be enough for a stable 1.0 release... >=20 ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Pydev-code mailing list Pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code |
From: Aleks T. <a...@to...> - 2004-09-22 02:37:38
|
Hi Fabio, this is great news, way beyond what I was thinking about. I am sure the pydev users will love it. About feature freeze, that was just a suggestion, it seems as if everything you've done is ready to ship. You've My current plan is to compile what we have, clean up the debugger bugs, and ship it, late tomorrow as 0.6. About documentation, I'll do what I can. Can you give me some good examples of how your features work? Maybe a python file with comments like "you can refactor this, you can do code completion on these". For imports code completion, what are you using as your path? Aleks Fabio Zadrozny wrote: > Hi All, > > I've been working full time the last week in pydev (thanks to some support > from my company), so, I have been able to introduce the following features > in the plugin (yes Aleks, I saw you said freeze the features, but I was > REALLY, REALLY in need for that): > > Python shell integration > - Using a python shell and communicating through sockets (for > refactoring, search and code completion). > > Refactoring: > Completed: > - Bicycle repair man (BRM) integration (support for rename and > extract method). > - Added a view to show which files were affected by the last > refactoring > Missing: > - Undo of the refactoring (it is supported by BRM but not > integrated). > - There are other refactorings that can be integrated. > - Only appearing on right click menu... Some keybindings could be > used also. > > Search: > Using Bicycle repair man go to definition search on key F3. It is > used because our search was only on the current buffer (and that was really > annoying). > > Code completion: > Basically, this was a rewrite from the python side of the code > completion. I think there are better ways to do it, but time is never > enough, so, code completion now works on: > - import ... > - from ... > - from a import ... > - self. > - any other token that we are able to get on the module > level, that is, variables initialized inside methods or other scopes are not > gotten (they weren't earlier either, so, that's not a retrocess). > > So, missing for this feature is: > - Work on inner scopes: this would require some good work > with the python ast... > - It still doesn't work on method parameters, but it could > be added without too much effort (I will do it as soon as I can, but I still > don't know when I will be able to do it - so, if anyone volunteers...). > > Well, I think that's it... The bad part is that I didn't put it in pydev > help (if someone volunteers...) > > Anyway, I think that's enough for a 0.6 release, and if those features prove > to be stable, it should be enough for a stable 1.0 release... > |
From: Fabio Z. <fa...@in...> - 2004-09-21 17:31:25
|
Hi All, I've been working full time the last week in pydev (thanks to some support from my company), so, I have been able to introduce the following features in the plugin (yes Aleks, I saw you said freeze the features, but I was REALLY, REALLY in need for that): Python shell integration - Using a python shell and communicating through sockets (for refactoring, search and code completion). Refactoring: Completed: - Bicycle repair man (BRM) integration (support for rename and extract method). - Added a view to show which files were affected by the last refactoring Missing: - Undo of the refactoring (it is supported by BRM but not integrated). - There are other refactorings that can be integrated. - Only appearing on right click menu... Some keybindings could be used also. Search: Using Bicycle repair man go to definition search on key F3. It is used because our search was only on the current buffer (and that was really annoying). Code completion: Basically, this was a rewrite from the python side of the code completion. I think there are better ways to do it, but time is never enough, so, code completion now works on: - import ... - from ... - from a import ... - self. - any other token that we are able to get on the module level, that is, variables initialized inside methods or other scopes are not gotten (they weren't earlier either, so, that's not a retrocess). So, missing for this feature is: - Work on inner scopes: this would require some good work with the python ast... - It still doesn't work on method parameters, but it could be added without too much effort (I will do it as soon as I can, but I still don't know when I will be able to do it - so, if anyone volunteers...). Well, I think that's it... The bad part is that I didn't put it in pydev help (if someone volunteers...) Anyway, I think that's enough for a 0.6 release, and if those features prove to be stable, it should be enough for a stable 1.0 release... []s Fabio Zadrozny ------------------------------------------------------ Software Developer ESSS - Engineering Simulation and Scientific Software www.esss.com.br -----Original Message----- From: pyd...@li... [mailto:pyd...@li...] On Behalf Of Aleks Totic Sent: sexta-feira, 3 de setembro de 2004 15:19 To: pyd...@li... Subject: [Pydev-code] Next release? Hi guys, I am about to get quite involved in another project, and would like to wrap up my pydev development with the 1.0 release. For 1.0, my plans are: - feature freeze as of now. Clean up anything that still needs work. Write docs for new features since 0.5x - release 0.6. This will really be a 1.0 beta. - fix any major bugs in 0.6, and release it as 1.0. The only really big feature going into 0.6 is code completion. Does it need more work, or should I release as is? Aleks ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Pydev-code mailing list Pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code |
From: Fabio Z. <fa...@in...> - 2004-09-20 14:14:18
|
Hi All, I made some fixes on the code completion stuff, so, I would like to know if it works for you (previous version had some bugs). I also added some refactoring capabilities with bicycle repair man (right click with mouse shows it: rename and extract method). If you could give it a look it would be great... (didn't make many tests on this, but it seems that bicycle repair man is not really mature too...) []s Fabio Zadrozny ------------------------------------------------------ Software Developer ESSS - Engineering Simulation and Scientific Software www.esss.com.br |
From: Fabio Z. <fa...@in...> - 2004-09-13 17:26:21
|
Hi All, I just did some improvement on the code completion and I would like to know if it works for you. The major improvements are: - Spawning only one process (comunicating trough sockets) - It is MUCH, MUCH faster in my machine... (python doesn't import all the modules every time a code completion is done) - Any code is recognized, that is, if it is correct to python (some flaws may be found here, as I change the doc to change the cursor line for a 'pass'), but if not for that, anything that python recognizes, is recognized here. - self is recognized and treated accordingly. - Completes on 'self.' getting class methods - Completes on ' ' getting globals - Completes on . Only if it is a global, that is, imports and top level variables. Retrocess: - Doesn't complete on '(' Well, I'm still doing some improvements, but it is already usable for me (it's already checked in). In order to use it, the code completion preferences should be set to use server completion (if you don't find any problems with it, I might remove the old completion altoghether). I also did a test source folder for storing our unit-tests (so, if you have java unit-tests, please use it) The Python unit-tests I did are still on PySrc (I didn't want to change my PYTHONPATH). []s Fabio Zadrozny ------------------------------------------------------ Software Developer ESSS - Engineering Simulation and Scientific Software www.esss.com.br |
From: Grig G. <gr...@gh...> - 2004-09-13 15:08:29
|
Dana, I'd like to help with the Python nature. It seems like a natural place to include the pyUnit test functionality -- for example, having a wizard to create pyUnit test case modules, just as the Java perspective offers for jUnit test cases. Grig --- Dana Moore <dan...@ya...> wrote: > > I think that is a pretty fair assessment of the code completion stuff > right now. > I will find a bit of time to work it. > Additionally, I think that we really need to finish off a Python > nature > so that we can have more elegant interface (for example a new project > wizard, Python IDE specific toolbars, run from the Run menu rather > than > from an action menu command, etc.) > I think I have a good sample to mimic in the SWeDe stuff I did for > the > semantic web project here. I might be able to take a look at it soon. > regards > --- Fabio Zadrozny <fa...@in...> wrote: > > > Hi Aleks, > > > > I think that the code completion needs a little more working, but > it > > is > > already usable (as long as you know how to use it)... Anyway, > before > > calling > > it 1.0, I think the code completion issues should be solved. > > > > That is: > > - Spawn only one shell and use sockets to work with it; > > - See how to use it so that it recognizes any piece of code and not > > just > > code written in a given format (right now I am only able to get > code > > completion from imports that are declared in the beginning of the > > file). > > > > []s > > > > Fabio Zadrozny > > ------------------------------------------------------ > > Software Developer > > ESSS - Engineering Simulation and Scientific Software > > www.esss.com.br > > > > > > -----Original Message----- > > From: pyd...@li... > > [mailto:pyd...@li...] On Behalf Of Aleks > > Totic > > Sent: sexta-feira, 3 de setembro de 2004 15:19 > > To: pyd...@li... > > Subject: [Pydev-code] Next release? > > > > Hi guys, > > I am about to get quite involved in another project, and would like > > to wrap > > up my pydev development with the 1.0 release. For 1.0, my plans > are: > > > > - feature freeze as of now. Clean up anything that still needs > work. > > Write > > docs for new features since 0.5x > > - release 0.6. This will really be a 1.0 beta. > > - fix any major bugs in 0.6, and release it as 1.0. > > > > The only really big feature going into 0.6 is code completion. > > Does it need more work, or should I release as is? > > > > Aleks > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java > > Enterprise > > J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > _______________________________________________ > > Pydev-code mailing list > > Pyd...@li... > > https://lists.sourceforge.net/lists/listinfo/pydev-code > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > _______________________________________________ > > Pydev-code mailing list > > Pyd...@li... > > https://lists.sourceforge.net/lists/listinfo/pydev-code > > > > ===== > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > _/ Dana Moore > _/ BBN Technologies LLC > _/ M: 240.350.4196 > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - You care about security. So do we. > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement > on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Pydev-code mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: Dana M. <dan...@ya...> - 2004-09-13 15:03:41
|
I think that is a pretty fair assessment of the code completion stuff right now. I will find a bit of time to work it. Additionally, I think that we really need to finish off a Python nature so that we can have more elegant interface (for example a new project wizard, Python IDE specific toolbars, run from the Run menu rather than from an action menu command, etc.) I think I have a good sample to mimic in the SWeDe stuff I did for the semantic web project here. I might be able to take a look at it soon. regards --- Fabio Zadrozny <fa...@in...> wrote: > Hi Aleks, > > I think that the code completion needs a little more working, but it > is > already usable (as long as you know how to use it)... Anyway, before > calling > it 1.0, I think the code completion issues should be solved. > > That is: > - Spawn only one shell and use sockets to work with it; > - See how to use it so that it recognizes any piece of code and not > just > code written in a given format (right now I am only able to get code > completion from imports that are declared in the beginning of the > file). > > []s > > Fabio Zadrozny > ------------------------------------------------------ > Software Developer > ESSS - Engineering Simulation and Scientific Software > www.esss.com.br > > > -----Original Message----- > From: pyd...@li... > [mailto:pyd...@li...] On Behalf Of Aleks > Totic > Sent: sexta-feira, 3 de setembro de 2004 15:19 > To: pyd...@li... > Subject: [Pydev-code] Next release? > > Hi guys, > I am about to get quite involved in another project, and would like > to wrap > up my pydev development with the 1.0 release. For 1.0, my plans are: > > - feature freeze as of now. Clean up anything that still needs work. > Write > docs for new features since 0.5x > - release 0.6. This will really be a 1.0 beta. > - fix any major bugs in 0.6, and release it as 1.0. > > The only really big feature going into 0.6 is code completion. > Does it need more work, or should I release as is? > > Aleks > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java > Enterprise > J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Pydev-code mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Pydev-code mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > ===== _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ Dana Moore _/ BBN Technologies LLC _/ M: 240.350.4196 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail |
From: Grig G. <gr...@gh...> - 2004-09-13 14:32:46
|
Hi, guys I'm attaching 2 files that both need to go into org.python.pydev.debug. One of them is plugin.xml and the other one is PythonTestActionDelegate.java which needs to go into src/org/python/pydev/debug/ui/actions. I added a 'pyUnit Test..." menu item and corresponding action to the Python->Run/Debug menu which pops up when you right-click a Python file. The action runs a separate python process (and assumes it can find it on the path), feeds it a small python script that imports unittest and runs all the tests it finds in the selected file, then prints the output to stdout. This was done more like a proof-of-concept. In the future, I intend to mimic as closely as possible the behavior of running jUnit tests in the Java perspective, so I'll be adding a view, a green/red bar etc. But I thought I'd send you what I have so far and maybe you'll find it useful. This is a sample output, from an example test included with pyUnit: testAppend (listtests.ListTestCase) ... ok Check count() within heterogeneous list ... ok testIndexing (listtests.ListTestCase) ... ok testSlicing (listtests.ListTestCase) ... ok testAppend (listtests.UserListTestCase) ... ok Check count() within heterogeneous list ... ok testIndexing (listtests.UserListTestCase) ... ok testSlicing (listtests.UserListTestCase) ... ok ---------------------------------------------------------------------- Ran 8 tests in 0.010s OK Also, I'm not verifying that the selected Python file actually contains test cases. This is another TODO item. If you select a file which doesn't contain test cases, you get ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK Grig |
From: Fabio Z. <fa...@in...> - 2004-09-08 12:29:31
|
Hi Aleks, I think that the code completion needs a little more working, but it is already usable (as long as you know how to use it)... Anyway, before calling it 1.0, I think the code completion issues should be solved. That is: - Spawn only one shell and use sockets to work with it; - See how to use it so that it recognizes any piece of code and not just code written in a given format (right now I am only able to get code completion from imports that are declared in the beginning of the file). []s Fabio Zadrozny ------------------------------------------------------ Software Developer ESSS - Engineering Simulation and Scientific Software www.esss.com.br -----Original Message----- From: pyd...@li... [mailto:pyd...@li...] On Behalf Of Aleks Totic Sent: sexta-feira, 3 de setembro de 2004 15:19 To: pyd...@li... Subject: [Pydev-code] Next release? Hi guys, I am about to get quite involved in another project, and would like to wrap up my pydev development with the 1.0 release. For 1.0, my plans are: - feature freeze as of now. Clean up anything that still needs work. Write docs for new features since 0.5x - release 0.6. This will really be a 1.0 beta. - fix any major bugs in 0.6, and release it as 1.0. The only really big feature going into 0.6 is code completion. Does it need more work, or should I release as is? Aleks ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Pydev-code mailing list Pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code |
From: Aleks T. <a...@to...> - 2004-09-03 18:19:52
|
Hi guys, I am about to get quite involved in another project, and would like to wrap up my pydev development with the 1.0 release. For 1.0, my plans are: - feature freeze as of now. Clean up anything that still needs work. Write docs for new features since 0.5x - release 0.6. This will really be a 1.0 beta. - fix any major bugs in 0.6, and release it as 1.0. The only really big feature going into 0.6 is code completion. Does it need more work, or should I release as is? Aleks |
From: Grig G. <gr...@gh...> - 2004-08-26 20:22:03
|
Fabio, I'm glad you like the idea. I'm thinking that the pyUnit integration should appear to the user just as the jUnit integration appears in a Java perspective, i.e. you should be able to right click a pyUnit class, choose Run->pyUnit Test, then see a new tab called pyUnit with the results of the test in either green or red. Of course, at this point I have no idea how to get to this goal, but I'm willing to try. Grig --- Fabio Zadrozny <fa...@in...> wrote: > Hi Grig, > > I think it is a great idea to integrate pyUnit into the plugin (I > would > really like it as I use pyUnit all the time...) > > So, how do you think this integration should be done? Which features > would > you want to have integrated? > I think that you could work with Dana, as he is doing the new project > wizard > and python nature (I think that this features are all related)... > > []s > > Fabio Zadrozny > ------------------------------------------------------ > Software Developer > ESSS - Engineering Simulation and Scientific Software > www.esss.com.br > > > -----Original Message----- > From: pyd...@li... > [mailto:pyd...@li...] On Behalf Of Grig > Gheorghiu > Sent: quinta-feira, 26 de agosto de 2004 15:56 > To: pyd...@li... > Subject: [Pydev-code] Integrating pyUnit in pydev > > Hi, all > > I emailed Aleks back and forth a couple of times on this topic and he > pointed me to this list. This is my original message to Aleks: > > "Aleks, > > First of all, I want to thank you for your work on pydev. I've been > using it > very productively since I saw it mentioned in the IBM Devworks > article on > 'Python development with Eclipse and Ant'. I'm also very interested > in unit > testing, and I like a lot the integration of jUnit in Eclipse. I'm > thinking > it would be cool to integrate Python's pyUnit (which is actually part > of the > distribution) in Eclipse, maybe as part of pydev. I have no > experience > whatsoever in writing Eclipse plugins, but there's always a first > time for > everything. If you think this is a good idea, maybe we can > collaborate in > order to bring it to light." > > Any feedback from Fabio and the other developers is appreciated. > Please let > me know if this has already been done, or if it's of no interest to > the > group. > > Thanks, > > Grig > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank > Media 100pk > Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% > off > Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Pydev-code mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank > Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Pydev-code mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |