Cody

From Lazarus wiki
Jump to navigationJump to search

"Cody is a Lazarus design time package extending the IDE with some advanced code tools for power users.

PPU files of project

  • Menu item: Project / Show ppu files of project
  • Requires: A compiled project

This dialog gives some stats about all used ppu/o files of the project. It shows which unit uses what and where it is used.

Cody ppu files.png

You can sort by double clicking on the column header.

  • General
    • Source: the full file name of the unit source file
    • PPU: the full file name of the unit ppu file.
  • Uses: This lists all units used by the unit.
  • Used by: This lists all units that uses the current unit directly.
  • Uses path: This gives one path from the project main source to the unit. This is not necessarily the shortest path.

Add Assign method

If you are using Object Pascal, then you often need to copy an object and so you will probably often write an Assign method. This tool generates the method automatically for you and gives you a dialog to quickly select the members to copy.

  • Requires: cursor in a class
  • Menu item: Source Editor / popup / Source / Add Assign method ...

Cody add assign method1.png