Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Acceleo/Acceleo Editor"
m (Acceleo index) |
m (→Refactoring) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | = | + | = The Acceleo editor = |
− | + | The Acceleo editor is the center of the Acceleo tooling. It is associated with Acceleo source files (.mtl files) and provides all the features of a modern programming editor to make you more productive when developing code generation modules. | |
− | files) and provides all the features of a modern programming editor to | + | |
− | make you more productive when developing code generation modules | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | [[Image: | + | == Syntax highlighting == |
+ | |||
+ | [[Image:Acceleo-editor-syntaxhighlighting.png|thumb|none|400px|The Acceleo editor with the syntax highlighting.]] | ||
+ | |||
+ | == Smart completion == | ||
+ | |||
+ | [[Image:Acceleo-editor-smartcompletion.png|thumb|none|400px|The smart completion system in the Acceleo editor.]] | ||
+ | |||
+ | == Navigation to definitions and references == | ||
+ | |||
+ | [[Image:Acceleo-editor-opendeclaration.png|thumb|none|225px|Hyperlinks in the Acceleo editor.]] | ||
+ | |||
+ | Hyperlinks in the Acceleo editor are available in order to navigate quickly to definitions of model elements and operations. | ||
+ | |||
+ | == Errors detection == | ||
+ | |||
+ | [[Image:Acceleo-editor-errordetection.png|thumb|none|400px|Error detection in the Acceleo editor.]] | ||
+ | |||
+ | == Quick fixes == | ||
+ | |||
+ | [[Image:Acceleo-editor-quickfix.png|thumb|none|400px|Quick fixes in the Acceleo editor.]] | ||
+ | |||
+ | == Warning and informations support == | ||
+ | |||
+ | [[Image:Acceleo-editor-warninginfo.png|thumb|none|400px|Warnings, TODO and FIXME in Acceleo 3.1]] | ||
+ | |||
+ | == Dynamic outline == | ||
+ | |||
+ | [[Image:Acceleo-editor-dynamicoutline.png|thumb|none|412px|The dynamic outline.]] | ||
+ | |||
+ | == Quick outline == | ||
+ | |||
+ | [[Image:Acceleo-editor-quickoutline.png|thumb|none|400px|The quick outline in the Acceleo editor.]] | ||
+ | |||
+ | == Code folding == | ||
+ | |||
+ | [[Image:Acceleo-editor-codecollapsing.png|thumb|none|456px|Code folding in the Acceleo editor.]] | ||
+ | |||
+ | == Code templates == | ||
+ | |||
+ | [[Image:Acceleo-editor-codetemplates.png|thumb|none|400px|Code templates in the Acceleo editor.]] | ||
+ | |||
+ | == Customizable code templates == | ||
+ | |||
+ | For more information on customizable code templates, see the [[Acceleo/Views_Perspective#Generation_Pattern|Generation Pattern]] view. | ||
+ | |||
+ | == Documentation hover == | ||
+ | |||
+ | [[Image:Acceleo-editor-documentation.png|thumb|none|400px|Documentation hover in the Acceleo editor.]] | ||
+ | |||
+ | == Visible whitespace characters == | ||
+ | |||
+ | [[Image:Acceleo-editor-visiblewhitespaces.png|thumb|none|400px|Visible whitespaces that will be generated can be seen in the Acceleo editor.]] | ||
+ | |||
+ | == Search of occurrences == | ||
+ | |||
+ | [[Image:Acceleo-editor-search.png|thumb|none|400px|Occurrences search.]] | ||
+ | |||
+ | == Refactoring == | ||
+ | |||
+ | Acceleo contains several refactoring process in order to help the user to edit its Acceleo modules. | ||
+ | |||
+ | === Rename === | ||
+ | |||
+ | [[Image:Acceleo-editor-refactoringrename.png|thumb|none|400px|Renaming refactoring in Acceleo.]] | ||
+ | |||
+ | The "rename" refactoring allows the user to rename a module, a template, a query or a variable and each of its occurrences in the workspace. | ||
+ | |||
+ | === Extract template === | ||
+ | |||
+ | The "extract as template" operation allows the user to create a new template from a simple text selection. | ||
+ | |||
+ | === Extract query === | ||
+ | |||
+ | The "extract as query" operation allows the user to create a new query from a simple text selection. | ||
+ | |||
+ | === Pull up === | ||
+ | |||
+ | [[Image:Acceleo-editor-refactoringpullup.png|thumb|none|400px|Refactoring pull up.]] | ||
+ | |||
+ | The "pull up" operation allows the user to pull some templates or queries into another module and have all the inheritance links plugged. | ||
{{Acceleo-index}} | {{Acceleo-index}} | ||
+ | |||
+ | [[Category:Modeling]] | ||
+ | [[Category:M2T]] | ||
+ | [[Category:Acceleo]] |
Latest revision as of 06:28, 19 January 2011
Contents
- 1 The Acceleo editor
- 1.1 Syntax highlighting
- 1.2 Smart completion
- 1.3 Navigation to definitions and references
- 1.4 Errors detection
- 1.5 Quick fixes
- 1.6 Warning and informations support
- 1.7 Dynamic outline
- 1.8 Quick outline
- 1.9 Code folding
- 1.10 Code templates
- 1.11 Customizable code templates
- 1.12 Documentation hover
- 1.13 Visible whitespace characters
- 1.14 Search of occurrences
- 1.15 Refactoring
The Acceleo editor
The Acceleo editor is the center of the Acceleo tooling. It is associated with Acceleo source files (.mtl files) and provides all the features of a modern programming editor to make you more productive when developing code generation modules.
Syntax highlighting
Smart completion
Hyperlinks in the Acceleo editor are available in order to navigate quickly to definitions of model elements and operations.
Errors detection
Quick fixes
Warning and informations support
Dynamic outline
Quick outline
Code folding
Code templates
Customizable code templates
For more information on customizable code templates, see the Generation Pattern view.
Documentation hover
Visible whitespace characters
Search of occurrences
Refactoring
Acceleo contains several refactoring process in order to help the user to edit its Acceleo modules.
Rename
The "rename" refactoring allows the user to rename a module, a template, a query or a variable and each of its occurrences in the workspace.
Extract template
The "extract as template" operation allows the user to create a new template from a simple text selection.
Extract query
The "extract as query" operation allows the user to create a new query from a simple text selection.
Pull up
The "pull up" operation allows the user to pull some templates or queries into another module and have all the inheritance links plugged.
Acceleo Portal | |
Project | Project · Installation |
Features | Acceleo Features · Runtime · Acceleo editor · Views & Perspective · Interpreter · Maven |
User documentation | Getting Started · User Guide · Acceleo operations reference · OCL operations reference · Text Production Rules · Migration From Acceleo 2.x · Best Practices · Videos · FAQ |
Developer documentation | Source code · How to contribute · Compatibility · MOFM2T specification · OCL specification |
Community | Professional Support · Report a bug |