ABOUT
This plug-in adds a panel to the status bar in the Delphi IDE. This panel reports the DFM file save mode (Binary or Text) of the unit currently active in the editor.
FEATURES
- Intelligent verification of DFM file
- Auto-detects DFM file save mode
- Enhances the Delphi IDE status bar with a new status pane
- Displays save mode status in the new status bar pane
Using Source Control, it is important that Delphi form files are checked-in in Text format. Unfortunately, the only way to know how a form will be saved in Delphi is to right click on the form and view the Text DFM context menu item. If it is checked, your form is saved in Text mode, otherwise it is saved in Binary mode. Please see the screenshot below:
Admittedly, it is not difficult to perform the simple steps of...
- Toggle Form/Unit (F12)
- Right click on the form
- View the Text DFM context menu option
...in order to determine the save mode of the form file associated with the PAS file currently active in the Delphi IDE source editor. However, that is three steps you shouldn't have to perform. Wouldn't it be nice to have a visual indicator right in the source editor to provide this information?
Now there is. This plug-in adds a new pane to the status bar in the source editor. This new pane will display one of three pieces of information:
- "DFM: Text" - when the saved DFM file is in text mode, as seen below:
- "DFM: Binary" - when the saved DFM file is in binary mode, as seen below:
- "" - when there is no saved DFM file
The information in the Save Mode status pane is refreshed every time the editor receives focus and when the active file changes.