Repository navigation
Live Templates
github-actions[bot] edited this page May 25, 2026
·
1 revision
type: component title: Live Templates created: '2026-05-25' updated: '2026-05-25' tags:
- domain/annotation status: mature related:
- 'Annotation Syntax' sources:
- .raw/EFA.xml
Quick-insert templates for feature annotations. Group: EFA.
| Abbreviation | Description | Expands to |
|---|---|---|
&begin |
EFA block |
<commentStart> &begin[FEATURE]<commentEnd> + selection + <commentStart> &end[FEATURE]<commentEnd>
|
&end |
Closing EFA | <commentStart> &end[FEATURE]<commentEnd> |
&line |
EFA line | <selection> <commentStart> &line[FEATURE]<commentEnd> |
All three templates use:
-
COMMENT—commentStart()(auto-detects language comment style, not editable) -
FEATURE— user stop, manually filled in -
END_COMMENT—commentEnd()(auto-detects, not editable)
$SELECTION$ preserves selected text when using "Surround with" action.
-
commentStart()/commentEnd()adapt to host language —//in Kotlin/Java,#in Python, etc. -
&begintemplate wraps selected code — use with "Surround with Feature Annotation" (EditorPopupMenu) - All three active in any file type (context: ANY)
Three variants (begin, end, line) for COMMENT context are present but commented out — they omit comment delimiters (already inside a comment). Currently inactive.
Modules
Components
- Annotation Syntax
- Feature Model Language
- Feature Model View
- Feature Metrics View
- Traffic Light
- Extension Points
- Syntax Highlighting
- Live Templates
Decisions
Dependencies
Flows