pydev-code Mailing List for PyDev for Eclipse (Page 25)
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: Fabio Z. <fa...@gm...> - 2009-02-24 23:40:44
|
Hi All, Pydev and Pydev Extensions 1.4.4 have been released -- note that the release already happened 4 days ago... :) Details on Pydev Extensions: http://www.fabioz.com/pydev Details on Pydev: http://pydev.sf.net Details on its development: http://pydev.blogspot.com Release Highlights in Pydev: ---------------------------------------------- This release fixes a critical bug when configuring the interpreter (if no environment variables were specified, it was not possible to configure an interpreter) 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 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 Extensions http://www.fabioz.com/pydev Pydev - Python Development Enviroment for Eclipse http://pydev.sf.net http://pydev.blogspot.com |
From: Fabio Z. <fa...@gm...> - 2009-02-19 23:16:28
|
Hi All, Pydev and Pydev Extensions 1.4.3 have been released Details on Pydev Extensions: http://www.fabioz.com/pydev Details on Pydev: http://pydev.sf.net Details on its development: http://pydev.blogspot.com Release Highlights in Pydev Extensions: ----------------------------------------------------------------- * Fixed racing conditions in the context-insensitive indexing which could corrupt the index. * Search references working on Eclipse 3.3 and Eclipse 3.4 * Lambda properly treated as a new context for code-analysis * Analysis is now recognizing __name__ * Analysis now marks variables used when accessed with augstore (+=) * Some definitions were not properly indexed on some assign cases Release Highlights in Pydev: ---------------------------------------------- * Interactive console The interpreter to be used can be chosen * New modules can be created from templates * Interpreter configuration improved! o Environment variables can be specified for a given interpreter o Canceling operation now works correctly * Debugger o Variables correctly gotten on Jython 2.1 / 2.2 o Using globals as an union of original globals+locals so that generator expressions can be evaluated o Breakpoints only opened on double-click (no longer on select) * The project preferences are now applied even if the page to configure the project is not visible. * Jython 2.5b1 working (problem with sitecustomize) * Wrap paragraph fixed * Set comprehension working on Python 3.0 parsing * Find definition working when a module outside of the known pythonpath is found * Source folders were not properly found sometimes -- when workspace was not properly refreshed * Invalid modules could get in the memory * Getting the grammar version for a project could be wrong (and could loose its indexing at that time) * Multiple external zip files can be added at once to the pythonpath * nonlocal added to keywords * Fixed annoying problem where cursor was jumping when it shouldn't (outline) * Fixed problem where the breakpoint could be lost (now, playing safe and matching anything in the file if the context cannot be gotten) * Ctrl + 2 + --reindex can be used to reindex all the opened projects if the indexing becomes corrupt * Changing nothing on project config and pressing OK no longer reanalyzes the modules 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 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 Extensions http://www.fabioz.com/pydev Pydev - Python Development Enviroment for Eclipse http://pydev.sf.net http://pydev.blogspot.com |
From: Radim K. <ra...@ku...> - 2009-02-10 00:45:51
|
... though it has some problems with trunk checkout. radimkubacki@radim:~/src/aptana/pydev$ svn co -r HEAD http://svn.aptana.com/svn/pydev/trunk trunk --username anonymous --password aptana ... Fetching external item into 'trunk/builders/org.python.pydev.build/lib' svn: PROPFIND request failed on '/svn/aptana/third_party/vendor/svnant-1.2.1/lib' svn: PROPFIND of '/svn/aptana/third_party/vendor/svnant-1.2.1/lib': Could not resolve hostname `svn.aptana.local': Host not found (http://svn.aptana.local) Anyway, now I will merge our build with 1.4.2 and this will keep me busy for a moment. -Radim On Mon, Feb 9, 2009 at 9:19 AM, Radim Kubacki <ra...@ku...> wrote: > Thanks, this works. > > -Radim > > On Sun, Feb 8, 2009 at 9:09 AM, Fabio Zadrozny <fa...@es...> wrote: >> It changed and the homepage is still not updated (should be for the >> next release). For now, take a look at: >> http://pydev.blogspot.com/2009/01/new-pydev-repository-location.html >> >> Cheers, >> >> Fabio >> >> On Fri, Feb 6, 2009 at 5:27 PM, Radim Kubacki <ra...@ku...> wrote: >>> Hi, >>> >>> how can I get pydev sources now? They were moved to Aptana's SVN and >>> instructions from http://pydev.sourceforge.net/developers.html worked >>> for a while. It is broken now and I am getting these errors: >>> >>> $ svn log build.xml >>> svn: PROPFIND request failed on '/pydev_repo/tags/pydev_1_4_1/build.xml' >>> svn: PROPFIND of '/pydev_repo/tags/pydev_1_4_1/build.xml': 405 Method >>> Not Allowed (https://source.aptana.com) >>> >>> I get similar error when I try to use IDE to checkout pydev_1_4_2. >>> >>> -Radim >>> >>> ------------------------------------------------------------------------------ >>> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) >>> software. With Adobe AIR, Ajax developers can use existing skills and code to >>> build responsive, highly engaging applications that combine the power of local >>> resources and data with the reach of the web. Download the Adobe AIR SDK and >>> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com >>> _______________________________________________ >>> pydev-code mailing list >>> pyd...@li... >>> https://lists.sourceforge.net/lists/listinfo/pydev-code >>> >> >> ------------------------------------------------------------------------------ >> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) >> software. With Adobe AIR, Ajax developers can use existing skills and code to >> build responsive, highly engaging applications that combine the power of local >> resources and data with the reach of the web. Download the Adobe AIR SDK and >> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com >> _______________________________________________ >> pydev-code mailing list >> pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-code >> > |
From: Radim K. <ra...@ku...> - 2009-02-09 17:49:45
|
Thanks, this works. -Radim On Sun, Feb 8, 2009 at 9:09 AM, Fabio Zadrozny <fa...@es...> wrote: > It changed and the homepage is still not updated (should be for the > next release). For now, take a look at: > http://pydev.blogspot.com/2009/01/new-pydev-repository-location.html > > Cheers, > > Fabio > > On Fri, Feb 6, 2009 at 5:27 PM, Radim Kubacki <ra...@ku...> wrote: >> Hi, >> >> how can I get pydev sources now? They were moved to Aptana's SVN and >> instructions from http://pydev.sourceforge.net/developers.html worked >> for a while. It is broken now and I am getting these errors: >> >> $ svn log build.xml >> svn: PROPFIND request failed on '/pydev_repo/tags/pydev_1_4_1/build.xml' >> svn: PROPFIND of '/pydev_repo/tags/pydev_1_4_1/build.xml': 405 Method >> Not Allowed (https://source.aptana.com) >> >> I get similar error when I try to use IDE to checkout pydev_1_4_2. >> >> -Radim >> >> ------------------------------------------------------------------------------ >> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) >> software. With Adobe AIR, Ajax developers can use existing skills and code to >> build responsive, highly engaging applications that combine the power of local >> resources and data with the reach of the web. Download the Adobe AIR SDK and >> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com >> _______________________________________________ >> pydev-code mailing list >> pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-code >> > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: Fabio Z. <fa...@es...> - 2009-02-08 17:09:50
|
It changed and the homepage is still not updated (should be for the next release). For now, take a look at: http://pydev.blogspot.com/2009/01/new-pydev-repository-location.html Cheers, Fabio On Fri, Feb 6, 2009 at 5:27 PM, Radim Kubacki <ra...@ku...> wrote: > Hi, > > how can I get pydev sources now? They were moved to Aptana's SVN and > instructions from http://pydev.sourceforge.net/developers.html worked > for a while. It is broken now and I am getting these errors: > > $ svn log build.xml > svn: PROPFIND request failed on '/pydev_repo/tags/pydev_1_4_1/build.xml' > svn: PROPFIND of '/pydev_repo/tags/pydev_1_4_1/build.xml': 405 Method > Not Allowed (https://source.aptana.com) > > I get similar error when I try to use IDE to checkout pydev_1_4_2. > > -Radim > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: Radim K. <ra...@ku...> - 2009-02-06 19:27:45
|
Hi, how can I get pydev sources now? They were moved to Aptana's SVN and instructions from http://pydev.sourceforge.net/developers.html worked for a while. It is broken now and I am getting these errors: $ svn log build.xml svn: PROPFIND request failed on '/pydev_repo/tags/pydev_1_4_1/build.xml' svn: PROPFIND of '/pydev_repo/tags/pydev_1_4_1/build.xml': 405 Method Not Allowed (https://source.aptana.com) I get similar error when I try to use IDE to checkout pydev_1_4_2. -Radim |
From: Fabio Z. <fa...@es...> - 2009-02-06 18:05:19
|
On Fri, Feb 6, 2009 at 1:25 PM, Frédéric Degraeve <fre...@gm...> wrote: > Hello, > > Do you know if it is possible to delete automatically spaces at the > end of the lines when the file is saved with eclipse or pydev? Pydev does not have that support builtin, but there's another plugin that can do it: http://andrei.gmxhome.de/anyedit/index.html Cheers, Fabio |
From: Frédéric D. <fre...@gm...> - 2009-02-06 15:25:23
|
Hello, Do you know if it is possible to delete automatically spaces at the end of the lines when the file is saved with eclipse or pydev? Thank you Frédéric On Fri, Feb 6, 2009 at 4:02 PM, Tony Blundell <ton...@gm...> wrote: > Hi there, > > In Eclipse.. > > Window -> Preferences -> Pydev-> Tab length. > > The default is 4, but you can change it to whatever you like. > > Regards, > Tony. > > On Fri, Feb 6, 2009 at 1:50 PM, cedric briner <wo...@in...> wrote: >> >> Hi, >> I'd like to have the ability to edit my code with indentation of 3 >> <space> instead of 4. >> >> And it, will be very interesting if pydev could allow me to save it with >> 4<space> but edit it with 3<space>. Which will help me, when importing >> code or exporting it. >> >> I've heard of such ability to have a hook on vim, and I'll be glad to >> hear to do such things with eclipse and or pydev. >> http://www.vim.org/htmldoc/autocmd.html#BufRead >> http://www.vim.org/htmldoc/autocmd.html#BufWrite >> >> >> -- >> >> Cedric BRINER >> Geneva - Switzerland >> >> >> ------------------------------------------------------------------------------ >> Create and Deploy Rich Internet Apps outside the browser with >> Adobe(R)AIR(TM) >> software. With Adobe AIR, Ajax developers can use existing skills and code >> to >> build responsive, highly engaging applications that combine the power of >> local >> resources and data with the reach of the web. Download the Adobe AIR SDK >> and >> Ajax docs to start building applications >> today-http://p.sf.net/sfu/adobe-com >> _______________________________________________ >> pydev-code mailing list >> pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-code > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > > |
From: Tony B. <ton...@gm...> - 2009-02-06 15:02:25
|
Hi there, In Eclipse.. Window -> Preferences -> Pydev-> Tab length. The default is 4, but you can change it to whatever you like. Regards, Tony. On Fri, Feb 6, 2009 at 1:50 PM, cedric briner <wo...@in...> wrote: > Hi, > I'd like to have the ability to edit my code with indentation of 3 > <space> instead of 4. > > And it, will be very interesting if pydev could allow me to save it with > 4<space> but edit it with 3<space>. Which will help me, when importing > code or exporting it. > > I've heard of such ability to have a hook on vim, and I'll be glad to > hear to do such things with eclipse and or pydev. > http://www.vim.org/htmldoc/autocmd.html#BufRead > http://www.vim.org/htmldoc/autocmd.html#BufWrite > > > -- > > Cedric BRINER > Geneva - Switzerland > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK > and > Ajax docs to start building applications today- > http://p.sf.net/sfu/adobe-com > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: cedric b. <wo...@in...> - 2009-02-06 14:38:39
|
Hi, I'd like to have the ability to edit my code with indentation of 3 <space> instead of 4. And it, will be very interesting if pydev could allow me to save it with 4<space> but edit it with 3<space>. Which will help me, when importing code or exporting it. I've heard of such ability to have a hook on vim, and I'll be glad to hear to do such things with eclipse and or pydev. http://www.vim.org/htmldoc/autocmd.html#BufRead http://www.vim.org/htmldoc/autocmd.html#BufWrite -- Cedric BRINER Geneva - Switzerland |
From: Heikki T. <hj...@co...> - 2009-01-30 04:04:45
|
I just read about some research that was done by an old colleague of mine. The premise was that if a programmer is looking for a piece of code, for example the code that handles resizing of an element on screen, it would be much easier to do if you could do two code coverage runs where in one run you would resize the element and in the second you wouldn't. In many cases her test subjects could not even find some tricky pieces of code without such a coverage diff tool. She released a very rough version of such a tool for Java, called Tripoli (http://programmerproductivity.info/tripoli/index.php). While the typical Python program will likely have far fewer lines of code executed than many other languages (especially Java), it seems to me that coverage diff tool for Python would still be really useful. How hard would it be to add support for such a thing in PyDev? Does anyone else have any interest in this? -- Heikki Toivonen - http://heikkitoivonen.net |
From: Fabio Z. <fa...@es...> - 2009-01-26 18:16:23
|
> Hello Fabio, > thank you for the reply. While looking at the pydevd sources another question came up: > > It looks like it is only usable with the PyDev Extension which is not open source. Is this correct? Or can pydevd act as a debug server which other clients can connect to without any closed source extensions? That's not really correct. Other clients can connect without any closed source extensions (there is a remote debugger part that's closed source, but that's mostly related to the communication in the Eclipse side of things... which are only distributed with Pydev Extensions). Cheers, Fabio |
From: Yoso K. <yos...@ym...> - 2009-01-26 18:08:38
|
Hello Fabio, thank you for the reply. While looking at the pydevd sources another question came up: It looks like it is only usable with the PyDev Extension which is not open source. Is this correct? Or can pydevd act as a debug server which other clients can connect to without any closed source extensions? Thank you Yoso >> For a small application of mine that allows python scripting I would like to >> add single step execution, maybe more debug functionality later. >> I think that the pydevd daemon may be the ideal solution. Is it documented >> somewhere if and how to use pydevd without the rest of the PyDev >> environment? > >Not really... but you should be able to get to it from the tests (they >are not extensive, but I think you should be able to track how >messages are received/sent from the debugger). The tests are at: >http://svn.aptana.com/svn/pydev/trunk/plugins/org.python.pydev.debug/pysrc/tests_python/ > >and the file: http://svn.aptana.com/svn/pydev/trunk/plugins/org.python.pydev.debug/pysrc/pydevd_comm.py >should have an overview of the communication commands. |
From: Fabio Z. <fa...@gm...> - 2009-01-26 17:02:47
|
Hi Yoso, > For a small application of mine that allows python scripting I would like to > add single step execution, maybe more debug functionality later. > I think that the pydevd daemon may be the ideal solution. Is it documented > somewhere if and how to use pydevd without the rest of the PyDev > environment? Not really... but you should be able to get to it from the tests (they are not extensive, but I think you should be able to track how messages are received/sent from the debugger). The tests are at: http://svn.aptana.com/svn/pydev/trunk/plugins/org.python.pydev.debug/pysrc/tests_python/ and the file: http://svn.aptana.com/svn/pydev/trunk/plugins/org.python.pydev.debug/pysrc/pydevd_comm.py should have an overview of the communication commands. Cheers, Fabio |
From: Yoso K. <yos...@ym...> - 2009-01-25 21:02:54
|
Hello! For a small application of mine that allows python scripting I would like to add single step execution, maybe more debug functionality later. I think that the pydevd daemon may be the ideal solution. Is it documented somewhere if and how to use pydevd without the rest of the PyDev environment? Thank you Yoso |
From: Fabio Z. <fa...@gm...> - 2009-01-14 09:41:15
|
On Wed, Jan 14, 2009 at 3:06 AM, Craig <fas...@ya...> wrote: > How do i get my python 2.5.4 to work in my eclipse pydev plugin? > Follow the getting started manual: http://fabioz.com/pydev/manual_101_root.html p.s. This list is for code questions. For user questions please use the forum (http://sourceforge.net/forum/forum.php?forum_id=293649) or the pydev-users list (https://lists.sourceforge.net/lists/listinfo/pydev-users) Cheers, Fabio |
From: Craig <fas...@ya...> - 2009-01-14 05:06:36
|
How do i get my python 2.5.4 to work in my eclipse pydev plugin? |
From: Fabio Z. <fa...@gm...> - 2009-01-13 23:21:15
|
Hi All, Pydev and Pydev Extensions 1.4.2 have been released Details on Pydev Extensions: http://www.fabioz.com/pydev Details on Pydev: http://pydev.sf.net Details on its development: http://pydev.blogspot.com Release Highlights in Pydev Extensions: ----------------------------------------------------------------- * Context insensitive code-completion working with multiple interpreters * Fixed code analysis problem on staticmethod * Giving proper warning on version mismatch * Remote debugger fix Release Highlights in Pydev: ---------------------------------------------- * Interpreter can be configured on a per-project basis * Jython 2.5b0 properly supported * Find definition working for Jython builtins * Run: can be python/jython even if it doesn't match the interpreter configured for the project * Fixed problem on find definition if one of the interpreters was not configured * Fixed halting condition that could occur on code-completion * __file__ available in code-completion * Reorganized preferences (removed editor preferences from the root) * Preferences for showing hover info * Fixed problem when formatting binary operator that was in a new line * When converting spaces to tabs (and vice-versa), the number of spaces for each tab is asked * Debugger o When finishing the user code debugging, it doesn't step into the debugger code anymore o Fixes for working with Jython o Fix for Python 3.0 integration (could not resolve variables) 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 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 Extensions http://www.fabioz.com/pydev Pydev - Python Development Enviroment for Eclipse http://pydev.sf.net http://pydev.blogspot.com |
From: Fabio Z. <fa...@gm...> - 2008-12-08 00:28:07
|
> 1) Why do we need extension points to define our own Python interpreter > MANAGER? > > ... > > I checked how this would affect current pydev core. In fact, we just need to > change the PydevPlugin: the python interpreters managers wouldn't be defined > there anymore, but on a PythonInterpreterManagerRegistry class which gets > the PythonInterpreterManagers from .xml files (defined as extension points) > and some more a couple of classes that access the python interpreters > managers by using PydevPlugin#getPythonInterpreterManager() or > PydevPlugin#getJythonInterpreterManager(). Do you think you can create/send a patch for that? As you know your problem better than me, you're probably better suited to solve that (the only thing is that you should also provide a unit-test for the feature implemented, as the default version probably won't use it -- otherwise it may end up being removed or broken for some reason). See http://pydev.sourceforge.net/developers.html for details on how to create the patch. Cheers, Fabio |
From: Raul F. H. <ra...@em...> - 2008-12-05 20:18:24
|
Hi, On Thu, Dec 4, 2008 at 10:29 PM, Fabio Zadrozny <fa...@gm...> wrote: > > For maemo applications, we need to run commands on Scratchbox, using the > > command "/scratchbox/login <command>". In addiction, we can execute this > > command also on a remote environment throught ssh (ssh user@X.X.X.X > > python2.5 ...) > > Given that, how are you planning to make Pydev run that interpreter > from within eclipse? Don't you feel it's easier to create an > executable that runs things as if it was a local version of python.exe > and gathers things from the actual remote interpreter? (making a > custom interpreter won't actually solve the problem of how to execute > things remotely... the execution part is pretty much separated from > the interpreter configuration -- not that it can't be done, but I'm > not sure it's worth it). > Commands are being executed on remote (or local, but "sandboxed" environments) properly and the Python interpreter is not used to run these commands. 1) Why do we need extension points to define our own Python interpreter MANAGER? on class *org.python.pydev.ui.interpreters.PythonInterpreterManager*, the following method is used to obtain information about a certain Python interpreter. public static Tuple<InterpreterInfo,String> doCreateInterpreterInfo(String executable, IProgressMonitor monitor) throws CoreException { .... *File script = PydevPlugin.getScriptWithinPySrc("interpreterInfo.py");** Tuple<String, String> outTup = new SimplePythonRunner().runAndGetOutputWithInterpreter(executable, REF.getFileAbsolutePath(script), null, null, null, monitor);* InterpreterInfo info = createInfoFromOutput(monitor, outTup); .... } The method SimplePythonRunner()#runAndGetOutputWithInterpreter runs the script <interpreterInfo.py>, which gets the information about the Python interpreter that is used to execute the script! For example, </usr/bin/python2.5 interpreterInfo.py> gets the information about /usr/bin/python2.5. If I want to get information about an interpreter that is located on a sandboxed environment (for example, Scratchbox), I need to execute this command in a different format: </scratchbox/login /usr/bin/python2.5 interpreterInfo.py>. The point is that PythonInterpreterManager does not give us option to change the execution command line to execute the script <interpreterInfo.py>. We can also extend this problem to remote python interpreters. For example, maybe we need to define another script to get information about the remote interpreter (/usr/bin/python2.5 obtainRemoteInterpreterInfo.py>. In this case, the local interpreter is used just to start the script. We need extension points to create PythonInterpreterManagers so we can define how the information about a certain interpreter can be obtained by invoking the method AbstractInterpreterManager#doCreateInterpreterInfo(). Currently, there're only two PythonIntepreterManagers (python and jython), which are private attributes of PydevPlugin and defined on PydevPlugin#start. I checked how this would affect current pydev core. In fact, we just need to change the PydevPlugin: the python interpreters managers wouldn't be defined there anymore, but on a PythonInterpreterManagerRegistry class which gets the PythonInterpreterManagers from .xml files (defined as extension points) and some more a couple of classes that access the python interpreters managers by using PydevPlugin#getPythonInterpreterManager() or PydevPlugin#getJythonInterpreterManager(). []'s --Raul |
From: Fabio Z. <fa...@gm...> - 2008-12-05 01:30:06
|
> For maemo applications, we need to run commands on Scratchbox, using the > command "/scratchbox/login <command>". In addiction, we can execute this > command also on a remote environment throught ssh (ssh user@X.X.X.X > python2.5 ...) Given that, how are you planning to make Pydev run that interpreter from within eclipse? Don't you feel it's easier to create an executable that runs things as if it was a local version of python.exe and gathers things from the actual remote interpreter? (making a custom interpreter won't actually solve the problem of how to execute things remotely... the execution part is pretty much separated from the interpreter configuration -- not that it can't be done, but I'm not sure it's worth it). Cheers, Fabio |
From: Raul F. H. <ra...@em...> - 2008-12-03 20:38:24
|
Hi, > > >> > >> As for gathering additional information from an environment > >> not available (which is actually a thing that came up recently), the > >> current solution is having a script that'll run in that environment > >> and have it generate python files (just with the basic structure: > >> modules, classes, methods and docstrings) and add them as if they were > >> files in the pythonpath (adding it to a zip file may also be nice if > >> you're having different versions). > > > > Hum... in fact, this solves problems of auto-complete and code indexing. > > But, we still have a point: on PyDev, whenever a Python interpreter is > > selected (using the Python Interpreter dialog, which it is accessible > > through Window -> Preferences), it runs the script on local environment. > So > > I cannot set it as the current Python interpreter. > > > >> > >> Would that suffice for what you > >> want? (as you'd need to create a script to gather that info someway > >> anyway, you might as well already make it in a format that pydev > >> already supports) > > > > This solves auto-complete and code indexing, but I still need to define a > > local Python interpreter on preferences, which does not correspond with > the > > correct one. > > How exactly would you run that script from your computer (not > considering pydev for that... how'd you do it from the command line?) > For maemo applications, we need to run commands on Scratchbox, using the command "/scratchbox/login <command>". In addiction, we can execute this command also on a remote environment throught ssh (ssh user@X.X.X.Xpython2.5 ...) []'s --Raul |
From: Fabio Z. <fa...@gm...> - 2008-12-03 00:14:56
|
>> Well, the changes are not trivial. I still haven't started checking >> all that's needed for the per-project settings, but it should be >> available in about 2 releases (so, you don't need to worry much about >> that one). > > And would it be possible to add an extension point to add python > interpreters managers? :) Probably... > >> >> As for gathering additional information from an environment >> not available (which is actually a thing that came up recently), the >> current solution is having a script that'll run in that environment >> and have it generate python files (just with the basic structure: >> modules, classes, methods and docstrings) and add them as if they were >> files in the pythonpath (adding it to a zip file may also be nice if >> you're having different versions). > > Hum... in fact, this solves problems of auto-complete and code indexing. > But, we still have a point: on PyDev, whenever a Python interpreter is > selected (using the Python Interpreter dialog, which it is accessible > through Window -> Preferences), it runs the script on local environment. So > I cannot set it as the current Python interpreter. > >> >> Would that suffice for what you >> want? (as you'd need to create a script to gather that info someway >> anyway, you might as well already make it in a format that pydev >> already supports) > > This solves auto-complete and code indexing, but I still need to define a > local Python interpreter on preferences, which does not correspond with the > correct one. How exactly would you run that script from your computer (not considering pydev for that... how'd you do it from the command line?) Cheers, Fabio |
From: Raul F. H. <ra...@em...> - 2008-11-28 14:56:25
|
Hi, Well, the changes are not trivial. I still haven't started checking > all that's needed for the per-project settings, but it should be > available in about 2 releases (so, you don't need to worry much about > that one). And would it be possible to add an extension point to add python interpreters managers? :) > As for gathering additional information from an environment > not available (which is actually a thing that came up recently), the > current solution is having a script that'll run in that environment > and have it generate python files (just with the basic structure: > modules, classes, methods and docstrings) and add them as if they were > files in the pythonpath (adding it to a zip file may also be nice if > you're having different versions). Hum... in fact, this solves problems of auto-complete and code indexing. But, we still have a point: on PyDev, whenever a Python interpreter is selected (using the Python Interpreter dialog, which it is accessible through Window -> Preferences), it runs the script on local environment. So I cannot set it as the current Python interpreter. > Would that suffice for what you > want? (as you'd need to create a script to gather that info someway > anyway, you might as well already make it in a format that pydev > already supports) This solves auto-complete and code indexing, but I still need to define a local Python interpreter on preferences, which does not correspond with the correct one. []'s --Raul |
From: Fabio Z. <fa...@gm...> - 2008-11-27 22:03:04
|
> Good news Fabio :) In fact, what I need is a per-project settings for Python > interpreter (for example, define the Python interpreter for a project, not > for the workspace) and also extension points to insert > PythonInterpreterManagers... this maybe sound strange, but I have the > following problem: > Modules, types, etc. of a certain python interpreter are obtained by running > the script on host PC. But, if I want to obtain information about a certain > Python interpreter on a sandboxed environment? Or on a remote device? I need > to run this script on different environments and get the information to be > used on PyDev (on host PC) code indexing and auto-complete features, for > example. Currently, we have two Python interpreter managers > (PythonInterpreterManager and JythonInterpreterManager), which are set on > PydevPlugin#start(...) > > How these changes impacts on current Pydev structure? Well, the changes are not trivial. I still haven't started checking all that's needed for the per-project settings, but it should be available in about 2 releases (so, you don't need to worry much about that one). As for gathering additional information from an environment not available (which is actually a thing that came up recently), the current solution is having a script that'll run in that environment and have it generate python files (just with the basic structure: modules, classes, methods and docstrings) and add them as if they were files in the pythonpath (adding it to a zip file may also be nice if you're having different versions). Would that suffice for what you want? (as you'd need to create a script to gather that info someway anyway, you might as well already make it in a format that pydev already supports) Cheers, Fabio |