Difference between revisions of "IDE Window: Unit dependencies/de"

From Lazarus wiki
Jump to navigationJump to search
m
Line 1: Line 1:
 
{{IDE Window: Unit dependencies}}
 
{{IDE Window: Unit dependencies}}
  
Dieser Dialog zeigt die Unit-Abhängigkeiten in einer hierarchischen Darstellung.
+
Dieses Fenster zeigt die Unit-Abhängigkeiten, die von den uses-Abschnitten beinhaltet sind. Man erreicht es über ''Ansicht -> Unit-Abhängigkeiten anzeigen''.
  
Wählen sie in der Combobox die Unit, mit der sie starten wollen. Der '''Projekt''' Button wählt die Projekt-Hauptquelldatei (oft die .lpr Datei).
+
You can keep it open and if you installed docking, you can dock this window. The screen shot shows it on Gtk2 with anchordocking installed.
  
Die child nodes sind die im uses Abschnitt genannten Units. Interface und Implementation sind durch eine rote Linie getrennt. Ein Zirkelbezug wird durch ein Icon bestehend aus zwei Pfeilen angezeigt.
+
[[File:UnitDependencies1.png]]
Ein Doppelklick auf eine Unit öffnet diese im Quelltexteditor.
 
  
 +
Anmerkung: Vor Version 1.1 gabe es an dieser Stelle nur einen Dialog mit einer Baumansicht der Units.
  
WANTED:
+
== Units ==
Es ist geplant, rechts eine Listbox hinzuzufügen, welche die Units anzeigt, die die gewählte Unit verwenden.
+
 
Wenn sie helfen wollen, kontaktieren sie bitte die [http://www.lazarus.freepascal.org/modules.php?op=modload&name=StaticPage&file=index&sURL=maill Mailing Liste].
+
This page shows all scanned units and their interface and implementation uses sections. The uses sections of program and libraries are also called 'interface' on this dialog, which technically not correct, but convenient for this dialog.
 +
 
 +
When the window is shown the first time it scans the units. On recent machines this usually takes a few seconds, on slow machines and units on slow network shares it might take a minute. The IDE caches units, so subsequent scans are faster.
 +
 
 +
You can use the '''Refresh''' button at the lower right edge of the window to rescan.
 +
 
 +
=== Zusätzliche Verzeichnisse ===
 +
 
 +
Enable this option and give a semicolon separated list of directories which .pp and .pas files are scanned too.
 +
 
 +
=== Alle Package-Units ===
 +
 
 +
Mit Aktivierung der Option werden auch alle in der IDE geöffneten Packages gescannt.
 +
 
 +
=== Alle Units im Quelltexteditor ===
 +
 
 +
Mit Aktivierung der Option werden auch alle im Quelltexteditor geöffneten .pp und .pas Dateien gescannt.
 +
 
 +
=== Alle Units ===
 +
 
 +
This shows all scanned units. Units with ''implementation'' uses section have a marker. When you want to refactor a package or you have some fpc problems with cycles lookout for these units.
 +
 
 +
*You can use the '''filter''' to show only those units containing the filter text.
 +
*Next to the filter are two toggle buttons. One groups the units in projects/packages, the other groups them via directories. By default both are enabled.
 +
*You can use the '''search''' to find a node containing the text. Use the nearby buttons to jump to the next or previous node containing the text.
 +
*Click on a unit to select it. You can select multiple units by using Ctrl and Shift modified.
 +
*Double click on a unit to open it in the source editor. On a project will open the project inspector. On a package opens the package editor.
 +
*Right click for more options.
 +
 
 +
=== Gewählte Units ===
 +
 
 +
This shows the units selected in the '''All units'''.
 +
 
 +
Each unit has child nodes '''interface'', '''implementation''' for the corresponding the ''uses'' sections of the unit itself. And '''used by interface''' and '''used by implementation''' for ''uses'' sections of other units using this unit.
 +
 
 +
*You can use the '''search''' to find a node containing the text. Use the nearby buttons to jump to the next or previous node containing the text.
 +
*Double click on a unit to open it in the source editor.
 +
 
 +
== Projekt und Packages ==
 +
 
 +
The upper graph shows the project, packages and FPC directories. Select one or more to show their units in the lower graph.
 +
 
 +
The lower graph shows the units of the selected packages. Double click on a unit to open it in the source editor.

Revision as of 17:07, 25 June 2013

Deutsch (de) English (en)

Dieses Fenster zeigt die Unit-Abhängigkeiten, die von den uses-Abschnitten beinhaltet sind. Man erreicht es über Ansicht -> Unit-Abhängigkeiten anzeigen.

You can keep it open and if you installed docking, you can dock this window. The screen shot shows it on Gtk2 with anchordocking installed.

UnitDependencies1.png

Anmerkung: Vor Version 1.1 gabe es an dieser Stelle nur einen Dialog mit einer Baumansicht der Units.

Units

This page shows all scanned units and their interface and implementation uses sections. The uses sections of program and libraries are also called 'interface' on this dialog, which technically not correct, but convenient for this dialog.

When the window is shown the first time it scans the units. On recent machines this usually takes a few seconds, on slow machines and units on slow network shares it might take a minute. The IDE caches units, so subsequent scans are faster.

You can use the Refresh button at the lower right edge of the window to rescan.

Zusätzliche Verzeichnisse

Enable this option and give a semicolon separated list of directories which .pp and .pas files are scanned too.

Alle Package-Units

Mit Aktivierung der Option werden auch alle in der IDE geöffneten Packages gescannt.

Alle Units im Quelltexteditor

Mit Aktivierung der Option werden auch alle im Quelltexteditor geöffneten .pp und .pas Dateien gescannt.

Alle Units

This shows all scanned units. Units with implementation uses section have a marker. When you want to refactor a package or you have some fpc problems with cycles lookout for these units.

  • You can use the filter to show only those units containing the filter text.
  • Next to the filter are two toggle buttons. One groups the units in projects/packages, the other groups them via directories. By default both are enabled.
  • You can use the search to find a node containing the text. Use the nearby buttons to jump to the next or previous node containing the text.
  • Click on a unit to select it. You can select multiple units by using Ctrl and Shift modified.
  • Double click on a unit to open it in the source editor. On a project will open the project inspector. On a package opens the package editor.
  • Right click for more options.

Gewählte Units

This shows the units selected in the All units.

Each unit has child nodes interface, implementation' for the corresponding the uses sections of the unit itself. And used by interface and used by implementation for uses sections of other units using this unit.

  • You can use the search to find a node containing the text. Use the nearby buttons to jump to the next or previous node containing the text.
  • Double click on a unit to open it in the source editor.

Projekt und Packages

The upper graph shows the project, packages and FPC directories. Select one or more to show their units in the lower graph.

The lower graph shows the units of the selected packages. Double click on a unit to open it in the source editor.