pydev-code Mailing List for PyDev for Eclipse (Page 16)
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. <fza...@ap...> - 2011-10-06 18:04:23
|
Hi All, PyDev 2.2.3 has been released Details on PyDev: http://pydev.org Details on its development: http://pydev.blogspot.com Release Highlights: ------------------------------- * Performance improvements * Major: Fixed critical issue when dealing with zip files. * Added option to create method whenever a field would be created in quick fixes (and vice-versa), to properly deal with functional programming styles. * Fixed issue where PyDev was changing the image from another plugin in the Project Explorer (i.e.: removing error decorations from JSP). * Fixed issue: if the django models was opened in PyDev, the 'objects' object was not found in the code analysis. * Test runner no longer leaves exception visible. * Fixed issue on Py3: Relative imports are only relative if they have a leading dot (otherwise it always goes to the absolute). * Default is now set to create project with the projects itself as the source folder. * Handling deletion of .class files. * Fixed issue where loading class InterpreterInfo in AdditionalSystemInterpreterInfo.getPersistingFolder ended up raising a BundleStatusException in the initialization. * Fixed some code formatting issues 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 Appcelerator http://appcelerator.com/ Aptana http://aptana.com/ PyDev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com |
From: Fabio Z. <fa...@es...> - 2011-10-04 12:28:08
|
Strange, I just gotten PIL here (through easy-install) and from PIL import Image didn't work even in the command line... what worked was 'import Image' directly -- after investigating a bit, it seems easy_install did the wrong thing (it created a site-packages/PIL-1.1.7-py2.6-win32.egg, but inside that directory there was no PIL/__init__.py, but the Image.py file directly), so, I changed to the structure below and it seems to be working properly now. The way I'd expect it to be is: /usr/lib/python2.7/dist-packages/ <-- added to the PYTHONPATH /usr/lib/python2.7/dist-packages/PIL <- directory with PIL /usr/lib/python2.7/dist-packages/PIL/__init__.py <-- specify that PIL is a package /usr/lib/python2.7/dist-packages/PIL/Image.py <-- Image module Can you check if your config is like that? Also, I noted you said you added /usr/lib/python2.7/dist-packages/PIL to the PYTHONPATH, but that seems strange... if you actually have /usr/lib/python2.7/dist-packages/PIL/__init__.py, the directory that should be in the PYTHONPATH would be /usr/lib/python2.7/dist-packages (unless the actual PIL is at: /usr/lib/python2.7/dist-packages/PIL/PIL/__init__.py). Cheers, Fabio On Mon, Oct 3, 2011 at 12:16 PM, John Smith <bit...@ya...> wrote: > Hi there, > I'm using Eclipse 3.7 (Indigo) and pyDev 2.2.2.2011082312 on Ubuntu 11.04. > When I run the following code... > [code] > from PIL import Image > im = Image.open("download.png") > im.rotate(45).show()[/code] > > It works fine on my command line python interpreter 2.7.1+. However when I > enter this code in a blank form on Eclipse I get the "Image" part of the > first line underlined in red and Eclipse says "Unresolved Import". Eclipse > will still run the code fine because I'm using the same 2.7.1+ interpreter > through Eclipse. It seems like it's an issue of Eclipse not finding the PIL > package. I tried going to Preferences->PyDev->Interpreter-Python-> and > deleting and recreating it but that did not work. Also the > /usr/lib/python2.7/dist-packages/PIL is in the System PYTHONPATH in Eclipse. > What am I doing wrong? > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > > |
From: John S. <bit...@ya...> - 2011-10-03 15:16:35
|
Hi there, I'm using Eclipse 3.7 (Indigo) and pyDev 2.2.2.2011082312 on Ubuntu 11.04. When I run the following code... [code] from PIL import Image im = Image.open("download.png") im.rotate(45).show()[/code] It works fine on my command line python interpreter 2.7.1+. However when I enter this code in a blank form on Eclipse I get the "Image" part of the first line underlined in red and Eclipse says "Unresolved Import". Eclipse will still run the code fine because I'm using the same 2.7.1+ interpreter through Eclipse. It seems like it's an issue of Eclipse not finding the PIL package. I tried going to Preferences->PyDev->Interpreter-Python-> and deleting and recreating it but that did not work. Also the /usr/lib/python2.7/dist-packages/PIL is in the System PYTHONPATH in Eclipse. What am I doing wrong? |
From: Fabio Z. <fa...@es...> - 2011-08-23 14:22:35
|
Hi Federico, Unfortunately there's no such switch... please enter a feature request for that (note that if there's some API to use it, it should be possible to enable it after the shell is already started). Cheers, Fabio On Tue, Aug 23, 2011 at 10:51 AM, federico vaggi <vag...@gm...> wrote: > IPython support? Holy shit, that rules! Thanks a lot. > > Is there an option to run IPython with the --pylab switch somewhere? > > On Tue, Aug 23, 2011 at 3:36 PM, Fabio Zadrozny > <fza...@ap...> wrote: >> Hi All, >> >> PyDev 2.2.2 has been released >> >> Details on PyDev: http://pydev.org >> Details on its development: http://pydev.blogspot.com >> >> Release Highlights: >> ------------------------------- >> >> **IPython / Interactive console** >> >> * IPython (0.10 or 0.11) is now used as the interactive console >> backend if PyDev can detect it in the PYTHONPATH. >> * While waiting for the output of a command, intermediary results >> are printed in the console. >> * ANSI color codes are supported in the interactive console. >> >> **Code Analysis** >> >> * Reporting variables that shadow builtins as warnings. >> * Fixed issue where __dict__ was not found. >> >> **Code completion** >> >> * Aliases have a better treatment (i.e.: unittest.assertEqual will >> show the proper type/parameters). >> * Improved support for analyzing function builtins where the >> return type is known (i.e.: open, str.split, etc). >> >> **Debugger** >> >> * When doing a remote debug session, if the files cannot be found >> in the local filesystem, PyDev will ask for files in the remote >> debugger. >> >> **Editor** >> >> * Files without extension that have a python shebang (e.g.: >> #!/usr/bin/python in the first line) are automatically opened with the >> PyDev editor (in the PyDev Package Explorer). >> >> **Django** >> >> * When the shell command is used in the django custom commands, >> PyDev no longer uses 100% cpu while it doesn't complete. >> >> **Others** >> >> * Fixed issue where the * operator was not properly formatted. >> * When the quick outline dialog is deactivated, it's closed. >> * Fixed heuristic for finding position for local import. >> * Fixed compare editor issue with Eclipse 3.2. >> * Fixed integration issue with latest PyLint. >> * Fixed deadlock issue on app engine manage window. >> * More options added to configure the automatic deletion of .pyc >> files (delete always, never delete, delete only on .py delete). >> >> >> >> 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 >> >> Appcelerator >> http://appcelerator.com/ >> >> Aptana >> http://aptana.com/ >> >> PyDev - Python Development Environment for Eclipse >> http://pydev.org >> http://pydev.blogspot.com >> >> ------------------------------------------------------------------------------ >> Get a FREE DOWNLOAD! and learn more about uberSVN rich system, >> user administration capabilities and model configuration. Take >> the hassle out of deploying and managing Subversion and the >> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 >> _______________________________________________ >> pydev-code mailing list >> pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-code >> > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: federico v. <vag...@gm...> - 2011-08-23 13:51:32
|
IPython support? Holy shit, that rules! Thanks a lot. Is there an option to run IPython with the --pylab switch somewhere? On Tue, Aug 23, 2011 at 3:36 PM, Fabio Zadrozny <fza...@ap...> wrote: > Hi All, > > PyDev 2.2.2 has been released > > Details on PyDev: http://pydev.org > Details on its development: http://pydev.blogspot.com > > Release Highlights: > ------------------------------- > > **IPython / Interactive console** > > * IPython (0.10 or 0.11) is now used as the interactive console > backend if PyDev can detect it in the PYTHONPATH. > * While waiting for the output of a command, intermediary results > are printed in the console. > * ANSI color codes are supported in the interactive console. > > **Code Analysis** > > * Reporting variables that shadow builtins as warnings. > * Fixed issue where __dict__ was not found. > > **Code completion** > > * Aliases have a better treatment (i.e.: unittest.assertEqual will > show the proper type/parameters). > * Improved support for analyzing function builtins where the > return type is known (i.e.: open, str.split, etc). > > **Debugger** > > * When doing a remote debug session, if the files cannot be found > in the local filesystem, PyDev will ask for files in the remote > debugger. > > **Editor** > > * Files without extension that have a python shebang (e.g.: > #!/usr/bin/python in the first line) are automatically opened with the > PyDev editor (in the PyDev Package Explorer). > > **Django** > > * When the shell command is used in the django custom commands, > PyDev no longer uses 100% cpu while it doesn't complete. > > **Others** > > * Fixed issue where the * operator was not properly formatted. > * When the quick outline dialog is deactivated, it's closed. > * Fixed heuristic for finding position for local import. > * Fixed compare editor issue with Eclipse 3.2. > * Fixed integration issue with latest PyLint. > * Fixed deadlock issue on app engine manage window. > * More options added to configure the automatic deletion of .pyc > files (delete always, never delete, delete only on .py delete). > > > > 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 > > Appcelerator > http://appcelerator.com/ > > Aptana > http://aptana.com/ > > PyDev - Python Development Environment for Eclipse > http://pydev.org > http://pydev.blogspot.com > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: Fabio Z. <fza...@ap...> - 2011-08-23 13:36:52
|
Hi All, PyDev 2.2.2 has been released Details on PyDev: http://pydev.org Details on its development: http://pydev.blogspot.com Release Highlights: ------------------------------- **IPython / Interactive console** * IPython (0.10 or 0.11) is now used as the interactive console backend if PyDev can detect it in the PYTHONPATH. * While waiting for the output of a command, intermediary results are printed in the console. * ANSI color codes are supported in the interactive console. **Code Analysis** * Reporting variables that shadow builtins as warnings. * Fixed issue where __dict__ was not found. **Code completion** * Aliases have a better treatment (i.e.: unittest.assertEqual will show the proper type/parameters). * Improved support for analyzing function builtins where the return type is known (i.e.: open, str.split, etc). **Debugger** * When doing a remote debug session, if the files cannot be found in the local filesystem, PyDev will ask for files in the remote debugger. **Editor** * Files without extension that have a python shebang (e.g.: #!/usr/bin/python in the first line) are automatically opened with the PyDev editor (in the PyDev Package Explorer). **Django** * When the shell command is used in the django custom commands, PyDev no longer uses 100% cpu while it doesn't complete. **Others** * Fixed issue where the * operator was not properly formatted. * When the quick outline dialog is deactivated, it's closed. * Fixed heuristic for finding position for local import. * Fixed compare editor issue with Eclipse 3.2. * Fixed integration issue with latest PyLint. * Fixed deadlock issue on app engine manage window. * More options added to configure the automatic deletion of .pyc files (delete always, never delete, delete only on .py delete). 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 Appcelerator http://appcelerator.com/ Aptana http://aptana.com/ PyDev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com |
From: Fabio Z. <fa...@es...> - 2011-08-17 11:24:49
|
On Wed, Aug 17, 2011 at 1:58 AM, smith jack <thi...@gm...> wrote: > i just make a tiny change to a java code, it takes hours to make the > synchronization, > it is dispointing, This doesn't see related to PyDev... I think you could ask at the forums in eclipse.org. Cheers, Fabio |
From: smith j. <thi...@gm...> - 2011-08-17 04:58:10
|
i just make a tiny change to a java code, it takes hours to make the synchronization, it is dispointing, |
From: Fabio Z. <fa...@es...> - 2011-08-05 22:46:04
|
This particular use-case is a bug in PyDev. I've just fixed it (so, if you want you can grab the nightly build tomorrow and it should be working already). Cheers, Fabio On Thu, Aug 4, 2011 at 4:22 AM, Bartosz <ga...@po...> wrote: > > Hi developers. > > I have an big problem with "Code analysis". > > In following line, the error "Undefined variable from import: __dict__" is displayed: > capacity = SomeConstants.__dict__[someName] > > This code is works perfectly with Python. > > I have already tried to add "@DynamicAttrs" in class, unfortunately it doesn't help. > > Do you know how to fix this issue? > > Best Regards > Bartosz > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: Bartosz <ga...@po...> - 2011-08-04 07:23:02
|
Hi developers. I have an big problem with "Code analysis". In following line, the error "Undefined variable from import: __dict__" is displayed: capacity = SomeConstants.__dict__[someName] This code is works perfectly with Python. I have already tried to add "@DynamicAttrs" in class, unfortunately it doesn't help. Do you know how to fix this issue? Best Regards Bartosz |
From: Roland S. <ro...@ut...> - 2011-07-27 22:43:03
|
Hi, we have developed synchronized projects for C/C++ and Fortran as part of PTP (http://wiki.eclipse.org/PTP/sync-projects). It uses GIT in the background, to always keep the local project folder in sync with a remote directory. For the compiler languages the sync is integrated with the build to guarantee that every sync is finished before the build starts. This allows relative stemless remote development. We have had users voicing interest in support for Python. Are you interested in supporting remote development with PyDev? I would assume that integrating PTP-Sync-projects with PyDev should relatively little work and we would probably be able to do this integration on our side. But in case you are interested in this, working together would speed this up significantly. Please let us know whether you have interest in this feature and would be interested to work with us on adding it. Roland -- ORNL/UT Center for Molecular Biophysics cmb.ornl.gov 865-241-1537, ORNL PO BOX 2008 MS6309 |
From: Davidson, J. <jos...@lm...> - 2011-07-21 21:44:42
|
What about connecting the debugger to an active PyDev session? Since there isn't a remote debugging configuration for PyDev, I think this may be a problem. After I have a running session in PyDev, I would need to be able to execute a Python script in that interpreter and be able to single step it. Thanks, Josh -----Original Message----- From: Fabio Zadrozny [mailto:fa...@es...] Sent: Tuesday, July 19, 2011 5:08 PM To: pyd...@li... Subject: Re: [Pydev-code] EXTERNAL: Re: Using PyDev in custom plugin Well, it should be possible... the pydev console is actually a xml-rpc server with 'addExec', 'getCompletions', 'getDescription', 'close', so, you could extend it if you want more data from it (code is in org.python.pydev/PySrc/pydevconsole.py and in the java side org.python.pydev.debug.newconsole.PydevConsoleCommunication ) I guess all should be doable :) Cheers, Fabio On Tue, Jul 19, 2011 at 12:35 PM, Davidson, Josh <jos...@lm...> wrote: > Sure. So there will be various C++ components executing and each has an interface wrapped in Py++ bindings. For example, if I was in the Python console, I could do something like: obj.getFoo() and invoke that accessor on the C++ object. One of the things I need to be able to do is add graphical widgets like charts and gauges that use those C++ components as their data source. If the UI was written in Python, that would be relatively simple since the Python bindings would be directly accessible. What I'm not sure of is how I could get at the Python bindings from an RCP plugin that uses the SWT version of JChart, unless I could somehow issue commands to the PyDev interpreter from my plugin and get a response back. > > In terms of other customization, I would probably need to: > a) Startup a PyDev console from my plugin at startup using a Python script. The interpreter used by this console would then have access to all of the component bindings. > b) In a project navigator, select a Python file for execution in the interpreter started in step a. > c) In a project navigator, select a Python file that could execute in the started in step a using the PyDev debugger, so it could be single stepped. > > For steps b & c, I'd like to find a way to configure the run/debug configuration automatically from my plugin since I think the dialog will be overwhelming for some of my users. > > Thanks, > Josh > > -----Original Message----- > From: Fabio Zadrozny [mailto:fza...@ap...] > Sent: Tuesday, July 19, 2011 5:04 AM > To: pyd...@li... > Subject: EXTERNAL: Re: [Pydev-code] Using PyDev in custom plugin > > I don't think you can grab just portions of it (it's either all or > nothing), as for the SWT widgets to access and/or receive notification > from objects in a PyDev interpreter, I'm not sure I follow what you > said... is this the only thing you'd customize? Can you give more > details on what you want to achieve here? > > Cheers, > > Fabio > > On Tue, Jul 19, 2011 at 2:09 AM, Davidson, Josh <jos...@lm...> wrote: >> I am creating a user interface for an application that provides a Python scripting interface to interact with C++ objects wrapped with Py++ bindings. Since my end users are familiar with Eclipse and use it for various forms of development, I am investigating the feasibility of using Eclipse RCP (or e4) to develop a plugin as a frontend. I'm new to the world of Eclipse development, but thought this might be a good opportunity to learn a few new tricks. Several of the features for this application could be fulfilled out of the box by aspects of the PyDev plugin: script editor, interactive console, and script executor (using the debugger). Is it feasible to write a plugin that leverages portions of PyDev? Are the various components set up that they can be interacted with programmatically from other plugins? One piece in particular that I'm concerned about is whether or not I'd be able to develop SWT widgets that could access and/or receive notification from objects in a PyDev interpreter. >> >> Thanks, >> Josh >> >> ------------------------------------------------------------------------------ >> Magic Quadrant for Content-Aware Data Loss Prevention >> Research study explores the data loss prevention market. Includes in-depth >> analysis on the changes within the DLP market, and the criteria used to >> evaluate the strengths and weaknesses of these DLP solutions. >> http://www.accelacomm.com/jaw/sfnl/114/51385063/ >> _______________________________________________ >> pydev-code mailing list >> pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-code >> > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ pydev-code mailing list pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code |
From: Fabio Z. <fa...@es...> - 2011-07-19 23:08:34
|
Well, it should be possible... the pydev console is actually a xml-rpc server with 'addExec', 'getCompletions', 'getDescription', 'close', so, you could extend it if you want more data from it (code is in org.python.pydev/PySrc/pydevconsole.py and in the java side org.python.pydev.debug.newconsole.PydevConsoleCommunication ) I guess all should be doable :) Cheers, Fabio On Tue, Jul 19, 2011 at 12:35 PM, Davidson, Josh <jos...@lm...> wrote: > Sure. So there will be various C++ components executing and each has an interface wrapped in Py++ bindings. For example, if I was in the Python console, I could do something like: obj.getFoo() and invoke that accessor on the C++ object. One of the things I need to be able to do is add graphical widgets like charts and gauges that use those C++ components as their data source. If the UI was written in Python, that would be relatively simple since the Python bindings would be directly accessible. What I'm not sure of is how I could get at the Python bindings from an RCP plugin that uses the SWT version of JChart, unless I could somehow issue commands to the PyDev interpreter from my plugin and get a response back. > > In terms of other customization, I would probably need to: > a) Startup a PyDev console from my plugin at startup using a Python script. The interpreter used by this console would then have access to all of the component bindings. > b) In a project navigator, select a Python file for execution in the interpreter started in step a. > c) In a project navigator, select a Python file that could execute in the started in step a using the PyDev debugger, so it could be single stepped. > > For steps b & c, I'd like to find a way to configure the run/debug configuration automatically from my plugin since I think the dialog will be overwhelming for some of my users. > > Thanks, > Josh > > -----Original Message----- > From: Fabio Zadrozny [mailto:fza...@ap...] > Sent: Tuesday, July 19, 2011 5:04 AM > To: pyd...@li... > Subject: EXTERNAL: Re: [Pydev-code] Using PyDev in custom plugin > > I don't think you can grab just portions of it (it's either all or > nothing), as for the SWT widgets to access and/or receive notification > from objects in a PyDev interpreter, I'm not sure I follow what you > said... is this the only thing you'd customize? Can you give more > details on what you want to achieve here? > > Cheers, > > Fabio > > On Tue, Jul 19, 2011 at 2:09 AM, Davidson, Josh <jos...@lm...> wrote: >> I am creating a user interface for an application that provides a Python scripting interface to interact with C++ objects wrapped with Py++ bindings. Since my end users are familiar with Eclipse and use it for various forms of development, I am investigating the feasibility of using Eclipse RCP (or e4) to develop a plugin as a frontend. I'm new to the world of Eclipse development, but thought this might be a good opportunity to learn a few new tricks. Several of the features for this application could be fulfilled out of the box by aspects of the PyDev plugin: script editor, interactive console, and script executor (using the debugger). Is it feasible to write a plugin that leverages portions of PyDev? Are the various components set up that they can be interacted with programmatically from other plugins? One piece in particular that I'm concerned about is whether or not I'd be able to develop SWT widgets that could access and/or receive notification from objects in a PyDev interpreter. >> >> Thanks, >> Josh >> >> ------------------------------------------------------------------------------ >> Magic Quadrant for Content-Aware Data Loss Prevention >> Research study explores the data loss prevention market. Includes in-depth >> analysis on the changes within the DLP market, and the criteria used to >> evaluate the strengths and weaknesses of these DLP solutions. >> http://www.accelacomm.com/jaw/sfnl/114/51385063/ >> _______________________________________________ >> pydev-code mailing list >> pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-code >> > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: Davidson, J. <jos...@lm...> - 2011-07-19 15:41:50
|
Sure. So there will be various C++ components executing and each has an interface wrapped in Py++ bindings. For example, if I was in the Python console, I could do something like: obj.getFoo() and invoke that accessor on the C++ object. One of the things I need to be able to do is add graphical widgets like charts and gauges that use those C++ components as their data source. If the UI was written in Python, that would be relatively simple since the Python bindings would be directly accessible. What I'm not sure of is how I could get at the Python bindings from an RCP plugin that uses the SWT version of JChart, unless I could somehow issue commands to the PyDev interpreter from my plugin and get a response back. In terms of other customization, I would probably need to: a) Startup a PyDev console from my plugin at startup using a Python script. The interpreter used by this console would then have access to all of the component bindings. b) In a project navigator, select a Python file for execution in the interpreter started in step a. c) In a project navigator, select a Python file that could execute in the started in step a using the PyDev debugger, so it could be single stepped. For steps b & c, I'd like to find a way to configure the run/debug configuration automatically from my plugin since I think the dialog will be overwhelming for some of my users. Thanks, Josh -----Original Message----- From: Fabio Zadrozny [mailto:fza...@ap...] Sent: Tuesday, July 19, 2011 5:04 AM To: pyd...@li... Subject: EXTERNAL: Re: [Pydev-code] Using PyDev in custom plugin I don't think you can grab just portions of it (it's either all or nothing), as for the SWT widgets to access and/or receive notification from objects in a PyDev interpreter, I'm not sure I follow what you said... is this the only thing you'd customize? Can you give more details on what you want to achieve here? Cheers, Fabio On Tue, Jul 19, 2011 at 2:09 AM, Davidson, Josh <jos...@lm...> wrote: > I am creating a user interface for an application that provides a Python scripting interface to interact with C++ objects wrapped with Py++ bindings. Since my end users are familiar with Eclipse and use it for various forms of development, I am investigating the feasibility of using Eclipse RCP (or e4) to develop a plugin as a frontend. I'm new to the world of Eclipse development, but thought this might be a good opportunity to learn a few new tricks. Several of the features for this application could be fulfilled out of the box by aspects of the PyDev plugin: script editor, interactive console, and script executor (using the debugger). Is it feasible to write a plugin that leverages portions of PyDev? Are the various components set up that they can be interacted with programmatically from other plugins? One piece in particular that I'm concerned about is whether or not I'd be able to develop SWT widgets that could access and/or receive notification from objects in a PyDev interpreter. > > Thanks, > Josh > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ pydev-code mailing list pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code |
From: Fabio Z. <fza...@ap...> - 2011-07-19 11:04:30
|
I don't think you can grab just portions of it (it's either all or nothing), as for the SWT widgets to access and/or receive notification from objects in a PyDev interpreter, I'm not sure I follow what you said... is this the only thing you'd customize? Can you give more details on what you want to achieve here? Cheers, Fabio On Tue, Jul 19, 2011 at 2:09 AM, Davidson, Josh <jos...@lm...> wrote: > I am creating a user interface for an application that provides a Python scripting interface to interact with C++ objects wrapped with Py++ bindings. Since my end users are familiar with Eclipse and use it for various forms of development, I am investigating the feasibility of using Eclipse RCP (or e4) to develop a plugin as a frontend. I'm new to the world of Eclipse development, but thought this might be a good opportunity to learn a few new tricks. Several of the features for this application could be fulfilled out of the box by aspects of the PyDev plugin: script editor, interactive console, and script executor (using the debugger). Is it feasible to write a plugin that leverages portions of PyDev? Are the various components set up that they can be interacted with programmatically from other plugins? One piece in particular that I'm concerned about is whether or not I'd be able to develop SWT widgets that could access and/or receive notification from objects in a PyDev interpreter. > > Thanks, > Josh > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: Davidson, J. <jos...@lm...> - 2011-07-19 05:09:36
|
I am creating a user interface for an application that provides a Python scripting interface to interact with C++ objects wrapped with Py++ bindings. Since my end users are familiar with Eclipse and use it for various forms of development, I am investigating the feasibility of using Eclipse RCP (or e4) to develop a plugin as a frontend. I'm new to the world of Eclipse development, but thought this might be a good opportunity to learn a few new tricks. Several of the features for this application could be fulfilled out of the box by aspects of the PyDev plugin: script editor, interactive console, and script executor (using the debugger). Is it feasible to write a plugin that leverages portions of PyDev? Are the various components set up that they can be interacted with programmatically from other plugins? One piece in particular that I'm concerned about is whether or not I'd be able to develop SWT widgets that could access and/or receive notification from objects in a PyDev interpreter. Thanks, Josh |
From: Fabio Z. <fza...@ap...> - 2011-07-14 14:30:40
|
Hi All, PyDev 2.2.1 has been released Details on PyDev: http://pydev.org Details on its development: http://pydev.blogspot.com Release Highlights: ------------------------------- Quick-outline * Parent methods may be shown with a 2nd Ctrl+O. * The initial node is selected with the current location in the file. Extract local refactoring * Option to replace duplicates. * Fixed issue where wrong grammar could be used. Others * Improved handling of Ctrl+Shift+T so that no keybinding conflict takes place (now it'll be only active on the PyDev views/editor). * PyLint markers always removed on a project clean. * If the standard library source files are not found, more options are presented. * If the completion popup is focused and shift is pressed on a context insensitive completion, a local import is done. * Fixed issue where a local import wasn't being added to the correct location. * Fixed error message in debugger when there was no caught/uncaught exception set in an empty workspace. * Performance improvements on hierarchy view. * Django commands may be deleted on dialog with backspace. 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 Appcelerator http://appcelerator.com/ Aptana http://aptana.com/ PyDev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com |
From: jameslordhz <jam...@gm...> - 2011-07-01 11:20:00
|
but i'd rather to use Ctrl and Left click, how to make this configuration? I cannot input Left click to the key configuration, hmm... so is there any other method to make this done? |
From: Fabio Z. <fa...@es...> - 2011-07-01 11:02:23
|
It should work provided you have your project properly setup (i.e.: is your code under a source folder? -- see: http://pydev.org/manual_101_project_conf2.html ) Cheers, Fabio p.s.: This list is not the proper place to ask questions related to doubts in PyDev (use the users forum for that: http://sourceforge.net/projects/pydev/forums/forum/293649 ) On Fri, Jul 1, 2011 at 7:39 AM, jameslordhz <jam...@gm...> wrote: > This function can bring lots of convenience when writing codes, i have used > this function long time ago, but i > cannot jump to the code when using Ctrl and left click now? > what's wrong? need any configuration? > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > > |
From: jameslordhz <jam...@gm...> - 2011-07-01 10:40:26
|
This function can bring lots of convenience when writing codes, i have used this function long time ago, but i cannot jump to the code when using Ctrl and left click now? what's wrong? need any configuration? |
From: Fabio Z. <fza...@ap...> - 2011-06-27 12:10:48
|
Hi All, Pydev 2.2.0 has been released Details on Pydev: http://pydev.org Details on its development: http://pydev.blogspot.com Release Highlights: ------------------------------- **Eclipse 3.7** * Eclipse 3.7 (Indigo) is now supported. **Break on Exceptions** * It's now possible to **break on caught exceptions** in the debugger. * There's an UI to break on caught or uncaught exceptions (menu: Run > Manage Python Exception Breakpoints). **Hierarchy view** * UI improved (now only uses SWT -- access through F4 with the cursor over a class). **PyPy**: * PyDev now supports PyPy (can be configured as a regular Python interpreter). **Django** * Django configuration in project properties page (improved UI for configuration of the django manage.py and django settings module). * Improved support for debugging Django with autoreload. Details at: http://pydev.org/manual_adv_remote_debugger.html#django-remote-debugging-with-auto-reload **Code analysis** * Fixed issue where a resolution of a token did not properly consider a try..except ImportError (always went for the first match). * Fixed issue with relative import with wildcards. * Fixed issue with relative import with alias. * Fixed issue where binary files would be wrongly parsed (ended up generating errors in the error log). **Code completion** * Improved sorting of proposals (__*__ come at last) **Others** * Improved ctrl+1 quick fix with local import. * Fixed issue running with py.test. * PyDev test runner working properly with unittest2. * Fixed compatibility issue with eclipse 3.2. * No longer sorting libraries when adding interpreter/added option to select all not in workspace. * Fixed deadlock in the debugger when dealing with multiple threads. * Fixed debugger issue (dictionary changing size during thread creation/removal on python 3.x). 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 Appcelerator http://appcelerator.com/ Aptana http://aptana.com/ Pydev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com |
From: Aaron S. <aa...@pi...> - 2011-06-10 03:30:46
|
Recently, errors and warnings of any sort have stopped being underlined by PyDev. No underlining is done period under any of my projects. However, pydev does seem to be working; tab completion and Ctrl-clicking variables still works. Does anyone know how to re-enable underlining? Code analysis, etc. remains enabled for PyDev. Thanks, Aaron |
From: Fabio Z. <fa...@es...> - 2011-06-06 14:32:35
|
Well, I think it could be supported -- the first step would be creating the AST PyDev uses internally from the cobra language (otherwise you'd get very little from PyDev), still this requires some effort to do, and I won't be able to do that (my TODO list is already quite huge), but if there's someone willing to support it, it shouldn't be that difficult to add the support (although the effort may vary depending on the experience with grammars for parsing code -- most specifically on JavaCC). Cheers, Fabio On Fri, Jun 3, 2011 at 8:02 AM, Brendan Simon (eTRIX) <bre...@et...> wrote: > Hi, > > I'm using/learning the Cobra language which is very similar to Python > (inspired by Python I believe), but there is no Eclipse support for it :( > > http://cobra-language.com/ > > Does anyone know if PyDev would be a suitable code base to add an > Eclipse plugin for the Cobra language ?? I ask since it is very similar > to Python in syntax/appearance (obviously with some differences). > > Maybe PyDev can support Cobra itself ?? That might be a bit too > optimistic perhaps ???? > > Thanks, Brendan. > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Discover what all the cheering's about. > Get your free trial download today. > http://p.sf.net/sfu/quest-dev2dev2 > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: Udo W. <Wei...@ao...> - 2011-06-06 08:58:52
|
Hello, I want to make context help working for COM-objects, -properties and -methods. First, I'm looking for more infos how the context-(in)sensitive code completion works, in more detail which "information" is needed for it. Second I will look for a way to get code completion work for COM, with MakePy or a template I generate myself. But for getting started, I need some basic infos and hints. See additionally my question http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4549399 Many thanks and greetings uwg |
From: Brendan S. (eTRIX) <bre...@et...> - 2011-06-03 11:02:22
|
Hi, I'm using/learning the Cobra language which is very similar to Python (inspired by Python I believe), but there is no Eclipse support for it :( http://cobra-language.com/ Does anyone know if PyDev would be a suitable code base to add an Eclipse plugin for the Cobra language ?? I ask since it is very similar to Python in syntax/appearance (obviously with some differences). Maybe PyDev can support Cobra itself ?? That might be a bit too optimistic perhaps ???? Thanks, Brendan. |