Re: General-purpose implementation of the Netbeans in Python
Bram Moolenaar <[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
José Fonseca wrote: > I wanted to control GVIM via the NetBeans interface in order to write an > adaptation of Python's debugger which uses vim as a interface. For this > purpose the code in GvimTool wasn't very useful since it's very tightly > coupled with the remaining AAP and is full of hacks. So I've written a > generic Netbeans interface - generic in the sense that it can be used > with other editor besides vim which support the Netbeans external editor > interface (Emacs, AFAIK) - and that is very easy to use. > > You can see it at <http://jrfonseca.dyndns.org/projects/vimpdb/>, > specifically the netbeans.py and vim.py files. Also there is vimpdb.py - > the before mentioned vim-integrated-python-debugger, but ATM does > nothing special besides opening the VIM and allowing to set BPs from vim. > > Still todo is an abstraction of the buffers to handle buffers-speficic > state (such as annotations, etc.) in the client side. > > The reason I'm telling you this is just in the case that you also feel > that the 'netbeans.py' module would be a valuable addition to A-A-P (for > more complete support of the Netbeans protocol, or eventually more > external editors besides vim). > > I hope you find this useful, or interesting in some way. It's certainly interesting. The implementation of the NetBeans interface in Agide wasn't setup to be flexible, you have made a nice setup for this. I'm not sure about how to use this. It should be possible to mix in with Agide, so that there is no direct connection between the (NetBeans) editor and the debugger, like you do it now. That means it would work with more combinations of editors and debuggers. Dont' forget that Agide takes care of a lot of things you left out now, such as redisplaying the breakpoints when exiting the editor and restarting it. I'll have a better look later. -- Where do you want to crash today? /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf