Skip to main content

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.

Jump to: navigation, search

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:
== Features ==
+
= The Acceleo editor =
<p>The Acceleo template editor is associated with Acceleo source files (<em>.mtl</em>
+
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:</p>
+
<ul>
+
<li><p class="first">Syntax highlighting</p>
+
</li>
+
<li><p class="first">Smart completion</p>
+
</li>
+
<li><p class="first">Navigation to definitions and references</p>
+
</li>
+
<li><p class="first">Error highlighting</p>
+
</li>
+
<li><p class="first">Dynamic outline</p>
+
</li>
+
<li><p class="first">Code folding</p>
+
</li>
+
</ul>
+
<p>Some of these features are described in details in the Acceleo documentation plugin.</p>
+
  
[[Image:AcceleoCompletion.png]]
+
== 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

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

The Acceleo editor with the syntax highlighting.

Smart completion

The smart completion system in the Acceleo editor.

Navigation to definitions and references

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

Error detection in the Acceleo editor.

Quick fixes

Quick fixes in the Acceleo editor.

Warning and informations support

Warnings, TODO and FIXME in Acceleo 3.1

Dynamic outline

The dynamic outline.

Quick outline

The quick outline in the Acceleo editor.

Code folding

Code folding in the Acceleo editor.

Code templates

Code templates in the Acceleo editor.

Customizable code templates

For more information on customizable code templates, see the Generation Pattern view.

Documentation hover

Documentation hover in the Acceleo editor.

Visible whitespace characters

Visible whitespaces that will be generated can be seen in the Acceleo editor.

Search of occurrences

Occurrences search.

Refactoring

Acceleo contains several refactoring process in order to help the user to edit its Acceleo modules.

Rename

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

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 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

Copyright © Eclipse Foundation, Inc. All Rights Reserved.