Separator lines for project files in Delphi IDE

Add separator lines to your Delphi IDE project files list.

delphi_ide_file_separator_lines_1

To do this, create a dummy file with a name similar to “______________” (no file extension), then add that file to your project.  If you want another separator line you will have to create another dummy file with a slightly different name as the file name must be unique.

delphi_ide_file_separator_lines

You can delete the file after you have added it to the project.  Delphi wont complain about the file being missing because it does not have a *.PAS file extension.  However, I prefer to not delete the files in case a future version of Delphi insists that the file exists.

Folders in the IDE

Thanks to Rodrigo Farias Rezino for pointing out this technique

Another way to separate files is to include folders in the project.  To do this, right click in the project window then select “add..” to add a file.  The folder and file will be included in the project file list and will look like this example where I have put forms in one folder and utility units in another folder

delphi_ide_file_separator_lines_folders

This is done at the file level, not the folder level.  By that, I mean other files in the same folder are not automatically included in the project.  You will need to repeat the process once for each file that you want to include in the project.

You do not need to add the folder to the Delphi search path because the files will be automatically searched for as if they were stored in the base project folder.

 

About Me

scott_hollows_201611

  • Oracle & Delphi software developer based in Perth, Western Australia
  • Australian Delphi User Group – President and WA meeting organizer
  • Australian Oracle User Group – WA State Committee Member
  • Available to do remote presentations to user groups on Delphi and Oracle topics
blog email linkedinlogo

 

 

Author: Scott Hollows

Enterprise software developer based in Perth, Western Australia. Focused on Oracle, Delphi, Data Warehouse design and ETL, Data Architect, Business Intelligence, Oracle performance tuning. President of the Australian Delphi User Group (ADUG) LinkedIn www.linkedin.com/in/scotthollows

2 thoughts on “Separator lines for project files in Delphi IDE”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s