views:

277

answers:

1

Hi, I use .pkb and pkh extensions for PL/SQL files (rather than .sql). I have already associated .pkb and .pkh extension in the langs.xml (Styler Config) so that Notepad++ recognizes the syntax highlight to use when I open pkb and pkh files (the syntax highlighting would be the same as for sql ext). Now the problem is that I cannot use plugins that parse code using ctags (like SourceCookifier, OpenCtag,GtagSearch) because these plugins do not recognize the pkb and pkh extension. THe only way I could use them is to change my file to sql and when done change to the pkh or pkb ext.

Is there any config that could make ctags based plugin work with non-sql ext? I tried changing various config for the plugins but did not succeed in making them work.

Thanks.

A: 

Hi , Use NppCCompletionPlugin for notepad++. (version 1.17 or above)

change the setting file NppCCompletionPlugin.ini to

Blockquote

--fields=-afiklmnSzt+sK --c-kinds=+lp --langmap=sql:+.pkb --langmap=sql:+.pkh --excmd=number -f

Blockquote

regenerate tags files .

agonen