C/C++ tags
Submitted by Sunday, 17 September, 2006 - 13:20
on
Hi,
There are several features I would like to have in jEdit, related to C/C++ tags. Please let me know if there is any work being done on these features (or any plans to implement them). I consider implementing these features myself, either by contributing to existing plugins or by writing new ones. Here are the features:
1. GUI for the creation of tag files (e.g. a dialog interface for 'ctags'). I'd like to see that as part of the Tags plugin.
2. Automatic update of tag files as buffers are being modified. The CodeBrowser plugin provides a similar functionality, but it only works on the current buffer. I'd like to see this functionality in the Tags plugin.
3. Provide different options to 'ctags' when parsing H files and when parsing C/C++ files. From what I saw, 'ctags' by default collects only function/method definitions, but if you run it with "--c-types=p" it will collect function/method prototypes instead. Usually, I'd like the tag files to contain both the prototypes and the definitions, so 'ctags' should be invoked with different options on these types of files. This request applies both to the CodeBrowser (which, in my project, shows only a small subset of the prototypes in my H files) and to the Tags plugin if requests 1&2 above will be implemented. BTW - there is also an option in 'ctags' to collect local variables.
4. 'ctags' provides only prototypes/definitions. When writing s/w, one usually also needs to see all the references to some identifier. The GNU 'global' tool uses 'gtags' and collects both definitions and references. I'd like to have support for the 'global' tool as well, either as part of 'Tags' or another plugin.
My email is: sreinst1@walla.co.il.
Thanks,
Shlomy
There are several features I would like to have in jEdit, related to C/C++ tags. Please let me know if there is any work being done on these features (or any plans to implement them). I consider implementing these features myself, either by contributing to existing plugins or by writing new ones. Here are the features:
1. GUI for the creation of tag files (e.g. a dialog interface for 'ctags'). I'd like to see that as part of the Tags plugin.
2. Automatic update of tag files as buffers are being modified. The CodeBrowser plugin provides a similar functionality, but it only works on the current buffer. I'd like to see this functionality in the Tags plugin.
3. Provide different options to 'ctags' when parsing H files and when parsing C/C++ files. From what I saw, 'ctags' by default collects only function/method definitions, but if you run it with "--c-types=p" it will collect function/method prototypes instead. Usually, I'd like the tag files to contain both the prototypes and the definitions, so 'ctags' should be invoked with different options on these types of files. This request applies both to the CodeBrowser (which, in my project, shows only a small subset of the prototypes in my H files) and to the Tags plugin if requests 1&2 above will be implemented. BTW - there is also an option in 'ctags' to collect local variables.
4. 'ctags' provides only prototypes/definitions. When writing s/w, one usually also needs to see all the references to some identifier. The GNU 'global' tool uses 'gtags' and collects both definitions and references. I'd like to have support for the 'global' tool as well, either as part of 'Tags' or another plugin.
My email is: sreinst1@walla.co.il.
Thanks,
Shlomy