Difference between revisions of "IDE Window: Package Graph"

From Free Pascal wiki
Jump to navigationJump to search
m (→‎Navigation: Tweak text)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{IDE Window: Package Graph}}
 
{{IDE Window: Package Graph}}
  
The package graph shows the currently loaded packages and which package uses which and is used by which.
+
== Navigation ==
  
This window is accessible via the IDE menu '''Package / Package Graph'''.
+
The Package Graph dialog is accessible via the Lazarus IDE [[Main menu|Main Menu]] > [[Main menu#Package|Package]] > Package Graph.
  
 +
== Overview ==
  
= Version 1.0 and below =
+
The package graph shows the currently loaded packages and which package uses which, and which package is used by which.
 
 
In the left treeview all packages are listed. The nodes are the required packages. Click on a package to see what is using the package in the list to the right and some general information in the memo below.
 
 
 
= Version 1.1 and above=
 
  
 
[[File:packagegraph1.png]]
 
[[File:packagegraph1.png]]
Line 16: Line 13:
 
Move the mouse cursor over nodes and edges to highlight dependencies.
 
Move the mouse cursor over nodes and edges to highlight dependencies.
  
Click on a package to see some general information in the memo below.
+
Click on a package to see some general information about it in the window below.
  
= Usage =
+
== Usage ==
  
Double click on a package to open the [[IDE Window: Package Editor|package editor]] of this package.
+
Double click on a package to open the [[IDE Window: Package Editor|Package Editor]] for this package.
  
Double click on a project to open the project inspector.
+
Double click on a project to open the [[IDE Window: Project Inspector|Project Inspector]].
  
 
Double click on the IDE to configure the installed packages.
 
Double click on the IDE to configure the installed packages.
Line 30: Line 27:
 
== State ==
 
== State ==
  
A package can have the following states:
+
A package can have one of the following states:
  
 
* Installed - the package is installed. An installed package is compiled into the IDE and its classes are available in the component palette.
 
* Installed - the package is installed. An installed package is compiled into the IDE and its classes are available in the component palette.

Latest revision as of 12:47, 2 February 2021

Deutsch (de) English (en) français (fr)

Navigation

The Package Graph dialog is accessible via the Lazarus IDE Main Menu > Package > Package Graph.

Overview

The package graph shows the currently loaded packages and which package uses which, and which package is used by which.

packagegraph1.png

Move the mouse cursor over nodes and edges to highlight dependencies.

Click on a package to see some general information about it in the window below.

Usage

Double click on a package to open the Package Editor for this package.

Double click on a project to open the Project Inspector.

Double click on the IDE to configure the installed packages.

Packages are automatically unloaded, when they are not used anymore.

State

A package can have one of the following states:

  • Installed - the package is installed. An installed package is compiled into the IDE and its classes are available in the component palette.
  • AutoCreated - the package is part of the IDE, it can not be uninstalled.
  • Install on next start - the package is not yet installed, but will be compiled into the IDE and will be installed after exiting the IDE and starting the new IDE. You compile a new IDE in Tools -> Build Lazarus.
  • Uninstall on next start (unless needed by an installed package) - This package was installed automatically because it was needed by a package that was installed normally. When the normally installed package is uninstalled this package will be uninstalled as well.