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

git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1677 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
eiffel-org
2016-11-22 13:26:18 +00:00
parent cd81ee4333
commit 0d52fb6d73

View File

@@ -27,13 +27,11 @@ There are two kinds of template:
Code templates are part of EiffelStudios code completion mechanism. Code completion lets you choose a code template at the same place where it offers you features to call: when you type a dot character “.” after the name of an applicable local variable, attribute or function, a menu appears:
[[Image:target_template_1_0]]
Figure 1. Auto-completion with code template option
If there are any applicable targeted templates, the first entry says “Code templates (CTRL-Space)” and you can click it to get a list of applicable templates:
[[Image:target_template_1_1]]
Figure 2. Auto-completion with code templates option list
As suggested, you can also type Control-space to get the same effect. If you find a template that you like, just click it (or navigate to it in the list using the up and down arrow keys, then type Return).
@@ -41,7 +39,8 @@ As suggested, you can also type Control-space to get the same effect. If you fin
It's also possible to use code templates without a target after type Control-Space, if there are any applicable targetless templates, the first entry says “Code templates (CTRL-Space)” and you can click it to get a list of applicable templates. Choose the desired one by clicking or navigating.
[[Image:targetless_template_1_3|Figure 3. Targetless Auto-completion with code template option]]
[[Image:targetless_template_1_3]]
Figure 3. Targetless Auto-completion with code template option