From: Fabio Z. <fa...@gm...> - 2006-05-22 20:42:23
|
Hi All, Pydev and Pydev Extensions 1.0.7 have been released Check http://www.fabioz.com/pydev for details on Pydev Extensions and http://pydev.sf.net for details on Pydev Release Highlights in Pydev Extensions: ----------------------------------------------------------------- - Mark Occurrences is able to highlight all the occurrences of some token i= n a file (and is python-aware) - Rename Occurrences is able to rename all the occurrences of some token in a file (Ctrl+2+R) - Hierarchy view is final (can now find children classes in referencing modules) - Remote debugger - Can redirect the output to the client (the signature for starting the remote debugger became settrace(host=3D'localhost', stdoutToServer =3D False, stderrToServer =3D False)) - Maps the locations from the server to the client even if they are not in the same exact paths - Force code-analysis in the current editor (Ctrl+2+C) Release Highlights in Pydev: ---------------------------------------------- - Assign variables to attributes (Ctrl+2+a): Contributed by Joel Hedlund (this is the first contribution using the new jython scripting engine). - 3 minor 'quirks' were fixed in the indentation engine - The debugger had some changes (so, if you had halts with it, please try i= t again). - Allow changing the keybinding for activating the Find next problem (Ctrl+.) - The debugger step-return had its behaviour changed. - Additional scripts location added to pythonpath in the jython scripting engine - Transversal of nested references improved - Fixed problems with compiled modules when they had 'nested' module structures (e.g.: wx.glcanvas) What is PyDev? --------------------------- 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 man= y goodies such as code completion, syntax highlighting, syntax analysis, refactor, debug and many others. Cheers, --=20 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 Eclipse http://pydev.sf.net http://pydev.blogspot.com |
From: Don T. <nos...@gm...> - 2006-05-22 23:28:09
|
Fabio Zadrozny wrote: > - Mark Occurrences is able to highlight all the occurrences of some > token in a file (and is python-aware) > - Rename Occurrences is able to rename all the occurrences of some token > in a file (Ctrl+2+R) Fabio: I can't get Mark Occurrences to work on its own, how do you invoke it? However, Rename Occurrences looks great (is the start of a refactoring browser?) and hitting ESC cancels it so it effectively it can be used instead of Mark Occurrences. Good stuff. Don. |
From: Fabio Z. <fa...@gm...> - 2006-05-22 23:44:50
|
On 5/22/06, Don Taylor <nos...@gm...> wrote: > > Fabio Zadrozny wrote: > > > - Mark Occurrences is able to highlight all the occurrences of some > > token in a file (and is python-aware) > > - Rename Occurrences is able to rename all the occurrences of some toke= n > > in a file (Ctrl+2+R) > > Fabio: > > I can't get Mark Occurrences to work on its own, how do you invoke it? Hi Don, Have you marked it in the preferences ( http://fabioz.com/pydev/manual_adv_markoccurrences.html) -- I still plan to do something to turn it on/off in an easier and more interactive way -- probably ctrl+shift+*, but I couldn't get time to do it for this release... However, Rename Occurrences looks great (is the start of a refactoring > browser?) and hitting ESC cancels it so it effectively it can be used > instead of Mark Occurrences. Nice to hear! As for the refactoring, I guess that this currently works more on the code-analysis side, as checking for occurrences was something I did already (just had to do some interface to externalize that information). Now, on th= e other hand, refactoring seems something pretty nice for me, and I hope I'm able to implement it in pydev (just don't have hard-dates for it) -- and I've already did play a little with it's API (which I actually use a bit fo= r the mark occurrences stuff -- but not that much). But, if you count that getting the occurrences is a requisite for refactoring, then you could say that it has just started ;-) Cheers, Fabio |
From: Don T. <nos...@gm...> - 2006-05-22 23:55:29
|
Don Taylor wrote: > > I can't get Mark Occurrences to work on its own, how do you invoke it? > > However, Rename Occurrences looks great (is the start of a refactoring > browser?) and hitting ESC cancels it so it effectively it can be used > instead of Mark Occurrences. > Ok, I found the option to set Mark Occurrences on under Preferences ->Pydev Extensions. However, .... The following sequence: 1. Select a word 2. Rename Occurrence 3. Type something new and then change your mind - hit ESC 4. The new text remains everywhere AND if you select it so that you can change it back again then neither Mark Occurrences or Rename Occurrences works on it. 5. Ctrl-Z does not back things out back either. Don. |
From: Fabio Z. <fa...@gm...> - 2006-05-23 10:43:34
|
Hi Don, On 5/22/06, Don Taylor <nos...@gm...> wrote: > > Don Taylor wrote: > > > > However, .... > > The following sequence: > > 1. Select a word > 2. Rename Occurrence > 3. Type something new and then change your mind - hit ESC > 4. The new text remains everywhere AND if you select it so that you can > change it back again then neither Mark Occurrences or Rename Occurrences > works on it. > 5. Ctrl-Z does not back things out back either. > Well, I can see that it may not get the new AST because it does not force a reparse before rename occurrence, and this can probably be fixed without much problems (or you can save and then make it again and it should work, a= s the AST is regenerated on save), but ctrl+z works for me undoing the change= s without any problems, so, it may be something in your configuration... whic= h Eclipse version are you using? -- Fabio |
From: Don T. <nos...@gm...> - 2006-05-23 13:09:23
|
Fabio Zadrozny wrote: > 1. Select a word > 2. Rename Occurrence > 3. Type something new and then change your mind - hit ESC > 4. The new text remains everywhere AND if you select it so that you > can > change it back again then neither Mark Occurrences or Rename Occurrences > works on it. > 5. Ctrl-Z does not back things out back either. > > > Well, I can see that it may not get the new AST because it does not > force a reparse before rename occurrence, and this can probably be fixed > without much problems (or you can save and then make it again and it > should work, as the AST is regenerated on save), but ctrl+z works for me > undoing the changes without any problems, so, it may be something in > your configuration... which Eclipse version are you using? > Fabio: Ctrl-z works Ok now so I must have confused Pydev (or myself) last night when I was playing with it. Hitting ctrl-z (instead of Esc) to dismiss a half-completed Rename Occurrence also works as expected. I think that there is a case that is a bit awkward (the case you identified above): after a Rename Occurrence is completed and you decide that you made a mistake then Pydev ignores an additional Rename Occurrence on replacement string until the file is saved. I have to save the file before it can be fixed. I don't think that this is a serious bug, but can it be fixed in a future release? If so then I will log a bug report. Don. |
From: Fabio Z. <fa...@gm...> - 2006-05-23 13:20:04
|
Hi Don Fabio: > > I think that there is a case that is a bit awkward (the case you > identified above): after a Rename Occurrence is completed and you > decide that you made a mistake then Pydev ignores an additional Rename > Occurrence on replacement string until the file is saved. I have to > save the file before it can be fixed. > > I don't think that this is a serious bug, but can it be fixed in a > future release? > > If so then I will log a bug report. > Sure... the bug should be something as: pydev should force the AST re-generation before making a rename occurrences. Cheers, Fabio |
From: Don T. <nos...@gm...> - 2006-05-23 19:28:21
|
Fabio Zadrozny wrote: > Hi All, > > Pydev and Pydev Extensions 1.0.7 have been released > - Force code-analysis in the current editor (Ctrl+2+C) > I notice that you actually have to enter (Ctrl+2, C, Enter) to force code analysis. Was the requirement for hitting (Enter) was intentional? Don. |
From: Fabio Z. <fa...@gm...> - 2006-05-23 19:33:46
|
Actually not... can you add a bug report? On 5/23/06, Don Taylor <nos...@gm...> wrote: > > Fabio Zadrozny wrote: > > Hi All, > > > > Pydev and Pydev Extensions 1.0.7 have been released > > > - Force code-analysis in the current editor (Ctrl+2+C) > > > > I notice that you actually have to enter (Ctrl+2, C, Enter) to force > code analysis. > > Was the requirement for hitting (Enter) was intentional? > > Don. > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications i= n > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&dat= =3D121642 > _______________________________________________ > Pydev-users mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-users > |