mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2026-04-05 17:49:26 +02:00
Author:halw
Date:2009-01-12T21:52:34.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@158 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -1,14 +1,21 @@
|
||||
[[Property:title|Class name auto complete]]
|
||||
[[Property:weight|3]]
|
||||
[[Property:uuid|0f11a078-7dab-54d1-b624-4c04476564a5]]
|
||||
EiffelStudio editor offers the possibility to complete class names automatically. This means that when the user types " ''a_variable: AN_INCOMPLETE_CLASS_NAME''" and then triggers the auto-complete, the editor will propose a list of possible valid class names. <br/>
|
||||
The EiffelStudio editor will complete class names automatically. This means that when the user types:
|
||||
<code>
|
||||
a_variable: AN_INCOMPLETE_CLASS_NAME</code>
|
||||
and then triggers the auto-complete, the editor will propose a list of possible valid class names. <br/>
|
||||
To be more precise, a window will pop up and display the list of classes that match ''AN_INCOMPLETE_CLASS_NAME''. The user can accept the suggested name, choose another name (in the list or not), or simply cancel the auto-complete.
|
||||
|
||||
|
||||
[[Image:editor-class-auto-completion-window]]
|
||||
|
||||
|
||||
To trigger the auto complete, press the key combination "Ctrl+Shift+Space" or click on '''Complete class name''' in the '''Advanced''' sub-menu of the [[Edit menu commands|menu]] . If automatic completion is possible, there are two cases : if only one name matches, this name will be inserted in the editor. If there are no matching names or several ones a window will appear. This window will contain a text field and a list. The text field will be filled with the beginning of the class name that was entered. The first item in the list, if any, will be selected. <br/>
|
||||
To complete your code with the selected item, press "Enter" or "Ctrl+Space". <br/>
|
||||
|
||||
To choose another item, use keyboard Up and Down arrows or the mouse. You can also modify the content of the text field. The list will be updated automatically. To validate your choice, press "Enter" or "Ctrl+Space". If there is no selected item, the content of the text field will be inserted. <br/>
|
||||
|
||||
To cancel the auto-complete, press "Esc" at any time.
|
||||
|
||||
|
||||
|
||||
@@ -1,23 +1,30 @@
|
||||
[[Property:title|Feature call auto complete]]
|
||||
[[Property:weight|2]]
|
||||
[[Property:uuid|40ae30a6-c033-dae7-8dae-2569e7ba0adc]]
|
||||
EiffelStudio editor now offers the possibility to complete feature calls automatically. This means that when the user types " ''an_identifier.an_incomplete_feature_name''" and then triggers the auto-complete, the editor will propose a list of possible feature names correct in this situation. <br/>
|
||||
To be more precise, a window will pop up and display the list of features that can be called on ''an_identifier'' and that match ''an_incomplete_feature_name''. The user can accept the suggested name, choose another name (in the list or not), or simply cancel the auto-complete.
|
||||
EiffelStudio editor will complete feature calls automatically.
|
||||
|
||||
This means that when the user types:
|
||||
<code>
|
||||
an_identifier.an_incomplete_feature_name</code>
|
||||
and then triggers the auto-complete, the editor will propose a list of possible feature names correct in this situation. <br/>
|
||||
To be more precise, a window will pop up and display the list of features that can be called on <code>an_identifier</code> and that match <code>an_incomplete_feature_name</code>. The user can accept the suggested name, choose another name (in the list or not), or simply cancel the auto-complete.
|
||||
|
||||
|
||||
[[Image:editor-auto-completion-window]]
|
||||
|
||||
|
||||
To trigger the auto complete, press the key combination "Ctrl+Space" or click on '''Complete word''' in the '''Advanced''' sub-menu of the [[Edit menu commands|menu]] . If automatic completion is possible, there are two cases : if only one name matches, this name will be inserted in the editor. If there are no matching names or several ones a window will appear. This window will contain a text field and a list. The text field will be filled with the beginning of the feature name that was entered. The first item in the list, if any, will be selected. <br/>
|
||||
To complete your code with the selected item, press "Enter" or "Ctrl+Space". <br/>
|
||||
To choose another item, use keyboard Up and Down arrows or the mouse. You can also modify the content of the text field. The list will be updated automatically. To validate your choice, press "Enter" or "Ctrl+Space". If there is no selected item, the content of the text field will be inserted. <br/>
|
||||
To cancel the auto-complete, press "Esc" at any time.
|
||||
|
||||
{{tip|s''': }}
|
||||
{{tip|The following tips can help you get the most out of feature call automatic completion: }}
|
||||
* If the selected feature is a query, you can call the auto-complete again right after the previous completion. There is no need to type a dot.
|
||||
* You can call the auto-complete without an identifier. The auto-complete window will then show the features of the current class.
|
||||
* The keyboard shortcut for automatic completion can be changed in the [[Keyboard shortcuts preferences|editor preferences]] .
|
||||
* Typing a non-alphanumeric character in the completion window automatically closes it. You can therefore type '.', ' ' or '(' to close the completion window and start typing the next token straight away.
|
||||
|
||||
{{note|s''': }}
|
||||
{{note|There are just a few more things you should know about feature call automatic completion: }}
|
||||
* Only identifiers that were already defined when the class was compiled for the last time can be completed, except for local entity names that can always be completed.
|
||||
* Only compiled features will appear in the auto-complete window.
|
||||
* By default, features from class ANY will be ignored by the auto-complete window. This can be changed in the [[General Editor Preferences|editor preferences]] .
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
[[Property:title|Automatic completion]]
|
||||
[[Property:weight|6]]
|
||||
[[Property:uuid|eb89d090-6998-7dbe-6430-26d30eb87a32]]
|
||||
* [[Automatic completion: Introduction|Introduction]]
|
||||
* [[Syntax auto complete|Syntax auto-complete]]
|
||||
* [[Feature call auto complete|Feature call auto-complete]]
|
||||
* [[Class name auto complete|Class name auto-complete]]
|
||||
|
||||
EiffelStudio editor includes new features designed to help write Eiffel code. Automatic completion is one of those. This feature is available in three contexts:
|
||||
|
||||
* [[Syntax auto complete]]: when the user types some expression defined in the Eiffel language.
|
||||
* [[Feature call auto complete]]: when the user enters a feature call.
|
||||
* [[Class name auto complete]]: when the user enters a class name.
|
||||
|
||||
This feature is can be customized or disabled in the [[Editor Preferences]].
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2,12 +2,11 @@
|
||||
[[Property:weight|1]]
|
||||
[[Property:uuid|aafa7c51-7a4d-385d-9c34-5e9dbba075fe]]
|
||||
Syntax auto-complete in EiffelStudio editor is twofold :
|
||||
*
|
||||
The editor can close brackets ("(", "{" and "[") and quotes(""", "'" and "`") automatically. This feature is disabled by default. It can be activated in the editor preferences.
|
||||
|
||||
*
|
||||
The editor can complete syntactic structures or part of them. The auto-complete is triggered when "Enter" or "Space" keys are pressed after a reserved word included in the following list:
|
||||
{|
|
||||
* The editor can close brackets ("(", "{" and "[") and quotes(""", "'" and "`") automatically. This feature is disabled by default. It can be activated in the editor preferences.
|
||||
|
||||
* The editor can complete syntactic structures or part of them. The auto-complete is triggered when "Enter" or "Space" keys are pressed after a reserved word included in the following list:
|
||||
{| align="center"
|
||||
|-
|
||||
| class
|
||||
| ensure
|
||||
@@ -58,12 +57,9 @@ The editor can complete syntactic structures or part of them. The auto-complete
|
||||
| require
|
||||
|}
|
||||
|
||||
The way these reserved words are completed is fully [[Syntax automatic completion preferences|customizable]] .
|
||||
|
||||
|
||||
{{seealso|<br/>
|
||||
To see how the editor completes by default and how it can be changed, please read the following pages: [[Syntax automatic completion preferences|Syntax auto-complete preferences]] <br/>
|
||||
}}
|
||||
{{seealso|How the editor completes by default and how the default behavior can be changed, documented in the [[Syntax automatic completion preferences]] }}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2,14 +2,12 @@
|
||||
[[Property:weight|3]]
|
||||
[[Property:uuid|f1bd2fd2-c115-d4e8-cb3b-2118f25037bb]]
|
||||
EiffelStudio editor provides common clipboard functionality, i.e. Cut, Copy and Paste commands.
|
||||
*
|
||||
To copy text to the clipboard, [[Selection|select]] it in the editor first. Then, you may either press the key combination "Ctrl+C" (or "Shift+Ins"), click on the copy icon [[Image:16x16--general-copy-icon]] or choose '''Copy''' in the '''Edit''' menu.
|
||||
|
||||
*
|
||||
To cut text, i.e. copy it to the clipboard and delete it, [[Selection|select]] it and then either press "Ctrl+X" (or "Shift+Del"), click on the cut icon [[Image:general-cut-icon]] or choose '''Cut''' in the '''Edit''' menu.
|
||||
* To copy text to the clipboard, [[Selection|select]] it in the editor first. Then, you may either press the key combination "Ctrl+C" (or "Shift+Ins"), click on the copy icon [[Image:16x16--general-copy-icon]] or choose '''Copy''' in the '''Edit''' menu.
|
||||
|
||||
*
|
||||
To paste text from the clipboard, either press "Ctrl+V" (or"Ctrl+Ins"), click on the paste icon [[Image:general-paste-icon]] or choose '''Paste''' in the '''Edit''' menu.
|
||||
* To cut text, i.e. copy it to the clipboard and delete it, [[Selection|select]] it and then either press "Ctrl+X" (or "Shift+Del"), click on the cut icon [[Image:general-cut-icon]] or choose '''Cut''' in the '''Edit''' menu.
|
||||
|
||||
* To paste text from the clipboard, either press "Ctrl+V" (or"Ctrl+Ins"), click on the paste icon [[Image:general-paste-icon]] or choose '''Paste''' in the '''Edit''' menu.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[[Property:title|Editor customization]]
|
||||
[[Property:weight|9]]
|
||||
[[Property:uuid|650993e4-65a7-9a7e-7d08-b4c17c14ff39]]
|
||||
Many of the editor features, the [[Automatic completion: Introduction|automatic completion]] in particular, can be customized in the preferences. <br/>
|
||||
Many of the editor features, the [[automatic completion]] in particular, can be customized in the preferences. <br/>
|
||||
Please refer to the [[Editor Preferences|editor section]] of the preferences help for more details.
|
||||
|
||||
|
||||
|
||||
@@ -2,11 +2,10 @@
|
||||
[[Property:weight|4]]
|
||||
[[Property:uuid|04edcfb7-3a63-e9e6-2ac6-8f5868b3ee10]]
|
||||
EiffelStudio editor provides an history functionality, i.e. Undo and Redo commands.
|
||||
*
|
||||
To undo last change, press the key combination "Ctrl+Z", click on the undo icon [[Image:general-undo-icon]] or choose '''Undo''' in the '''Edit''' menu. If you repeat this operation, the editor will undo the last change and so on until there are no more changes to undo.
|
||||
|
||||
*
|
||||
To redo last undone change, press the key combination "Ctrl+Y", click on the redo icon [[Image:general-redo-icon]] or choose '''Redo''' in the '''Edit''' menu. If you repeat this operation, the editor will redo the last undone change and so on until there are no undone changes left.
|
||||
* To undo last change, press the key combination "Ctrl+Z", click on the undo icon [[Image:general-undo-icon]] or choose '''Undo''' in the '''Edit''' menu. If you repeat this operation, the editor will undo the last change and so on until there are no more changes to undo.
|
||||
|
||||
* To redo last undone change, press the key combination "Ctrl+Y", click on the redo icon [[Image:general-redo-icon]] or choose '''Redo''' in the '''Edit''' menu. If you repeat this operation, the editor will redo the last undone change and so on until there are no undone changes left.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2,16 +2,11 @@
|
||||
[[Property:link_title|Editor]]
|
||||
[[Property:weight|-12]]
|
||||
[[Property:uuid|2594094b-af66-8cea-1d7f-629157c4aafa]]
|
||||
* [[EiffelStudio Editor Introduction|Introduction]]
|
||||
* [[Cursor moves|Cursor moves]]
|
||||
* [[Selection|Selection]]
|
||||
* [[Clipboard functionality|Clipboard functionality]]
|
||||
* [[History functionality|History functionality]]
|
||||
* [[Search functionality|Search functionality]]
|
||||
* [[Automatic completion|Automatic completion]]
|
||||
* [[Operations on text blocks|Operations on text blocks]]
|
||||
* [[Edit menu commands|Commands in the edit menu]]
|
||||
* [[Editor customization|Customization]]
|
||||
EiffelStudio includes an editor which allows you to read and modify the text of Eiffel classes.
|
||||
|
||||
The EiffelStudio editor offers usual [[Clipboard functionality]], [[History functionality]], and [[Search functionality]]. More advanced, class text specific functionalities such as [[Automatic completion]] and [[Operations on text blocks]] are also available.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2,21 +2,14 @@
|
||||
[[Property:weight|5]]
|
||||
[[Property:uuid|eecef577-ac83-610c-9ffd-cb20c4002346]]
|
||||
EiffelStudio editor provides a search functionality. To search an expression in the edited text, you can either use the [[Search tool|Search tool]] or use a set of keyboard accelerators available directly from the editor. From the editor, you can:
|
||||
*
|
||||
Search the next occurrence of the last searched pattern. <br/>
|
||||
To do so, press "F3". You can change this key binding in [[Keyboard shortcuts preferences|the preferences]] .
|
||||
|
||||
*
|
||||
Search the previous occurrence of the last searched pattern. <br/>
|
||||
To do so, press "Shift+F3". You can change this key binding in [[Keyboard shortcuts preferences|the preferences]] .
|
||||
* Search the next occurrence of the last searched pattern. To do so, press "F3". You can change this key binding in [[Keyboard shortcuts preferences|the preferences]] .
|
||||
|
||||
*
|
||||
Search the next occurrence of the current selected pattern. <br/>
|
||||
To do so, press "Ctrl+F3". You can change this key binding in [[Keyboard shortcuts preferences|the preferences]] .
|
||||
* Search the previous occurrence of the last searched pattern. To do so, press "Shift+F3". You can change this key binding in [[Keyboard shortcuts preferences|the preferences]] .
|
||||
|
||||
*
|
||||
Search the previous occurrence of the current selected pattern. <br/>
|
||||
To do so, press "Ctrl+Shift+F3". You can change this key binding in [[Keyboard shortcuts preferences|the preferences]] .
|
||||
* Search the next occurrence of the current selected pattern. To do so, press "Ctrl+F3". You can change this key binding in [[Keyboard shortcuts preferences|the preferences]] .
|
||||
|
||||
* Search the previous occurrence of the current selected pattern. To do so, press "Ctrl+Shift+F3". You can change this key binding in [[Keyboard shortcuts preferences|the preferences]] .
|
||||
|
||||
|
||||
{{seealso|<br/>
|
||||
|
||||
Reference in New Issue
Block a user