Codetools

From Lazarus wiki
Revision as of 12:51, 26 February 2006 by Mattias2 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

What are the codetools

The codetools are a module of their own and are licensed under GPL.

You can use the codetools without the IDE. This can be used to test a new tool. See for example <lazarusdir>/components/codetools/methodjumping.pas

To test find declaration, the codetools need to parse sources. Especially the RTL and FCL sources. FPC is a very complex project with lots of search paths, include files and makros. The codetools need to know all these paths and makros in order to parse this djungel. To setup all this easily the codetools contains predefined templates for FPC, Lazarus, Delphi and Kylix source directories. FPC is more difficult to setup, as the FPC sources contain multiple versions of a unit.