|
My Favorite Keyboard Shortcuts for RSE
Published: April 18, 2007
by Susan Gantner
When using RSE for editing my CL, DDS, RPG or COBOL code, I find that I can save a lot of time by using keyboard shortcuts for functions that would otherwise require that I take my hands off the keyboard to use the mouse. So I thought I would share a few of my favorites. Many of the shortcuts I use are standard for other Windows-based applications that I also use for email, spreadsheets or text editing.
These include some very common ones such as:
- Ctl-C to copy, Ctl-V, or Shift-Insert to paste, and Ctl-X or Shift-Delete to cut.
- Ctl-Z to undo--very high on my list of favorites!--and Ctl-Y to redo.
- Home jumps to the beginning of a line and End jumps to the end of a line.
- Ctl-Home jumps to top of the member and Ctl-End jumps to end of the member.
- Ctl-F opens the Find/Replace dialog.
- Ctl-S saves the source back to wherever I opened it from--typically the host source member--without closing it.
Other shortcuts are not standard across other applications, but are specific to some combination of Eclipse (on which WDSc and RSE are based) or the WDSc workbench. I use these to help navigate my way around the workbench. Here are some of my favorites:
- Ctl-F6 switches between Editor tabs, i.e., it switches between open members.
- Ctl-E pops up a list of open members for selection.
- Ctl-F7 toggles between Views in the workbench (e.g., from Editor to Outline View)
- Ctl-F8 toggles between open Perspectives (e.g., from RSE to Debug or iSeries Projects)
- Ctl-M maximizes or shrinks a View in the workbench, replacing a double click at the top of the view. There is an exception to this one: it does something completely different in the Editor view. I'll talk more about that later.
- Ctl-Shift-A brings up a dialog to open a member by filling in the library, file and member name when I don't want to drill down using filters in RSE. In earlier releases of WDSc, this was done with Clt-Shift-I.
This last set of favorite shortcuts relate specifically to the LPEX Editor (the editor that RSE uses by default):
- Ctl-Backspace deletes a line. This comes in particularly handy when I have hit Enter too many times and accidentally end up with several blank lines in my source.
- Alt-S splits a line at the cursor position. I find this especially useful when writing RPG expressions and I run out of space on a line.
- Alt-J joins the next line to the end of the current one, which can be useful once I've discovered a shorter way to handle that complex expression!
- Ctl-M finds the matching End for my code block, such as an If or Do in RPG, It also works in reverse--to find the matching block beginning for an End operation. This is very helpful for sorting out complicated nesting logic in fixed-form calc specs in RPG. Note that this is the exception to the use of Ctl-M to minimize or maximize a view.
- Ctl-F5 clears out those pesky pink error messages that appear in the editor window before an expression is finished, after a cut and paste that was not aligned properly or after a "clean" verify action.
- Ctl-Shift-V verifies the source from the editor.
- Ctl-Shift-C compiles the source from the editor.
There are many more keyboard shortcuts, but these are among my favorites. I hope I may have introduced you to a few that you haven't tried before. Maybe they will save you a little time in the future. If you want to try out some other keyboard shortcuts for the editor, key the command ? SEU in the editor command line (press Esc to get to the command line) and you will see a help page with a long list of shortcuts.
Susan Gantner is one of the most respected System i gurus in the world and is one of the co-founders of System i Developer, an organization dedicated to RPG, DB2, and other relevant software technologies for the System i platform. Gantner, who has worked in IBM's Rochester and Toronto labs, left IBM to focus on training OS/400 and i5/OS shops on the latest programming technologies. She is a regular speaker at COMMON and other user groups, too. You can contact her at susan@SystemiDeveloper.com.
Post this story to del.icio.us
Post this story to Digg
Post this story to Slashdot
|
|
Deploy. Run. Manage. Succeed.
Alliance AES/400 Database Field Encryption
· Encrypt credit card, social security, pin numbers and other sensitive data.
· Easy to use with RPG or COBOL - sample code included.
· Get compliant - SOX, Privacy notification, GLBA, Etc.
· Free 30-day trial. Fully functional software - Not a demo.
DB2 field encryption with Alliance AES: Encrypt and decrypt individual fields in AS/400 DB2 database files. Alliance APIs can be used in RPG and Cobol applications including older OPM applications. Alliance AES encryption for DB2 fields integrates with Alliance key management for the secure storage of AES keys.
DB2 file encryption with Alliance AES: Encrypt any DB2 database file with Alliance AES/400. You can specify that the data be converted to ASCII or retained in the original EBCDIC character set. You can also specify that the pass phrase should be converted to ASCII for decryption on an ASCII system such as Microsoft Windows. Alliance DB2 file encryption integrates with Alliance AES key management.
IFS file encryption with Alliance AES: You can encrypt and decrypt IFS (Integrated File System) files with Alliance AES encryption commands. Once encrypted files can be decrypted on an AS/400 or Windows PC or Server platform. You can also use the free Alliance Windows AES encryption application to encrypt files on a Windows platform for decryption on the AS/400. IFS file encryption integrates with Alliance AES key management for secure key storage.
AES self-decrypting archives: Alliance AES/400 can encrypt files into a self-decrypting archive. A self-decrypting archive is a Windows executable program. You can run the self-decrypting archive, enter a pass phrase, and decrypt and extract the file. If run from a command line you can pass the program parameters for the decryption. This is helpful if you are automating the decryption process. If you run the self-decrypting archive program without parameters it presents a Windows GUI dialog for pass phrase and other decryption information.
Report distribution with AES encryption: When Alliance AES encryption is used with the Alliance FTP Manager application you can automatically distribute reports in encrypted or self-decrypting archive format. Reports can be sent from one or more output queues, and reports can be selectively routed from the output queue.
AES key management: Alliance AES/400 provides a complete key management facility to help you securely store keys and pass phrases. All application program interfaces and commands allow the use of a named AES key. The Alliance AES key manager automatically backs up the key store when keys are added or changed.
Windows encryption application: Alliance AES encryption includes a Windows application that you can freely distribute to provide encryption and decryption services. Files encrypted on a Windows platform with the Alliance application can be decrypted on the AS/400. Files encrypted on the AS/400 can be decrypted on the Windows platform.
Sample code: The Alliance AES/400 product includes sample RPG and ILE-RPG source code that demonstrate how to use the encryption APIs. There are also sample CL programs that show how to use the Alliance commands to encrypt and decrypt files, and create self-decrypting archives.
More information:
Patrick Townsend & Associates, Inc.
7700 Earling Street NE
Olympia, WA 98506
Voice: (360) 357-8971
Fax: (360) 357-9047
Email: Info@patownsend.com
Web: www.patownsend.com
Click here for 30 day trial
|
Senior Technical Editor: Ted Holt
Technical Editors: Howard Arner, Joe Hertvik, Shannon O'Donnell, Kevin Vandever
Contributing Technical Editors: Joel Cochran, Wayne O. Evans, Raymond Everhart,
Bruce Guetzkow, Brian Kelly, Marc Logemann, David Morris
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
|
IT Jungle Store Top Book Picks
The System i Pocket RPG & RPG IV Guide: List Price, $69.95
The iSeries Pocket Database Guide: List Price, $59.00
The iSeries Pocket Developers' Guide: List Price, $59.00
The iSeries Pocket SQL Guide: List Price, $59.00
The iSeries Pocket Query Guide: List Price, $49.00
The iSeries Pocket WebFacing Primer: List Price, $39.00
Migrating to WebSphere Express for iSeries: List Price, $49.00
iSeries Express Web Implementer's Guide: List Price, $59.00
Getting Started with WebSphere Development Studio for iSeries: List Price, $79.95
Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
Getting Started with WebSphere Express for iSeries: List Price, $49.00
WebFacing Application Design and Development Guide: List Price, $55.00
Can the AS/400 Survive IBM?: List Price, $49.00
The All-Everything Machine: List Price, $29.95
Chip Wars: List Price, $29.95
|
|
April 14, 2007: Volume 9, Number 15
April 7, 2007: Volume 9, Number 14
March 31, 2007: Volume 9, Number 13
March 24, 2007: Volume 9, Number 12
March 17, 2007: Volume 9, Number 11
March 10, 2007: Volume 9, Number 10
|
|
|
|