mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 23:32:42 +01:00
created 20.11
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2267 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
[[Property:title|Browsing]]
|
||||
[[Property:weight|1]]
|
||||
[[Property:uuid|62242eb2-a02d-32f0-e357-6ed0e3966066]]
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
[[Property:title|Opening new windows]]
|
||||
[[Property:weight|2]]
|
||||
[[Property:uuid|1d3066d2-f1ad-9287-ecd2-5341d3c24b61]]
|
||||
There are several ways to open a new window. First, you can use the pick and drop shortcut. Then, you can use new window menu items and the corresponding icons. There are three such commands:
|
||||
* Clicking on '''New window''' in the '''File''' menu or on [[Image:new-window-icon]] make an new window appear. In this window, the editor and the context tool will be visible.
|
||||
* Clicking on '''New editor window''' in the '''File''' menu or on [[Image:new-editor-icon]] does the same as the previous command but the context tool is minimized in the new window.
|
||||
* Clicking on '''New context window''' in the '''File''' menu make this time a new window with a minimized editor appear.
|
||||
|
||||
|
||||
{{note|Icons mentioned above are droppable: instead of simply clicking on them, you can drop a stone on them. The tools in the new window will then be centered on the corresponding component.}}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
[[Property:title|Searching]]
|
||||
[[Property:weight|0]]
|
||||
[[Property:uuid|655fd717-159f-43f0-00ec-9a804790283f]]
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
[[Property:title|Looking for a class]]
|
||||
[[Property:weight|1]]
|
||||
[[Property:uuid|d3f517bc-46a8-2181-e9fb-ce0430e04261]]
|
||||
There are two simple ways to find a class if you know its name or a part of it :
|
||||
* You may use the [[Groups tool|groups tool]] . This tool presents the entire universe of your project. By developing the [[System tree representation|cluster tree]] , you will be able to find what you are looking for. This method is quick if you already have an idea of where the class is in the universe.
|
||||
* Using [[Address bars|address bars]] will be quicker if you do not have this information or if the size of your project is important. If you type the name of the searched class (you can use wildcards, i.e."*" and "?") in the [[Main address bar|main address bar]] - and then select the right class in the displayed list if there are several possibilities - the editor will be centered on the class you are looking for. The information about the class location will be displayed in the title bar of the window. If you need more complete information about the class location, you can [[Pick-and-drop mechanism|pick]] the name of the class in the editor and drop it on the [[Locate command|view icon ]] [[Image:general-search-icon]] of the [[Groups tool|groups tool]] . This tool will then show where the class is in the universe.
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
[[Property:title|Looking for a cluster]]
|
||||
[[Property:weight|0]]
|
||||
[[Property:uuid|95175328-cc1b-0b0f-974d-5be7fde40e92]]
|
||||
If you know the name of a cluster but not where it is located in the system, there are two ways to find this out:
|
||||
* You can try to find it in the [[Groups tool|groups tool]] by expanding the cluster tree.
|
||||
* In a window where the context tool is independent from the editor, you can type the name of the cluster in [[Context tool address bar|context tool address bar]] . You may use wildcards ("*" or "?") if you know only a part of the name. You can then locate the cluster in the system by [[Pick-and-drop mechanism|picking]] the cluster stone in the [[Context tool address bar|address bar]] and dropping it on the [[Locate command|view icon ]] [[Image:general-search-icon]] of the [[Groups tool|groups tool]] .
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
[[Property:title|Looking for an expression in text]]
|
||||
[[Property:weight|3]]
|
||||
[[Property:uuid|d71e4302-3f44-5cd8-7a26-365af4a6ecf6]]
|
||||
To find a word or an expression in a text, you can use the [[Search tool|search tool]] . If it is not displayed, you can make it appear by clicking on its icon [[Image:tool-search-icon]] in the tool bar. This tool will allow you to search a word or a regular expression and to replace it if you want to. It can be case sensitive and look for isolated words.
|
||||
'''Note''': The [[Search tool|search tool]] will look for the wanted word in the editor or in the context tool, depending on which one has the focus.
|
||||
|
||||
|
||||
{{tip|There are several accelerators that will make it even easier to perform a search. They are detailed in the [[Search functionality|editor help]] . }}
|
||||
|
||||
|
||||
{{tip|You can use the quicksearch to search in the current text. Press CTRL + F to get the quick search bar. }}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
[[Property:title|Looking for a feature]]
|
||||
[[Property:weight|2]]
|
||||
[[Property:uuid|5ea97cae-9001-7d9d-2dbb-2b632b05fb75]]
|
||||
There are many ways to find a feature in a class. In particular :
|
||||
* You can use the [[Features tool|Features tool]] and search the tree by expanding feature clauses. This tool, however, displays only the features that are defined or redefined in the current class text. If you do not know if the feature is inherited or not, you may therefore not find what you are looking for with this method.
|
||||
* You can also use the [[Viewing Classes|class tab]] in the context tool. It will allow you to see all the [[Attributes| attributes]] or [[Routines|routines]] , or all the [[Exported features|public features]] for instance. If you do not know if the feature you seek is an attributes or a function and if it is public, this may not be the right method either.
|
||||
* If you know the name or a part of the name of the feature you are looking for, the easier and faster way will probably be to use the [[Main address bar|address bar]] . If you type this name in the feature field of the bar (using "*" and "?" wildcards if you want to), the editor will be centered on the right class if necessary (i.e. if the feature is inherited) and scroll to the position of the text of the feature.
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
[[Property:title|Centering tools on a component]]
|
||||
[[Property:weight|0]]
|
||||
[[Property:uuid|513b0d4a-78b6-30c3-fdde-b00c3072d8d3]]
|
||||
There are three kind of tools directly available in a default development tool : [[Browsing tools]] on the right, the [[EiffelStudio Editor]] on the upper left and context tools on the lower left. No browsing tool, except the feature tool, displays information about a particular component. On the contrary, the editor and context tools display information about a given cluster, class or feature : they are centered on this component. There are several ways to center the editor on an element:
|
||||
* use the [[Main address bar|address bar]] on the top of the editor. It allows you to set which class (and even which feature in the class) you want the editor to display. You may use wildcards ("?" or "*") as you type the names of these components.
|
||||
* use [[Pick-and-drop mechanism|pick and drop]]. Pick a cluster, class or feature stone anywhere in EiffelStudio and drop it in the editor. It will center it on the component automatically.
|
||||
* find it in the [[Groups tool|groups]], [[Features tool|features]], or [[Favorites tool|favorites]] tool and click it.
|
||||
The context tool can be [[Change data share mode|independent]] from the editor. If it is not, both the editor and the context tool will be centered on the same component. If it is, there is a [[Context tool address bar|second address bar]] , in the context tool title bar. You may then center the context tool on a component by using the three methods described for the editor. You can also center the context tool on the same component as the editor ( the context tool remaining independent): Just click [[Image:context-sync-icon]] or select '''Synchronize Context Tool''' tool in the '''View''' menu. <br/>
|
||||
To make the context tool independent if it is not, click [[Image:context-link-icon]] or select '''Unlink/Link context tool''' in the '''View''' menu. To do the opposite, click the same icon or select '''Merge context tool''' in the '''View''' menu.
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
[[Property:title|Viewing information about a component]]
|
||||
[[Property:weight|1]]
|
||||
[[Property:uuid|58f7ce9a-b5c3-77ab-d7a7-d834bb6d3b58]]
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
[[Property:title|Viewing information about a class]]
|
||||
[[Property:weight|2]]
|
||||
[[Property:uuid|6ec8ca83-fbe0-e02c-2570-68b5f3931083]]
|
||||
Once you [[Centering tools on a component|centered the editor]] on a class, you have access to its [[Class formatters: Basic text view|basic text]]. If the class is compiled, the [[Features tool|features tool]] shows the list of the features that are defined or redefined in this text. You can also view [[Clickable view|clickable]], [[Class formatters: Flat view|flat]], [[Flat Contract view|flat contract]] and [[Contract view|contract]] views of the class in the editor. The class tab in the context tool can display more information. If the [[Centering tools on a component|context tool is independent]], [[Centering tools on a component|center it]] on the wanted class and select this tab. You can then see information about the features ([[Routines|routines]], [[Attributes|attributes]], [[Exported features|exported features,]] [[Class views|etc.]] ..) of the class, its [[Ancestors|ancestors]] and [[Descendants|descendants]] or its [[Clients|clients]] and [[Suppliers|suppliers]] . <br/>
|
||||
The [[Metrics tool|metric tool]] provides another kind of data. It allows you to compute a complete set of [[How to analyze a project|measures]] on your class.
|
||||
|
||||
|
||||
{{seealso|<br/>
|
||||
[[Looking for a class|Looking for a class]] }}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
[[Property:title|Viewing information about a cluster]]
|
||||
[[Property:weight|1]]
|
||||
[[Property:uuid|daff6cb5-89bd-4281-4c1e-cf031391a34b]]
|
||||
To view information about a cluster, you have to center the context tool on this component. Then the [[Metrics tool|metric tool]] will provide a complete set of measures that you will able to compute.
|
||||
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
[[Looking for a cluster|Looking for a cluster]] <br/>
|
||||
[[How to analyze a project]] }}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
[[Property:title|Viewing information about a feature]]
|
||||
[[Property:weight|3]]
|
||||
[[Property:uuid|0151eab9-ee25-210a-bed9-b2709e9fa5f0]]
|
||||
Once you [[Centering tools on a component|centered the editor]] on a feature, you have access to its text. The feature tab in the context tool can display more information. To have access to it, you have first to center the context tool on the wanted class and select the feature tab. You can then consult the different views of the text of the feature ([[Feature formatters: Basic text view|basic text]] or [[Feature formatters: Flat view|flat]]) and other information such as its [[Feature formatters: Callers|callers]] or its [[Feature formatters: Descendant versions|descendant]] versions. <br/>
|
||||
The [[Metrics tool|metric tool]] provides another kind of data. It enables you to compute some [[How to analyze a project|measures]] on your feature.
|
||||
|
||||
|
||||
{{seealso|<br/>
|
||||
[[Looking for a feature|Looking for a feature]] }}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user