Re: [Pydev-code] Python interpreter (was: Introduction to PyDev list)
Brought to you by:
fabioz
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 |