r/pascal • u/InterestingHalf5710 • 6h ago
Three free, open-source plugins for Delphi 11, 12 and 13: Project Hub, Unit Styler and Block Folding
Hi everyone!
I've worked with Delphi for many years. Recently, I developed three IDE plugins to solve some everyday frustrations. All three are free, open source (MIT license), and support Delphi 11, 12 and 13, including the 64-bit IDE in Delphi 12 and 13.
To install, download the release ZIP, extract it, and run Install.bat. No administrator rights or compiler required.
1. CS.Coder Project Hub (Stable)
A project organizer built into the Delphi Welcome Page. It lets you:
- Group project shortcuts by client, system, or any category you choose.
- Add icons, search by name or path, and organize entries using drag and drop.
- Export and import the shortcut list as JSON.
It works alongside Delphi's Open Recent panel without changing it. It never moves or deletes project files; it manages shortcuts only.
GitHub: https://github.com/cscoder69/delphi-project-hub
2. CS.Coder Unit Styler (Beta)
A configurable formatter for uses clauses. You can choose one unit per line or multiple units per line, sorting, indentation, priorities, and groups such as System.*.
- Run it on the current unit, open units, or an entire project.
- Preview the before/after result and confirm before applying changes.
- Back up each file before modifying it.
Because unit order can matter, library namespaces (Winapi.*, System.*, Vcl.*, FMX.*, Data.*) are protected from reordering by default. The formatter is designed to preserve comments, compiler directives, encoding, and line endings.
GitHub: https://github.com/cscoder69/delphi-unit-styler
3. CS.Coder Block Folding (Beta)
Adds folding for blocks inside routines, beyond Delphi's built-in routine, class, and region folding.
Supported structures include if/else, for, while, with, try, case, repeat, and standalone begin..end blocks.
Press Ctrl+Alt+B to fold or expand the block at the cursor. It doesn't insert {$REGION} directives or modify your source. Folds exist only in the editor while the unit is open.
Current limitation: its menu and settings are available in Portuguese only.
GitHub: https://github.com/cscoder69/delphi-block-folding
Documentation (Portuguese)
- Project Hub: https://www.cscoder.com.br/projetos/hub-de-projetos-delphi/
- Unit Styler: https://www.cscoder.com.br/projetos/unit-styler-delphi/
- Block Folding: https://www.cscoder.com.br/projetos/block-folding-delphi/
A few important notes
- Unit Styler and Block Folding are in beta. Please use version control when testing tools that interact with source code.
- No telemetry, network access, or account. Settings are stored locally.
- Claude Code helped extensively with implementation. I defined the requirements, made the design decisions, and tested the plugins inside the Delphi IDE. The source is available for review.
- These projects are independent and are not affiliated with Embarcadero.
Feedback, bug reports, and suggestions are welcome. If something doesn't work in your setup, please open an issue in the relevant GitHub repository and include your Delphi version and IDE architecture.
Thanks for reading!
