SideKick and edit modes
Submitted by Tuesday, 10 October, 2006 - 07:07
on
My plugin, CtagsSideKick, registers itself as a SideKick parser (named 'ctags') for edit modes c, c++ and java using the lines below. If I open the "Parsers" page in the SideKick plugin options, I indeed see my plugin being used as the parser for these modes, and if I open files with extensions ".c", ".cpp" and ".java", I see that SideKick uses my plugin to generate the tree. However, when I open files with ".h" extension, no parser is selected, and the tree doesn't appear. I need to manually select 'ctags' in order to see the tree. Using the menu "Utilities -> Global Options -> Editing", I see that ".h" files are associated with the c++ mode. Yet my plugin is not used for ".h" files by default. Am I missing something, or is this a SideKick bug?
Following are the lines I use to register my plugin with SideKick:
sidekick.parser.ctags.label=ctags
mode.c.sidekick.parser=ctags
mode.c++.sidekick.parser=ctags
mode.java.sidekick.parser=ctags
Following are the lines I use to register my plugin with SideKick:
sidekick.parser.ctags.label=ctags
mode.c.sidekick.parser=ctags
mode.c++.sidekick.parser=ctags
mode.java.sidekick.parser=ctags