Thread: [Pydev-code] Next release?
Brought to you by:
fabioz
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: 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: 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 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: 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: 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-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-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-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: 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-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: 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 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 |