pydev-users Mailing List for PyDev for Eclipse (Page 221)
Brought to you by:
fabioz
You can subscribe to this list here.
2004 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
|
Jun
(2) |
Jul
(2) |
Aug
(4) |
Sep
(3) |
Oct
(1) |
Nov
(2) |
Dec
|
2006 |
Jan
(2) |
Feb
(4) |
Mar
(1) |
Apr
(49) |
May
(123) |
Jun
(162) |
Jul
(96) |
Aug
(59) |
Sep
(69) |
Oct
(73) |
Nov
(71) |
Dec
(29) |
2007 |
Jan
(68) |
Feb
(97) |
Mar
(170) |
Apr
(86) |
May
(78) |
Jun
(62) |
Jul
(114) |
Aug
(71) |
Sep
(145) |
Oct
(107) |
Nov
(43) |
Dec
(41) |
2008 |
Jan
(46) |
Feb
(66) |
Mar
(70) |
Apr
(91) |
May
(119) |
Jun
(104) |
Jul
(92) |
Aug
(83) |
Sep
(68) |
Oct
(146) |
Nov
(76) |
Dec
(70) |
2009 |
Jan
(114) |
Feb
(101) |
Mar
(153) |
Apr
(203) |
May
(85) |
Jun
(100) |
Jul
(109) |
Aug
(93) |
Sep
(48) |
Oct
(2) |
Nov
(1) |
Dec
(15) |
2010 |
Jan
(9) |
Feb
(12) |
Mar
(25) |
Apr
(61) |
May
(107) |
Jun
(75) |
Jul
(76) |
Aug
(91) |
Sep
(100) |
Oct
(46) |
Nov
(47) |
Dec
(28) |
2011 |
Jan
(105) |
Feb
(88) |
Mar
(82) |
Apr
(45) |
May
(46) |
Jun
(76) |
Jul
(73) |
Aug
(77) |
Sep
(53) |
Oct
(65) |
Nov
(58) |
Dec
(57) |
2012 |
Jan
(53) |
Feb
(19) |
Mar
(4) |
Apr
(9) |
May
(2) |
Jun
(3) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(4) |
Nov
(1) |
Dec
(12) |
2013 |
Jan
(6) |
Feb
(2) |
Mar
(3) |
Apr
|
May
(2) |
Jun
(8) |
Jul
(2) |
Aug
|
Sep
(1) |
Oct
|
Nov
(2) |
Dec
(2) |
2014 |
Jan
(4) |
Feb
|
Mar
(1) |
Apr
|
May
(3) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(4) |
Oct
(1) |
Nov
(3) |
Dec
(2) |
2015 |
Jan
(1) |
Feb
(3) |
Mar
|
Apr
(2) |
May
(4) |
Jun
(1) |
Jul
(5) |
Aug
(12) |
Sep
|
Oct
(1) |
Nov
|
Dec
(15) |
2016 |
Jan
(16) |
Feb
(7) |
Mar
|
Apr
|
May
(3) |
Jun
(8) |
Jul
|
Aug
(2) |
Sep
|
Oct
(1) |
Nov
(5) |
Dec
|
2017 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(3) |
Oct
|
Nov
(2) |
Dec
|
2018 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(1) |
2021 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2024 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Don T. <nos...@gm...> - 2006-05-23 14:01:40
|
Fabio: I wonder what you think of the idea of being able to "Bookmark all Occurrences" as well as "Mark all Occurrences"? The idea is that you want to keep markers to all occurrences of a selection while you go through the code making modifications to the code. "Mark all Occurrences" is 'read-only' in that as soon as you click elsewhere in the code then it changes the thing being marked. This is useful, but sometimes you want to keep the 'markers' around while you are editting. My suggestion is to create a bookmark on every line that contains an occurrence. The bookmark names would all be the same - the text of the occurrence. The normal bookmarks view can be used to navigate and delete the bookmarks. I thought that I could do this in a Pydev script - but your occurrence finding code is in Pydev extensions so I don't think that I can get at the marking code, can I? 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 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: SourceForge.net <no...@so...> - 2006-05-23 11:23:27
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3746477 By: arnetheduck I just might do that, this was annoying me to no end =) thanks for the help! =) ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-23 10:55:59
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3746286 By: fabioz Ok, it is out already... If you still have any problems using it, please let me know... Cheers, Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
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: SourceForge.net <no...@so...> - 2006-05-23 10:38:36
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3746266 By: fabioz Yep, seems like an eclipse bug to me (you can try reporting that to the eclipse guys at eclipse.org) Cheers, Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-23 09:01:28
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3746012 By: arnetheduck Hi, I got it to work as well, but now I've been playing around with it some more. Here's the strange thing: 1) press "restore defaults", ctrl-tab is assigned to "convert tabs to spaces" in "pydev editor scope" and to nothing else. Pressing ctrl-tab in the key sequence confirms this 2) choose category "window", "next editor", when "in windows" and add ctrl-tab. "convert tabs to spaces" disappears from the list of ctrl-tab assignments (even when choosing pydev:editor then "convert tabs to spaces"). ctrl-tab now works for my jdt, cdt, ruby, php and other editors, but pydev still tries to convert tabs to spaces, even though this action is not visible in the preferences. 3) Assign ctrl-tab explicitly to: when "python editor scope" (so now it's set "in windows" and "pydev editor scope" which indectly inherits from "in windows" according to the preferences. ctrl-tab works as expected with pydev as well. 4) Here's the funny part: Remove ctrl-tab for "pydev editor scope", so that it's only assigned to "in windows", identical to 2. ctrl-tab keeps working for pydev (And all other editors). Seems like there's something fishy about the key assignment inheritance options here =) ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
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-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: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 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: SourceForge.net <no...@so...> - 2006-05-22 19:57:22
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3744967 By: fabioz Humm... have you checked to see if your pythonpath is correctly configured? (http://www.fabioz.com/pydev/manual_101_root.html guides you through that). Also, how long did you let it running before killing it? Can you report that as a bug? Cheers, Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-22 19:52:04
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3744958 By: nobody Unfortunately nothing except that I've abruptly closed eclipse! ;) Log: !ENTRY org.eclipse.core.resources 2 10035 2006-05-22 21:40:20.699 !MESSAGE A workspace crash was detected. The previous session did not exit normally. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-22 16:17:00
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3744683 By: fabioz What you just described should actually be the 'forced builtins' (making some source folder be considered as if it was a builtin... you specify it on the interpreter configuration (http://www.fabioz.com/pydev/manual_101_interpreter.html) As for the 'consider names as globals', it just means that some token should be considered in the global namespace at all times (so that pydev does not report 'undefined variables' for that token). Cheers, Fabio p.s. I'll explain it better in the manual ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-22 16:09:56
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3744675 By: fabioz When you add the keybinding you need to specify its scope (in 'when' at the bottom of the keybinding dialog). Did you try specifying it to the pydev editor scope? -- I just tried that and it worked for me So, if it still does not work, please report back. Cheers, Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-22 15:34:48
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3744634 By: tdiggins I thought if I made a module a "global" (in preferences: Pydev/pyDev Extension/CodeAnalysis:Undefined:"Consider the following names as globals"), pydev wouldn't analyse the file, but instead would just import the file in a subshell and then do code completion by introspecting the contents of that import inside the subshell. that doesn't seem to be happening. Did I get the wrong message or am I doing something wrong? (Ps - there doesn't seem to be any write up of what "Consider the following names as globals" actually means in the manual - http://www.fabioz.com/pydev/manual_adv_code_analysis.html states "Its (code-analysis') options should be self-explanatory..." -- I think that may be overstating the case!) thanks Tim thanks ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-22 12:52:27
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3744381 By: arnetheduck Hi, Yes, now that you mention it I remember removing that keybinding (just checked, both convert-bindings in the pydev editor are empty) some time ago, but that didn't help either, so now I started looking for other non-obvious explanations but couldn't find any. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-22 11:18:44
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3744288 By: fabioz Strange, in my configuration there is one action binded to Ctrl+Tab (namely: Convert tabs to space-tabs). If you press Ctrl+Tab in the key sequence it should appear (and removing that binding should make it work in pydev). Cheers, Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-22 06:11:27
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3743971 By: arnetheduck Hi, I've got my eclipse set up so that ctrl-tab goes to the next editor, and this works for all editors apart from the pydev one. Any tips on how to proceed? I've checked my keyboard bindings and everything seems ok there (no other action mapped to ctrl-tab), but I do have "replace tabs with spaces" turned on... Regards Jacek ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-19 21:29:22
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3741866 By: fakeleft I'll definitely give it a shot. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-19 21:04:36
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3741837 By: fabioz Hi Raphael, I'll do a new release of pydev on monday or tuesday, and I've just fixed some things that I believe might be the cause of the error you're having, so, if you're willing to wait until I release it... Cheers, Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-19 20:07:19
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3741766 By: fakeleft Hmmm... where does the trace output go? I have a feeling I'd have to do something in the c++ portion to setup sys.stderr properly - I've looked at the visual studio (6) output window, and tried to launch from the command line to see if there's any output, no luck. If someone knows how to set this up then i'll pursue it further, but I don't have time to look into it myself right now (Komodo remote debugging jumps into the source correctly, and i think the license price will not be an issue. Of course I would prefer to support open source instead, as much as I appreciate what ActiveState does). Raphael ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-19 18:40:28
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3741672 By: fabioz Could you turn the tracing facility on so that I know which messages it is passing when it hits a breakpoint? To do it, go to pydevd_comm and set pydevd_trace = 2 What I'm trying to discover here is if the modules still have their filenams preserved, and if they don't how I can fix it... I can try to make a hook for you to specify the file if it can't find it... anyway, that depends on which info you have when you debug when python is embeded. Cheers, Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-19 18:31:48
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3741657 By: fakeleft Hi Fabio, As you mentioned, remote debugging does work with 1.0.5 and if the script is launched using the python interpreter. However, I need to go a step further: we have an MFC app that embeds and extends python, and calls python scripts. When I try to launch a python script from this application, though the remote debugger sees the connection (showing it as "unknown"), it does not jump into the python source (I do have an eclipse python project with the source files in it). The eclipse log shows !ENTRY org.python.pydev.debug 4 4 2006-05-19 14:20:46.953 !MESSAGE unknown debug type after each attempt. Thanks in advance for any clues, Raphael ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |