Hi, Simon:
I'm happy because you added my code for vb ctags support. However, it will not work because you forgot to add this:
FILE: pnwtl\taggers\ctagsnavigator\ctagsnavigator.cpp
LINE: 70 (function PNFPGetSchemesSupported)
currently it is:
wcsncpy(schemesBuffer, L"assembler;cobol;cpp;csharp;eiffel;erlang;java;javascript;lisp;lua;makefile;pascal;perl;plsql;python;ruby;shell;tcl;verilog;vhdl;vim;yacc;web", cchBuffer);
Should add: "vb;" so vb scheme is supported:
wcsncpy(schemesBuffer, L"assembler;vb;cobol;cpp;csharp;eiffel;erlang;java;javascript;lisp;lua;makefile;pascal;perl;plsql;python;ruby;shell;tcl;verilog;vhdl;vim;yacc;web", cchBuffer);
Maybe the schemesBuffer should be initialized when loading sheme files, so you don't have to modify this code when ctags supports new languages.
Also, maybe you would like to check legal issues because anyedit/deepsoft are named there.
Now, about grouping functions inside their respective classes, lets take an example: file test.vb:
class FMsg
public shared sub MsgError(s as String)
MessageBox.Show(s1 & vbCrLf & s2, "MyApp", MessageBoxButtons.OK, MessageBoxIcon.Stop)
end sub
end class
vb parser would output:
fmsg test.vb /^class FMsg$/;" c
msgerror test.vb /^ public shared sub MsgError( s as String)$/;" s class:fmsg
which means fmsg is (c)lass
msgerror is (s)ub in class:fmsg.
This info is mistaken by pn, since it says fmsg is a struct, so maybe we have to work on the way vb.c should classify identities:
currently I have defined these:
static kindOption VBKinds [] = {
{ TRUE, 'c', "class", "classes" },
{ TRUE, 'd', "dim", "variables" },
{ TRUE, 'f', "function", "functions" },
{ TRUE, 'k', "const", "constants" },
{ TRUE, 'm', "module", "modules" },
{ TRUE, 's', "sub", "procedures" },
};
Note that if sub MsgError was defined as "function MsgError", vb.c outputs (f)unction, and thus PN would put MsgError as a function and not as a struct.
However, if we define more than 1 class in the same file, vb.c would output for each member which is its owner class, but PN would ignore it.
Well, those are all the details. Regards.