15
February 1998 - Project Identifiers 0.10 is Available
This plug-in, written by Alan C. Moore, allows you to establish a list
of "identifiers" which are specific to a particular unit in the current
Delphi project. As with the other plug-ins in this section, it is offered
to CodeRush beta testers on an "as-is" basis.
Project Identifiers is available from its creator, Alan
C. Moore. It keeps track of class names, variables, constants, methods,
and other project identifiers you choose to save. You can use hot keys
to add the current word at the caret to the hot list, shift focus to the
list of identifiers (a combo box) to select an identifier to paste at the
current position in the code, or perform other actions such as saving or
loading a file of identifiers. The two default menu items allow for the
latter two options, saving or loading a file of identifiers. You can also
delete identifiers by hitting the delete key while the identifier is selected
in the combo box.
You can also add two buttons to the tool bar to save or load files of
identifiers. While the Combo Box has the focus, you ran right-click on
it to bring up an about box or set properties, which at this time allow
you to choose which of the five possible menu menu items are added to the
edit windows popup menu. For information on how this plug-in was written,
see Writing the Project Identifier Plug-in
Instructions for Installing Project Identifiers:
IMPORTANT: This version of Project Identifiers
works with the released version of CodeRush (3.01X or later) only.
To install it manually, follow these steps:
-
Start Delphi (if it is not already running).
-
Copy the Project Ideitifiers Package to your Windows\System folder
-
Copy ProjId.dcu and other files (source) needed by this plug in to a folder
on the Delphi path
-
Copy all of the buttons to the CodeRush\Toolbar\Library\ folder
-
Important: Close all Delphi edit
windows before continuing to step 3!
-
From the Delphi 3 Component menu, select "Install Packages..."
-
Click the "Add..." button.
-
Specify the PrjIdent.dpl package and click "Open".
-
Click "OK". Project Identifiers is now installed.
-
On the Delphi Menu Bar click the "CodeRush|Options..." item.
-
Select the "Shortcuts" page and choose shortcuts for each of the
following Project Identifier actions. These are the ones I use:
-
Ctrl+Shift+I -- Focus_Identifier_List
-
Ctrl+Shift+A -- Identifier_Add
-
Ctrl+Shift+D -- Identifier_Delete
-
Ctrl+Shift+L -- Load_Identifiers
-
Ctrl+Shift+S -- Save_Identifiers
-
Ctrl+Shift+T -- Toggle_Global_Identifiers
-
Select the "Buttons" page and add the following commands to the
toolbar with the associated bitmaps:
-
Project Identifiers: Load from File -- BtnOpenProjectIDLis.bmp
-
Project Identifiers: Save to File -- BtnSaveProjectIDLis.bmp
-
Toggle_Global_Identifiers -- BtnToggleGlobalIdentifier
Using the arrow keys, move the buttons into the same area as the Project
Identifiers ComboBox (which should be there already). Now you're ready
to use this Plug-in.
This plug-in is being distributed as Freeware and has no expiration
date. The Source Code, however, is (c) Copyrighted by the author, Alan
C. Moore, and may not be used for any commercial purpose. It may only be
distributed as part of the entire installation package. You may modify
it, but the author requests that you you notify him of any improvements
you make so that these may be passed along to other users.
To report bugs, comments, or suggestions regarding the Project Identifier
Plug-in, send e-mail to: Alan C. Moore.