The ABNF editor supports the following commands and default key bindings:
| Navigation | ||
| Goto Definition | F12 | When the cursor is positioned on a local rule name, this command jumps the rule definition. |
|---|---|---|
| Move Forward | Alt+Ctrl+F | When the cursor is positioned right before an opening delimiter, this command moves the cursor past the corresponding closing delimiter (this command is not active within semantic tags). |
| Move Backward | Alt+Ctrl+B | When the cursor is positioned right after a closing delimiter, this command moves the cursor before the corresponding opening delimiter (this command is not active within semantic tags). |
| Selection | ||
| Select Forward | Alt+Ctrl+Shift+F | When the cursor is positioned right before an opening delimiter, this command selects the region up to the position right after the corresponding closing delimiter (this command is not active within semantic tags). |
| Select Backward | Alt+Ctrl+Shift+B | When the cursor is positioned right after a closing delimiter, this command selects the region up to the position before the corresponding opening delimiter (this command is not active within semantic tags). |
| Source | ||
| Collapse All | Collapses all the rule definitions. | |
| Expand All | Expands all the rule definitions. | |
| Toggle Comment | Ctrl+/ | Comment/uncomment the selected lines. |
| Refactoring | ||
| Rename | Alt+Shift+R | When the cursor is positioned on a local rule name, this command renames the rule definition and all its references in the
current grammar, as well as the references to the rule in the semantic tags. When positioned on a template variable, the variable definition and all its references are renamed. When positioned on a template macro name, the macro definition and all its references are renamed. |
| Extract | Alt+Shift+T | When an expansion is selected, this commands allows the author
to create a new rule containing the selected text (and replacing
the selection with a reference to the newly created rule). When the expansion contains dynamic directives, a new macro is created instead of a new rule. |
| Make Alternative | Alt+Ctrl+Shift+B | Takes a newline-separated list of phrases and make alternatives out of them. |
| Insertion | ||
| Paste Alternatives | Ctrl+Shift+V | Takes a newline-separated list of phrases from the clipboard and pastes them as alternatives at the cursor position. |
| Debugging | ||
| Interpret Grammar | Alt+Ctrl+Shift+I | Launches the sentence interpreter for the current grammar. |
| Debug Grammar | Alt+Ctrl+Shift+D | Launches the semantic stepper for the current grammar. |
| Explore Grammar | Alt+Ctrl+Shift+E | Launches the sentence explorer for the current grammar. |
| Analyze Grammar | Alt+Ctrl+Shift+A | Launches the grammar analyzer for the current grammar. |
| Instantiate Grammar | Alt+Ctrl+Shift+V | Launches the instantiation debugger for the current grammar. |
| Interpret Rule | Launches the sentence interpreter for the selected rule in the current grammar. | |
| Debug Ruler | Launches the semantic stepper for the selected rule in the current grammar. | |
| Explore Rule | Launches the sentence explorer for the selected rule in the current grammar. | |
| Tools | ||
| Export to GrXML | Exports the current grammar to W3C's XML Form. | |
| Export to GSL | Exports the current grammar to Nuance's GSL format. | |
| Generate Sentences | Launches the sentence generation tool for the current grammar. | |
| Export Vocabulary | Exports the grammar's vocabulary to a file. | |
| Publish Grammar | Alt+Ctrl+Shift+P | Publishes the grammar on a Grammar Server. |
All key bindings can be redefined using the
General > Keys
preference page.
Most commands are also available through contextual menu items.
Copyright © 2007,2008,2009,2010,2011 Nu Echo Inc.