mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-06 14:52:03 +01:00
merged from 18.01
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2048 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
[[Property:modification_date|Mon, 09 Jul 2018 15:02:54 GMT]]
|
||||
[[Property:publication_date|Mon, 09 Jul 2018 14:41:19 GMT]]
|
||||
[[Property:title|Adding a library]]
|
||||
[[Property:weight|1]]
|
||||
[[Property:uuid|6d711ed5-7cd4-481f-1ea3-7bc0eb4e1730]]
|
||||
@@ -6,9 +8,13 @@ A dialog window has been designed to help you to add a library to your project.
|
||||
|
||||
[[Image:new-library-dialog]]
|
||||
|
||||
There are two ways to make this window appear. You can:
|
||||
* Click [[Image:new-library-icon]] in the [[Groups tool|groups tool]] .
|
||||
* Select '''Add library''' in the '''Tools''' menu.
|
||||
|
||||
To bring up this dialog:
|
||||
* go to Project -> Project Settings and either:
|
||||
** Select the "Add Library" icon [[Image:new-library-icon]] in the top icon bar (or use the keyboard shortcut, normally CTRL-L).
|
||||
** On a "Target" or "Group" node of the tree, right-click "Libraries" and click "Add Library".
|
||||
* or also, go to the [[Groups tool|groups tool]] and click on the small toolbar button [[Image:new-library-icon]] .
|
||||
|
||||
Using this dialog, you can either choose a library from a list or select your own library.
|
||||
|
||||
|
||||
|
||||
@@ -1,20 +1,17 @@
|
||||
[[Property:title|Eiffel Inspector - Getting Started]]
|
||||
[[Property:modification_date|Mon, 09 Jul 2018 07:47:11 GMT]]
|
||||
[[Property:publication_date|Mon, 09 Jul 2018 07:47:11 GMT]]
|
||||
[[Property:title|Getting Started]]
|
||||
[[Property:link_title|Getting Started]]
|
||||
[[Property:weight|-15]]
|
||||
[[Property:uuid|81ae12fd-f643-c5ba-825c-7750929f6978]]
|
||||
==Eiffel Inspector Tool==
|
||||
After opening an existing project with EiffelStudio, go to View->Tools->Eiffel Inspector to show the tool. It will look like this:
|
||||
|
||||
The Inspector Eiffel tool panel before the analysis.
|
||||
[[Image:Eiffel Inspector - Tool Panel|center|1119px|Eiffel Inspector - Tool Panel]]
|
||||
==Code Analyzer==
|
||||
After opening an existing project with EiffelStudio, go to Project->Analyze... to run the tool.
|
||||
|
||||
== A Simple Analysis ==
|
||||
|
||||
Press the '''Analyze System''' button. If needed, the system will be compiled now. A successful compilation is required for the Eiffel Inspector to run. After a successful compilation the analysis will start and will check all classes of your system. The status bar shows the progress by displaying the class currently being analyzed. As soon as the analysis is complete, results will show up in the panel as a list of ''rule violations''.
|
||||
Select the menu item '''Analyze System Target'''. If needed, the system will be compiled now. A successful compilation is required for the Code Analyzer to run. After a successful compilation the analysis will start and will check all classes of your system. The status bar shows the progress by displaying the class currently being analyzed. As soon as the analysis is complete, results will show up in the error panel as a list of ''rule violations''.
|
||||
|
||||
The results of code analysis as a list of rule violations (example).
|
||||
[[Image:CA Simple Analysis|center|978px|Eiffel Inspector - Simple Analysis]]
|
||||
|
||||
|
||||
A double-click on a row will update the EiffelStudio editor to go to the position in the code where the issue lies. You may expand the row to see more details.
|
||||
[[Image:CA Simple Analysis|center|978px|Code Analyzer - Simple Analysis]]
|
||||
|
||||
A double-click on a row will update the EiffelStudio editor to go to the position in the code where the issue lies. You may expand the row to see more details.
|
||||
@@ -1,7 +1,7 @@
|
||||
[[Property:modification_date|Wed, 04 Jul 2018 09:37:50 GMT]]
|
||||
[[Property:publication_date|Wed, 04 Jul 2018 09:37:50 GMT]]
|
||||
[[Property:modification_date|Wed, 04 Jul 2018 11:29:56 GMT]]
|
||||
[[Property:publication_date|Wed, 04 Jul 2018 09:35:31 GMT]]
|
||||
[[Property:title|Code Analyzer]]
|
||||
[[Property:weight|-9]]
|
||||
[[Property:weight|-8]]
|
||||
[[Property:uuid|3d9edb08-a7dd-7df9-2b1e-b5c30add6529]]
|
||||
The Code Analyzer is a static analyzer that helps maintaining a high code quality. It is capable of detecting many different kinds of issues in the source code. These issues relate to possibly dangerous run-time behavior, performance problems, coding style, and more.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user