INDEX   |   ABOUT ME   |    RESUME
ABOUT
 
This plug-in registers over 30 custom commands with CodeRush.  These editor commands include a nifty matching parentheses highlighter, a line annotation command, enhanced Home/End commands, line cut and copy commands, a great package compile command, and much more.
 
 
 
FEATURE SUMMARY
 
 
SETUP
 
When assigning one of these commands as a shortcut, use the CodeRush configuration settings which are shown as the [XXX XO] pattern. The first three X's correspond to the 'Intercept Key' checkboxes, the last two correspond to the 'After Intercepting' radio-buttons. For example, if you see "[OXX XO]" below, you would configure the command's shortcut key as follows:
 
 
 
 
 
 
 
 
 
 
 
 
The author suggests the following shortcut key bindings (detailed in the Feature Matrix below), based on his own settings.  Some of the recommended shortcuts may conflict with CodeRush or Delphi defaults.
 
 
 
FEATURE MATRIX
WHAT'S  NEW?
 
Version 1.00
 
DOWNLOAD LINKS
 
CodeRush 4
 
CodeRush 5
Copyright 2004 Ackerson Software, All Rights Reserved.
Ackerson Software
acEtherMacs
INFORMATION
 
Author: Monte Etherton
 
Created: December 6, 1999
 
Plug-In Type: Standard
 
Options Page: No
This plug-in is NOT currently supported.
DISCLAIMER
 
This plug-in is not the property of Developer Express; it is the sole property of its author.  As such, Developer Express cannot be held liable for any incidental damages that may be related to the usage of this plug-in.
Command
Config.
Shortcut
Description
Word-Delete and Word-Backspace Commands
acWordDelete
[XXX XO]
Ctrl+Delete
Slightly different than Delphi's WordDelete. This works across multiple lines (pulls lines together), and flash-marks deleted characters.
acWordBS
[XXX XO]
Ctrl+Backspace
Same as acWordDelete, but does not Backspace across lines.
acWordReplace
[XOO XO]
Alt+Ins
 
Cut, Copy and Paste Commands
acEnhancedCopy
[XXX XO]
Ctrl+Insert or Ctrl+C
Puts cursor back after copy. If block marked, turns it off.
acEnhancedPaste
[XXX XO]
Shift+Insert or Ctrl+V
Puts cursor back after paste. Also checks for LineCuts or LineCopies-see acLineCut and acLineCopy commands below for more info.
acLineCopy
[XXX XO]
Alt+L
Flash-marks current line, and copies it to an internal list of cut/copied lines, and then moves cursor to the next line (change global constant LineCopyGotoNextLine in source if you'd like the cursor to remain on the same line). Multiple cut and copied lines are appended to the internal list until acEnhancedPaste paste command is invoked, which clears the string list.
acLineCut
[XXX XO]
Shift+Alt+L
Flash-marks current line, and cuts it to an internal list of cut/copied lines, and then moves cursor to the next line (see acLineCopy above for more details).
LineOpen and LineDelete Commands
acLineOpenNew
[XXX XO]
Ctrl+Enter
Inserts a line without losing cursor position
acLineDelete
[XXX XO]
Alt+Del
Deletes a line
acLineDelToEnd
[XOO XO]
Alt + >
Delete to the end of the line.
acLineDelToBegin
[XOO XO]
Alt + <
Delete to the beginning of the line.
Navigation Commands
acEnhancedHome
[XXX XO]
Home
First key press goes to beginning of the current line of code; second key press goes to code beginning of the current indent level if on a blank line (looks above up five lines to determine indent level).
acEnhancedEnd
[XXX XO]
End
First key press goes to the end of the current line of code; second key press goes to '//' comments EOL
acScrollUpStatic
[XXX XO]
Ctrl+Up
Scrolls screen up (keeps cursor on same screen line)
acScrollDownStatic
[XXX XO]
Ctrl+Down
Scrolls screen down (keeps cursor on same screen line)
acScrollUp
[XXX XO]
Ctrl+Alt+Up
Scrolls screen up (cursor follows screen)
acScrollDown
[XXX XO]
Ctrl+Alt+Down
Scrolls screen down (cursor follows screen)
Block Commands
acBlockModeCycle
[XXX XO]
Alt+1
Cycles through btUnknown, btInclusive, btColumn, and btNonInclusive, displaying block mode description on status bar. btUnknown is used for an alternative block mode called acFull-Line. Delphi's btLine Block mode always forces a full line mark, where acFull-Line will mark an entire line *only* when you use shift-up or shift-down. For acFull-Line to work, you must have the following two commands assigned to the keys shown:
acLineBlockOnUp
[XOO OX]
Shift+Up
If BlockMode is acFull-Line, these two commands will mark the entire line no matter where the cursor starts. You must have these assigned for acFull-Line block mode to work.
acLineBlockOnDown
[XOO OX]
Shift+Down
acBlockAbort
[XXX OX]
Escape
Turns off block, putting cursor to block beginning
Editor Minimize/Maximize Commands
acEditorMaximize
[XXX OX]
Alt+Up
These commands allows assigning alternate keys for sizing the editor window. Instead of actually minimizing the window, it is collapsed to height=1, so you can still access the CodeRush toolbars. Each routine cycles through the 3 modes in one direction or the other. You can also use acEditorMinimize repeatedly to toggle between minimized and the previous editor window height.
acEditorMinimize
[XXX OX]
Alt+Down
One-Key Copy Commands
acOneKeyWordCopy 
[XXX XO]
Alt+Shift+Ins
If cursor is in 'Classname.Methodname(params), flash-marks the current word (under the cursor) and copies it to the clipboard
acOneKeyPhraseCopy
[XXX XO]
Alt+Ctrl+Ins
If cursor is in 'Classname.Methodname(params), flash-marks entire statement and copies it to the clipboard.
Miscellaneous Utility Commands
acMatchParens
[XXX XO]
)
Each time you type closing character, the matching opening character is found, and the enclosed code is flash-marked. Searchs back three lines, and ignores parens embedded in quotes or eol comments. If no match, 2 beeps and status line message displayed. acMatchParens will embed selection in parentheses if a block is marked before invoking.
acMatchBrackets
[XOO XO]
]
acMatchCurlyBrace
[XOO XO]
}
acLineAnnotate
[XXX XO]
Ctrl+A
Jumps to user-definable CommentColumn (or EOL if nec), inserts '// ', and places cursor in comment. If comments already exist, and comments don't start on comment column, then re-aligns comments if possible (in cases of indents changing); otherwise moves cursor into comment for re-editing.
acRevertToSaved
[XXX XO]
Ctrl+Alt+R
Closes the current file (you may have to say NO to Save Changes), then reopens same file from disk.
acLoadPackageDesktopExecute
[added to Delphi File Menu]
Looks for .dpk file, saves desktop if found (for last open package with focus). Delphi 4 and Delphi 5 do not always restore the desktop when you open the package editor; this fixes problem.
acSavePackageDesktopExecute
[added to Delphi File Menu]
Looks for .dpk file, loads desktop if found (for last open package with focus)
acPackageCompile
[XXX XO]
Alt+F9
Looks for the last package editor with focus and clicks compile. A toolbar button is automatically registered in the "Project" category (CodeRush|Options|Buttons tab).
acShowCurrentMethodName
[XXX XO]
Alt+?
Displays current method name in status bar