Update wikipage Code Templates. (Signed-off-by:javier).

git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1632 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
eiffel-org
2016-09-21 19:35:13 +00:00
parent 5564c6ce13
commit 1047f4f2e0

View File

@@ -51,6 +51,7 @@ the list of available templates will be display.
At this point a user can select an available template, to insert into the current feature, back to the list of completion possibles by pressing <code>crtl+space</code>, or just ignore and continue editing the code.
!TODO add image
<code>
note
@@ -94,6 +95,11 @@ end
</code>
====Targetless Templates====
The next example shows how to define a template that will be applicable without any specific target.
To show the list of available targetless templates by pressing <code>crtl+space</code> you will see a new option in the list
of completion possibilities, by pressing again <code>crtl+space</code>, the list of targetless templates will be available.
!TODO add image
<code>
class TEMPLATE_DIRECTORY_GLOBAL
@@ -102,7 +108,7 @@ inherit
TEMPLATE
feature
feature -- Templates
entries
-- Show entires for the current directory.