This is a summary of the new features and changes introduced in CPIde since version 3.4.
General
- The Personal Edition of CPIde now has exactly the same IDE features and capabilities as the Professional Edition.
- The Personal Edition of CPIde is now free.
- CPIde has been built with, and supports, the 2019 version of Gardens Point Component Pascal (v1.4.08-beta3).
Edit
- When a new file which is still named Untitled.cp is saved, the Save As dialog box is shown to allow the filename to be changed
- When the Editor Preference Trim whitespace (see below) is checked, trailing tab and space characters are deleted from each line of a file when it is saved.
User-customisable Tools Menu
You can now add up to ten new menu commands of your own choice to the CPIde Tools Menu. These can be used to launch a Windows application, a command-line console application or a DOS command.
You can include the following context-sensitive parameters in the commands:
%FilePath%
%FileDir%
%FileName%
%FileRoot%
They are substituted with values corresponding to the file currently showing in the editor.
You can also use the parameter
%CPIde%
as the working folder or parameter for the command. The name of the folder where the CPIde examples are located is substituted when the command is executed. This is the folder which you specified when you installed CPIde e.g.
D:\CPIde-v8.1
You can create new menu items by editing a Tools.ini text file which is located in this CPIde folder. The ini file supplied with CPIde includes two commands:
Open Containing Folder ...
Open Examples Folder ...
These commands perform the following functions:
- Opens Windows Explorer in the folder containing the file currently showing in the editor.
- Opens Windows Explorer in the folder containing the example applications supplied with CPIde.
General
- CPIde has been built with, and supports, the 2019 version of Gardens Point Component Pascal (v1.4.08-beta3).
Tools > Preferences
Editor
The Trim whitespace checkbox controls whether or not trailing tab and space characters are deleted from each line of a file when it is saved.
Syntax Colour Configuration
The syntax colouring configuration scheme is stored in the file Oberon.xml. When Astrobe is started it looks for this file in the Astrobe Folder e.g.
D:\CPIde-v8.1
If it does not exist there it looks for it in the CPide Program Folder e.g.
C:\Program Files\CPIde Professional Edition
If syntax colours are changed, the changes are stored in the Oberon.xml file in the CPIde folder. The Syntax colouring configuration details are no longer stored in the Windows registry.