From: Devrim E. <de...@ma...> - 2003-04-12 14:33:52
|
Andre Baresel wrote: > Devrim Erdem wrote: > >> I have been a member of the mailing list for some time now,but I >> shall confess I haven't been reading all the mails posted. >> >> I use Jedit for C++ development on Linux. As far as I know cpptool >> has a plugin for Eclipse. I am not well informed about how it can be >> interfaced to other editor, e.g. jedit but I would like to hear and >> learn about it. >> >> Jedit being a java based editor, it supports python for plugins. >> Therefore it is possible to write a python script and run it in Jedit. >> >> I would be interested in learning how it can be possible to integrate >> CppTool to Jedit via python interface. Or is there any other way of >> doing it ? >> >>> >>> I'm thinking of using python to implement the code analysis and >>> refactoring layer of the code. This would hopefully help us going >>> faster. What do you think ? >>> >> >> I am not familiar with internals of CppTool but this kind of layer I >> have for my own projects and they significantly speed up development. >> > Hello Devrim, > > I'm the author of the eclipse plugin. The way I've implemented this > was very similar to the Visual-Studio-Plugin. I've written a native > class which > simply maps the access/modify routines of a text document of our > CppTool into access/modify routines of the java-class responsible for > the editor > of eclipse. This was very simple since only very basic operations need > to be written. > - get selection text > - set selection area > - set selection text > such things are very common for an editor. So if you find such an > interface in phyton it would be possible to integrate. Sure there exists such functionality in Jedit's python interface. But i have a question. I understand that there are refactoring operations which will need to modify several files at once. Are those also supported already in CppTool and in your native class ? > > > To check the other plugins look at > EclipseDocumentHelper.cpp/h (this is the interface > between CppTool and Eclipse-Editor) > VCLinebasedTextDocument.cpp/h (this is the interface between > CppTool and VisualStudio-Editor) > > nice to meet you, > André Baresel > > The summer is starting in berlin, > GREAT ! Also in Rosenheim, Bayern ! |