Dear Geany devs,
1) What exactly is the difference between tag definition and declaration? -> Could a tag have both? 2) How about introducing ctrl-click to go to a tag's [definition|declaration]?
-H-
On Thu, 13 Dec 2007 12:24:20 +0100 Harold Aling h.aling@home.nl wrote:
Dear Geany devs,
- What exactly is the difference between tag definition and
declaration? -> Could a tag have both?
A tag can't have both. It depends on the tagmanager parser. In C, function prototypes and extern declarations are used for goto tag declaration, goto tag definition uses everything else. Goto tag declaration is used for the following parsers:
prototype tags: C, SQL, JS extern tags: C, Pascal
But the syntax is probably different for the non-C languages above (we can check if necessary).
- How about introducing ctrl-click to go to a tag's
[definition|declaration]?
Ctrl-click is already used for column selections.
Regards, Nick