pydev-code Mailing List for PyDev for Eclipse (Page 21)
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: Escalona, D. <Die...@di...> - 2010-02-10 14:45:39
|
Hello all, I'm working with Pydev's Remote Debugger and Eclipse and I have a problem with multi-thread Python applications. The remote debugger only traces the MainThread and the breakpoints it has, but if I try to add a breakpoint to a different thread it doesn't stop. I've written a simple piece of code to test it: -------------------------------------------------------------------------------- import threading import time import pydevd pydevd.settrace('10.101.1.193', suspend=False) class myThread(threading.Thread): def __init__(self): threading.Thread.__init__(self) def run(self): i = 10 while i > 0: print "hello ", i i = i - 1 time.sleep(2) my_thread = myThread("hello!") my_thread.start() for i in range(10): print "bye ", i time.sleep(5) -------------------------------------------------------------------------------- If I put a breakpoint on the "print hello" line and another one on the "print bye" line, the debugger only stops on the "print bye" line, which belongs to the main thread. How could I make the debugger to trace the new thread and stop on its breakpoints? Kind regards. |
From: Kostas G. <geo...@gm...> - 2010-02-08 09:38:05
|
Hello again, Now I see, it is the java no capable of stopping a thread problem. This would need an external monitor of threads (maybe some wrapping of jconsole :-)) For now maybe is better of having the editor's completion server on a thread. What do you think? Could you point me to the class implementing it? Also what I would like to do is to have control over the spawned jython process, like the executable and the vm arguments. Do you think is it possible to construct the java command from inside pydev? I want to run a custom configured jython process. Regards Kostas PS. The interpreters should have an internal mechanism of cancelling a halted or deadlocked command when in interactive mode ( like on Flash Actionscript or Matlab I think). >It's possible to halt it (and really simple): > >E.g.: if the user goes on and writes: > >while True: >print 'something' > >and you import that module while it has that logic, you won't regain >control over it (and that Thread would be lost and would keep one of >your processors busy until eclipse exits -- as a separate process it >can still be killed without any further problems in the Eclipse VM). > >The class where the logic for handling communication with the shell is >the AbstractShell.java (so, that's the place you'd change). |
From: Gazi A. <al...@gm...> - 2010-02-04 18:55:19
|
Hi, I would like to be able to send ctrl+c to the interactive console and want it to throw a KeyboardInterrupt exception on the currently running Python code, like it does in Python's default interpreter. Right now, the only option is to terminate the console by pressing the red button. I checked out the code and will soon start trying to work on it, but I have zero experience with eclipse programming. I thought I would ask which one would be easier: to catch a hotkey, to put an icon on the console's toolbar, or to put a context menu entry. I'd appreciate any input to get me started in the right direction. One other thing: in com.python.pydev.interactiveconsole.EvaluateActionSetter, before onCreateActions, the comment reads: "This method associates Ctrl+new line with the evaluation of commands in the console.". Does that mean pressing ctrl+enter in the python editor is supposed to send the current line to the console? If so, that would be awesome. However when I press ctrl+enter that's not happening. Thanks, -Gazi |
From: Fabio Z. <fa...@gm...> - 2010-02-02 23:32:35
|
On Mon, Feb 1, 2010 at 5:27 PM, Kostas Georgiou <geo...@gm...> wrote: > Hello Fabio, > I don't know about its efficiency, but if it is implemented as a worker > thread (like swingworker in swing) do you think that the halting will still > be possible?? > I understand that generally this would be a second choice, or second > citizen, but probably it could boost the jython part. In every case I would > appreciate any help if I decide to go this route. > thanx > kostas It's possible to halt it (and really simple): E.g.: if the user goes on and writes: while True: print 'something' and you import that module while it has that logic, you won't regain control over it (and that Thread would be lost and would keep one of your processors busy until eclipse exits -- as a separate process it can still be killed without any further problems in the Eclipse VM). The class where the logic for handling communication with the shell is the AbstractShell.java (so, that's the place you'd change). Cheers, Fabio |
From: Kostas G. <geo...@gm...> - 2010-02-01 19:28:05
|
Hello Fabio, I don't know about its efficiency, but if it is implemented as a worker thread (like swingworker in swing) do you think that the halting will still be possible?? I understand that generally this would be a second choice, or second citizen, but probably it could boost the jython part. In every case I would appreciate any help if I decide to go this route. thanx kostas 2010/1/29 Kostas Georgiou <geo...@gm...> > Hello again, > I would appreciate it if you could comment on this subject. > I also wanted some help on pointing out the classes that implement the > client-server functionality of completion and console, to investigate the > possibility of implementing it. > > Thanx in advance > Kostas > > > Hi again, >> >So, that would be more for speed right? >> yessss. Probably it will get some speed up, don't you think? >> >> >I must say that I'm not sure that >> >this approach is feasible because when you're gathering completions, you >> >actually want to use a different Python or Jython interpreter (and not >> embed >> >all into the Eclipse VM), >> putting it in a thread with different classloader (equinox magic) is >> making it actually a different interpreter, or not?? Is just that you should >> do all the initialization of package additions manually (addJar, addDir, >> etc). >> >> >and making it a Thread you wouldn't have access to that. >> can you explain it a bit more please. The communication could be done >> through a shared variable, a pipe stream, asychronous method invocation or >> something else. >> >> >What do you think? >> thinking.... :-)So you think is difficult? >> >> Regards, >> Kostas >> > > |
From: Fabio Z. <fa...@es...> - 2010-02-01 00:08:04
|
On Fri, Jan 29, 2010 at 10:06 AM, Kostas Georgiou <geo...@gm...>wrote: > Hello again, > I would appreciate it if you could comment on this subject. > I also wanted some help on pointing out the classes that implement the > client-server functionality of completion and console, to investigate the > possibility of implementing it. > > Thanx in advance > Kostas > > > Hi again, >> >So, that would be more for speed right? >> yessss. Probably it will get some speed up, don't you think? >> >> >I must say that I'm not sure that >> >this approach is feasible because when you're gathering completions, you >> >actually want to use a different Python or Jython interpreter (and not >> embed >> >all into the Eclipse VM), >> putting it in a thread with different classloader (equinox magic) is >> making it actually a different interpreter, or not?? Is just that you should >> do all the initialization of package additions manually (addJar, addDir, >> etc). >> >> >and making it a Thread you wouldn't have access to that. >> can you explain it a bit more please. The communication could be done >> through a shared variable, a pipe stream, asychronous method invocation or >> something else. >> >> >What do you think? >> thinking.... :-)So you think is difficult? >> >> Regards, >> Kostas >> > > Hi Kostas, I don't think it's difficult, but I do think that it should still be a spawned shell and not the same process as Eclipse because client code (which you'll import to do the completions) could end up halting the Eclipse VM (which doesn't seem like a nice thing for me). Thoughts? Cheers, Fabio p.s.: The communication for the completions is currently done in the AbstractShell class. |
From: Kostas G. <geo...@gm...> - 2010-01-29 12:06:26
|
Hello again, I would appreciate it if you could comment on this subject. I also wanted some help on pointing out the classes that implement the client-server functionality of completion and console, to investigate the possibility of implementing it. Thanx in advance Kostas Hi again, > >So, that would be more for speed right? > yessss. Probably it will get some speed up, don't you think? > > >I must say that I'm not sure that > >this approach is feasible because when you're gathering completions, you > >actually want to use a different Python or Jython interpreter (and not > embed > >all into the Eclipse VM), > putting it in a thread with different classloader (equinox magic) is making > it actually a different interpreter, or not?? Is just that you should do all > the initialization of package additions manually (addJar, addDir, etc). > > >and making it a Thread you wouldn't have access to that. > can you explain it a bit more please. The communication could be done > through a shared variable, a pipe stream, asychronous method invocation or > something else. > > >What do you think? > thinking.... :-)So you think is difficult? > > Regards, > Kostas > |
From: Kostas G. <geo...@gm...> - 2010-01-26 14:38:06
|
Hi again, >So, that would be more for speed right? yessss. Probably it will get some speed up, don't you think? >I must say that I'm not sure that >this approach is feasible because when you're gathering completions, you >actually want to use a different Python or Jython interpreter (and not embed >all into the Eclipse VM), putting it in a thread with different classloader (equinox magic) is making it actually a different interpreter, or not?? Is just that you should do all the initialization of package additions manually (addJar, addDir, etc). >and making it a Thread you wouldn't have access to that. can you explain it a bit more please. The communication could be done through a shared variable, a pipe stream, asychronous method invocation or something else. >What do you think? thinking.... :-)So you think is difficult? Regards, Kostas |
From: Fabio Z. <fa...@gm...> - 2010-01-26 10:24:44
|
Hi Kostas, On Tue, Jan 26, 2010 at 5:43 AM, Kostas Georgiou <geo...@gm...> wrote: > Hi, > i would like to digg into pydev code for creating the option of having a > threaded jython interpreter for the interactive console and for the > completion server. So I think instead of firing a process we could start a > thread monitoring a stream or caliing one's another method. this could only > be a choice for jython as it is java. Last time, some time ago, I checked > the source code, the completion server was in pycompletionserver.py, as it > was universal for all implementations of python. So which files you think I > should check?? > > The problem with this approach is more on console, as it has to be one > specific version of jython interpreter enabled every time. Maybe in > completion it can be overcome. But as far as I am concerned I don't care > about different versions. So are you interested in such a feature? Probably > the console and completion will be a lot faster as a thread, don't you > think? > > So, that would be more for speed right? I must say that I'm not sure that this approach is feasible because when you're gathering completions, you actually want to use a different Python or Jython interpreter (and not embed all into the Eclipse VM), and making it a Thread you wouldn't have access to that. What do you think? Cheers, Fabio |
From: Kostas G. <geo...@gm...> - 2010-01-26 07:44:00
|
Hi, i would like to digg into pydev code for creating the option of having a threaded jython interpreter for the interactive console and for the completion server. So I think instead of firing a process we could start a thread monitoring a stream or caliing one's another method. this could only be a choice for jython as it is java. Last time, some time ago, I checked the source code, the completion server was in pycompletionserver.py, as it was universal for all implementations of python. So which files you think I should check?? The problem with this approach is more on console, as it has to be one specific version of jython interpreter enabled every time. Maybe in completion it can be overcome. But as far as I am concerned I don't care about different versions. So are you interested in such a feature? Probably the console and completion will be a lot faster as a thread, don't you think? Best regards Kostas |
From: Doubleday, D. <ddo...@vo...> - 2010-01-25 18:35:56
|
OK, I did that. A related question-trying to implement a CompletionParticipant. Wanted to pass back proposals so I could specify a priority. The doc says you can return a list of ICompletionProposal or IToken, but looks pretty clear you can actually only pass ITokens back? /** * Called when a completion is requested for some token whose type we don't know about * (excluding parameters -- that's handled at getCompletionsForMethodParameter) * * E.g.: * for a in xrange(10): * a.|<-- as variables created in the for are not resolved to any known type, this method is called on extensions. * * * @param state The state for the completion * @param localScope The current local scope for the completion * @param interfaceForLocal a list of tokens that were called in the local scope for the passed activation token. * * @return a list of proposals or tokens * @see org.eclipse.jface.text.contentassist.ICompletionProposal * @see org.python.pydev.core.IToken */ Collection<IToken> getCompletionsForTokenWithUndefinedType(ICompletionState state, ILocalScope localScope, Collection<IToken> interfaceForLocal); ________________________________ From: Fabio Zadrozny [mailto:fa...@gm...] Sent: Friday, January 22, 2010 7:38 PM To: pyd...@li... Subject: Re: [Pydev-code] Ordering of completion proposals Not really... but that can be probably coded. Please open a feature request for that. Cheers, Fabio On Fri, Jan 22, 2010 at 6:25 PM, Doubleday, Dennis <ddo...@vo...> wrote: Almost always, when typing Ctrl-Space at the ".", the completion proposal that I want to choose does NOT begin with an underscore, yet PyDev sorts the proposals so that all candidates beginning with underscore sort to the top, so I have to scroll down to find the most likely candidates. I don't see a way as either a user or a developer to change that behavior; the code shows me that the static final IPyCodeCompletion.PROPOSAL_COMPARATOR is used to sort the candidates. Am I missing a hook or a setting? Dennis Doubleday Enterprise Software Architect Vocollect, Inc. 703 Rodi Road Pittsburgh, PA 15235-4558 Tel: 412.349.2568 Fax: 412.8249465 www.vocollect.com CONFIDENTIALITY NOTICE This message, together with any attachments, may be legally privileged and is confidential information intended only for the use of the individual or entity to which it is addressed. It is exempt from disclosure under applicable law including court orders. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution or copy of this message, or any attachment, is strictly prohibited. If you have received this message in error, please notify the original sender and delete this message, along with any attachments, from your computer. -----Original Message----- From: Fabio Zadrozny [mailto:fa...@gm...] Sent: Tuesday, December 29, 2009 2:16 PM To: pyd...@li... Subject: Re: [Pydev-code] How can I work on this ticket? > I want to work on this ticket. How can I start? I don't even know where to > begin... Is there some suggested reading or code examples? > https://sourceforge.net/tracker/index.php?func=detail&aid=1874333&group_ id=85796&atid=577332# <https://sourceforge.net/tracker/index.php?func=detail&aid=1874333&group _%0Aid=85796&atid=577332> The first step would be creating a grammar for it... I've created a page describing the process for creating the grammar at: http://pydev.org/developers_grammar.html Cheers, Fabio ------------------------------------------------------------------------ ------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ pydev-code mailing list pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code ------------------------------------------------------------------------ ------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ pydev-code mailing list pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code |
From: Fabio Z. <fa...@gm...> - 2010-01-23 00:40:41
|
Not really... but that can be probably coded. Please open a feature request for that. Cheers, Fabio On Fri, Jan 22, 2010 at 6:25 PM, Doubleday, Dennis <ddo...@vo... > wrote: > > Almost always, when typing Ctrl-Space at the ".", the completion > proposal that I want to choose does NOT begin with an underscore, yet > PyDev sorts the proposals so that all candidates beginning with > underscore sort to the top, so I have to scroll down to find the most > likely candidates. > > I don't see a way as either a user or a developer to change that > behavior; the code shows me that the static final > IPyCodeCompletion.PROPOSAL_COMPARATOR is used to sort the candidates. Am > I missing a hook or a setting? > > Dennis Doubleday > Enterprise Software Architect > > Vocollect, Inc. > 703 Rodi Road > Pittsburgh, PA 15235-4558 > Tel: 412.349.2568 > Fax: 412.8249465 > www.vocollect.com > > CONFIDENTIALITY NOTICE > This message, together with any attachments, may be legally privileged > and is confidential information intended only for the use of the > individual or entity to which it is addressed. It is exempt from > disclosure under applicable law including court orders. If you are not > the intended recipient, you are hereby notified that any use, > dissemination, distribution or copy of this message, or any attachment, > is strictly prohibited. If you have received this message in error, > please notify the original sender and delete this message, along with > any attachments, from your computer. > > > -----Original Message----- > From: Fabio Zadrozny [mailto:fa...@gm...] > Sent: Tuesday, December 29, 2009 2:16 PM > To: pyd...@li... > Subject: Re: [Pydev-code] How can I work on this ticket? > > > > I want to work on this ticket. How can I start? I don't even know > where to > > begin... Is there some suggested reading or code examples? > > > https://sourceforge.net/tracker/index.php?func=detail&aid=1874333&group_ > id=85796&atid=577332#<https://sourceforge.net/tracker/index.php?func=detail&aid=1874333&group_%0Aid=85796&atid=577332#> > > > The first step would be creating a grammar for it... I've created a > page describing the process for creating the grammar at: > http://pydev.org/developers_grammar.html > > Cheers, > > Fabio > > ------------------------------------------------------------------------ > ------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: Doubleday, D. <ddo...@vo...> - 2010-01-22 20:50:48
|
Almost always, when typing Ctrl-Space at the ".", the completion proposal that I want to choose does NOT begin with an underscore, yet PyDev sorts the proposals so that all candidates beginning with underscore sort to the top, so I have to scroll down to find the most likely candidates. I don't see a way as either a user or a developer to change that behavior; the code shows me that the static final IPyCodeCompletion.PROPOSAL_COMPARATOR is used to sort the candidates. Am I missing a hook or a setting? Dennis Doubleday Enterprise Software Architect Vocollect, Inc. 703 Rodi Road Pittsburgh, PA 15235-4558 Tel: 412.349.2568 Fax: 412.8249465 www.vocollect.com CONFIDENTIALITY NOTICE This message, together with any attachments, may be legally privileged and is confidential information intended only for the use of the individual or entity to which it is addressed. It is exempt from disclosure under applicable law including court orders. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution or copy of this message, or any attachment, is strictly prohibited. If you have received this message in error, please notify the original sender and delete this message, along with any attachments, from your computer. -----Original Message----- From: Fabio Zadrozny [mailto:fa...@gm...] Sent: Tuesday, December 29, 2009 2:16 PM To: pyd...@li... Subject: Re: [Pydev-code] How can I work on this ticket? > I want to work on this ticket. How can I start? I don't even know where to > begin... Is there some suggested reading or code examples? > https://sourceforge.net/tracker/index.php?func=detail&aid=1874333&group_ id=85796&atid=577332# The first step would be creating a grammar for it... I've created a page describing the process for creating the grammar at: http://pydev.org/developers_grammar.html Cheers, Fabio ------------------------------------------------------------------------ ------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ pydev-code mailing list pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code |
From: Fabio Z. <fa...@gm...> - 2010-01-19 23:47:58
|
Hi All, Pydev 1.5.4 has been released Details on Pydev: http://pydev.org Details on its development: http://pydev.blogspot.com Release Highlights: ------------------------------- * Actions: o Go to matching bracket (Ctrl + Shift + P) o Copy the qualified name of the current context to the clipboard. o Ctrl + Shift + T keybinding is resolved to show globals in any context (note: a conflict may occur if JDT is present -- it can be fixed at the keys preferences if wanted). o Ctrl + 2 shows a dialog with the list of available options. o Wrap paragraph is available in the source menu. o Globals browser will start with the current word if no selection is available (if possible). * Templates: o Scripting engine can be used to add template variables to Pydev. o New template variables for next, previous class or method, current module, etc. o New templates for super and super_raw. o print is now aware of Python 3.x or 2.x * Code analysis and code completion: o Fixed problem when getting builtins with multiple Python interpreters configured. o If there's a hasattr(obj, 'attr), 'attr' will be considered in the code completion and code analysis. o Fixed issue where analysis was only done once when set to only analyze open editor. o Proper namespace leakage semantic in list comprehension. o Better calltips in IronPython. o Support for code-completion in Mac OS (interpreter was crashing if _CF was not imported in the main thread). * Grammar: o Fixed issues with 'with' being used as name or keyword in 2.5. o Fixed error when using nested list comprehension. o Proper 'as' and 'with' handling in 2.4 and 2.5. o 'with' statement accepts multiple items in python 3.0. * Improved hover: o Showing the actual contents of method or class when hovering. o Link to the definition of the token being hovered (if class or method). * Others: o Completions for [{( are no longer duplicated when on block mode. o String substitution can now be configured in the interpreter. o Fixed synchronization issue that could make Pydev halt. o Fixed problem when editing with collapsed code. o Import wasn't found for auto-import location if it import started with 'import' (worked with 'from') o Fixed interactive console problem with help() function in Python 3.1 o NullPointerException fix in compare editor. What is Pydev? --------------------------- Pydev is a plugin that enables users to use Eclipse for Python, Jython and IronPython development -- making Eclipse a first class Python IDE -- It comes with many goodies such as code completion, syntax highlighting, syntax analysis, refactor, debug and many others. Cheers, -- Fabio Zadrozny ------------------------------------------------------ Software Developer Aptana http://aptana.com/python Pydev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com |
From: vincent l. <lap...@ho...> - 2010-01-12 18:13:13
|
I will send this email to the pydev-user list instead of this one. I'm sorry. Vincent ---------------------------------------- > From: lap...@ho... > To: pyd...@li... > Date: Tue, 12 Jan 2010 17:45:58 +0000 > Subject: [Pydev-code] Running script without project > > > > Hi, > > I'm using pydev in a rcp application and I would like to known if it is possible to execute a Python script with the pydev plugin without creating a project before. Currently my application, looks for existing project with the pydev nature and them create the launch configuration based on the Project properties. However, some parts of my rcp application required to run script when no project exists. > > What is the best way to achieve this? > > Thanks > > > _________________________________________________________________ > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code _________________________________________________________________ |
From: vincent l. <lap...@ho...> - 2010-01-12 17:46:13
|
Hi, I'm using pydev in a rcp application and I would like to known if it is possible to execute a Python script with the pydev plugin without creating a project before. Currently my application, looks for existing project with the pydev nature and them create the launch configuration based on the Project properties. However, some parts of my rcp application required to run script when no project exists. What is the best way to achieve this? Thanks _________________________________________________________________ |
From: Fabio Z. <fa...@gm...> - 2009-12-29 22:20:19
|
On Tue, Dec 29, 2009 at 4:23 PM, j brandon keith <jbr...@gm...> wrote: > ...actually, a lot of us feel that way about "our favorite tickets", > whether we've had time to submit them or not...i've seen some material > on the web about how to "get started" with pydev development...an > expansion/update of that would be nice :) Hi Brandon, Agreed... I'll start putting up content whenever I get questions on how to do a specific feature (just started on with how to work with the pydev grammar). Cheers, Fabio |
From: Fabio Z. <fa...@gm...> - 2009-12-29 19:16:13
|
> I want to work on this ticket. How can I start? I don't even know where to > begin... Is there some suggested reading or code examples? > https://sourceforge.net/tracker/index.php?func=detail&aid=1874333&group_id=85796&atid=577332# The first step would be creating a grammar for it... I've created a page describing the process for creating the grammar at: http://pydev.org/developers_grammar.html Cheers, Fabio |
From: j b. k. <jbr...@gm...> - 2009-12-29 18:24:28
|
...actually, a lot of us feel that way about "our favorite tickets", whether we've had time to submit them or not...i've seen some material on the web about how to "get started" with pydev development...an expansion/update of that would be nice :) brandon On Mon, Dec 28, 2009 at 2:11 PM, Sancho McCann <sa...@gm...> wrote: > I want to work on this ticket. How can I start? I don't even know where to > begin... Is there some suggested reading or code examples? > https://sourceforge.net/tracker/index.php?func=detail&aid=1874333&group_id=85796&atid=577332# > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > > |
From: Sancho M. <sa...@gm...> - 2009-12-28 22:11:44
|
I want to work on this ticket. How can I start? I don't even know where to begin... Is there some suggested reading or code examples? https://sourceforge.net/tracker/index.php?func=detail&aid=1874333&group_id=85796&atid=577332# |
From: vincent l. <lap...@ho...> - 2009-12-22 17:14:13
|
Hi, I'm developping an RCP application that provides functionalities to execute Python script on host computer (the computer that runs our rcp app) and also on remote computers. Currently, our application uses Pydev to create Python launch configurations and then to execute them on host computer only. However, we would like to add settings in the launch configuration to also allow the user to specify on which rcomputer we want to execute the script (host or remote). Then, depending on the computer, Pydev will execute the script on the corresponding computer and always output results to the pydev console. My first idea to solve this problem was to override the Pydev launcher but I would like to know if there are any other way to do this. This new launcher will call the default launcher when the script run on the host computer or will call our "python script launcher" when the script run on remote computer. Note that our application provides a daemon service that is able to execute python script on remote computer and able to retrieve output... Here are my questions: 1- Is it possible to configure a pydev interpreter on a remote computer (and prevent us to use our deamon)? How? This solution could be very interesting for all pydev users... 2- If it is not possible, what it the best way to override the default pydev launcher to start script on a remote computer using our daemon and output results to pydev console (when a remote target is specified) 3- Could we easily add pages with our settings in the Pydev to the Run configurations dialog of the Python run configuration? Any suggestions or help will be appreciate... Thanks Vincent _________________________________________________________________ Eligible CDN College & University students can upgrade to Windows 7 before Jan 3 for only $39.99. Upgrade now! http://go.microsoft.com/?linkid=9691819 |
From: Fabio Z. <fa...@gm...> - 2009-12-21 11:17:55
|
On Mon, Dec 21, 2009 at 1:02 AM, Leo Soto M. <leo...@gm...> wrote: > Hi, > > I just merged the master branch on my ongoing Django plugin and seems > like the plugin won't compile anymore. AFAICS, > <http://github.com/aptana/Pydev/commit/298be2417ca9f9d7cfb9934e5dc81d3b79cd92f7> > broke it, or at least for me, since I'm using Eclipse 3.5. > > Am I (hopefully) talking nonsense? Is there a way to make the plugin > compile on when using Eclipse 3.5? Or do I need to use Eclipse 3.6 > now? > Hi Leo, Unfortunately, for compiling it, Eclipse 3.6 is needed now (but not for running it -- it should run from Eclipse 3.2 onwards, as the code that's dependent on newer versions is never executed or in some situations is properly handled in a try..except to handle the cases where the class is not defined). What I do when I want to compile using a different version is just commenting out the code that's not available for it (because from time to time I do have to add compatibility for older versions). So, if you want to stick to developing with Eclipse 3.5, simply comment out the offending code (the only thing that may annoy a bit is that you have to remove it when providing a patch / committing to your local git). I've just changed the code so that you'll only need to change 1 file (just update your local copy to get the changes). If you have other suggestions or a different workflow to suggest, I'm open to suggestions... Maybe providing a patch for each version with that code code-commented out could work (but then again, it might become outdated as the code evolves). I know hg provides something as a set of patches applied that don't actually work as if they are from the current development... maybe git has something alike? Cheers, Fabio |
From: Leo S. M. <leo...@gm...> - 2009-12-21 03:02:31
|
Hi, I just merged the master branch on my ongoing Django plugin and seems like the plugin won't compile anymore. AFAICS, <http://github.com/aptana/Pydev/commit/298be2417ca9f9d7cfb9934e5dc81d3b79cd92f7> broke it, or at least for me, since I'm using Eclipse 3.5. Am I (hopefully) talking nonsense? Is there a way to make the plugin compile on when using Eclipse 3.5? Or do I need to use Eclipse 3.6 now? Regards, -- Leo Soto M. http://blog.leosoto.com |
From: Fabio Z. <fa...@es...> - 2009-12-17 00:06:35
|
The build directory may contain temporary files for the packaging. Cheers, Fabio On Wed, Dec 16, 2009 at 9:39 PM, Randolph Fritz <rfr...@gm...> wrote: > Thanks! I think that looks like a good model and I may adopt it. > > Where do you actually place the distribution for packaging? > > Randolph > > On 2009-12-14, Fabio Zadrozny <fa...@gm...> wrote: >> Not sure if there's a 'standard' practice, but usually I work as: >> >> /project >> /build <- contains several build utilities (SConstruct, an >> install.py used for code-generation, etc). >> /libs <- contains generated dlls (when doing 32/64 builds there's >> a directory inside making the distinction). >> /source >> /python <- this is the actual source folder for python >> /c++ <- c++ source files >> /c++ bindings <- these are only wrappings for c++ to python >> (each submodule generates a dll to be imported in python). >> >> Cheers, >> >> Fabio >> >> >> >> On Mon, Dec 14, 2009 at 6:39 PM, Randolph Fritz <rfr...@gm...> wrote: >>> What's current practice for organizing a cross-platform mixed >>> Python/C++ project directory? Source files under src, obviously. But >>> what about build files? Do I include the python sources in the >>> distribution? How do I keep the various platform-dependent files >>> separate? >>> >>> Anyone got a book or a link to recommend? Any specific tips or >>> gotchas you'd like to mention? >>> -- >>> Randolph Fritz >>> design machine group, architecture department, university of washington >>> rfritz@u.washington.edu -or- rfr...@gm... >>> >>> >>> ------------------------------------------------------------------------------ >>> Return on Information: >>> Google Enterprise Search pays you back >>> Get the facts. >>> http://p.sf.net/sfu/google-dev2dev >>> _______________________________________________ >>> pydev-code mailing list >>> pyd...@li... >>> https://lists.sourceforge.net/lists/listinfo/pydev-code >>> >> >> ------------------------------------------------------------------------------ >> Return on Information: >> Google Enterprise Search pays you back >> Get the facts. >> http://p.sf.net/sfu/google-dev2dev > > > -- > Randolph Fritz > design machine group, architecture department, university of washington > rfritz@u.washington.edu -or- rfr...@gm... > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: Randolph F. <rfr...@gm...> - 2009-12-16 23:40:10
|
Thanks! I think that looks like a good model and I may adopt it. Where do you actually place the distribution for packaging? Randolph On 2009-12-14, Fabio Zadrozny <fa...@gm...> wrote: > Not sure if there's a 'standard' practice, but usually I work as: > > /project > /build <- contains several build utilities (SConstruct, an > install.py used for code-generation, etc). > /libs <- contains generated dlls (when doing 32/64 builds there's > a directory inside making the distinction). > /source > /python <- this is the actual source folder for python > /c++ <- c++ source files > /c++ bindings <- these are only wrappings for c++ to python > (each submodule generates a dll to be imported in python). > > Cheers, > > Fabio > > > > On Mon, Dec 14, 2009 at 6:39 PM, Randolph Fritz <rfr...@gm...> wrote: >> What's current practice for organizing a cross-platform mixed >> Python/C++ project directory? Source files under src, obviously. But >> what about build files? Do I include the python sources in the >> distribution? How do I keep the various platform-dependent files >> separate? >> >> Anyone got a book or a link to recommend? Any specific tips or >> gotchas you'd like to mention? >> -- >> Randolph Fritz >> design machine group, architecture department, university of washington >> rfritz@u.washington.edu -or- rfr...@gm... >> >> >> ------------------------------------------------------------------------------ >> Return on Information: >> Google Enterprise Search pays you back >> Get the facts. >> http://p.sf.net/sfu/google-dev2dev >> _______________________________________________ >> pydev-code mailing list >> pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-code >> > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev -- Randolph Fritz design machine group, architecture department, university of washington rfritz@u.washington.edu -or- rfr...@gm... |