Developing Apama Applications > Using Apama Studio > Working with Projects > Editing Apama files > Shortcuts when editing Apama files
Shortcuts when editing Apama files
Apama Studio provides the following shortcuts, in addition to the usual Eclipse shortcuts:
Action
Key
Description
Auto-completion and content assistance
Ctrl+space
If the text you entered has only one possible completion, Apama Studio inserts the completion. If you did not enter any text, or if there are two or more completion candidates, Apama Studio displays candidates for you to choose from.
Toggle comment line notation
Ctrl+/
Toggles comment notation for selected lines. That is, this action inserts or removes // from the beginning of each line.
Insert block comment
Ctrl+Shift+/
Makes the selected text a block comment. That is, this action inserts /* at the beginning of the selected text, and */ at the end of the selected text.
Remove block comment notation
Ctrl+Shift+\
Removes block comment notation from the selected text. That is, this action removes /* from the beginning of the selected text, and */ from the end of the selected text.
Auto-indent
Ctrl+i
Inserts appropriate indents in selected lines relative to the entire file.
Move line (s) up
Alt+up arrow
Move the selected line or lines to be before the previous line.
Move line(s) down
Alt+down arrow
Move the selected line or lines to be after the subsequent line.
Shorthand for any EPL
Templates
Templates let you define short names for patterns you frequently specify in EPL files. See Defining shorthand (templates) for frequently used EPL code.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.