Sign in Join
Wiki copytemporary

Installing Help in the IDE

Sent here from Lazarus Offline Documentation.

Installing Help in the IDE for the Lazarus Runtime Library (RTL), Free Pascal, Free Component Library (FCL) and the Lazarus Component Library (LCL) and a number of associated things.

The installer or package may have already set up Help (or lhelp), depending on how you installed Lazarus. If it is not operational or it is out of date, this page will help you.

Changing the key for context sensitive help

Some platforms do not pass the F1 key to applications. The key can be changed in the menu under Tools > Options > Editor > Key Mappings > Help Menu Commands > Context sensitive help.

Installing CHM help (Lazarus 1.0 and later)

Note: these instructions use Windows path notation, but they also apply to other systems with minor changes.

Now context-sensitive help using F1 should work.

Notes

Installing CHM help (earlier than Lazarus 1.0)

Pre-1.0 versions of Lazarus search for CHM files only in $(LazarusDir)\docs\html and not in $(LazarusDir)\docs\chm. Therefore, please follow the instructions above with these differences:

Installing INF help in the IDE

If you have help files in the INF format, please see "DocView IDE Integration" for details on how to install such help in the Lazarus IDE. This option will use the fpGUI DocView help viewer to display and search the INF help files.

Where to find INF help files?

This SourceForge page contains links to download ZIP archives of the FPC Language Reference, RTL, FCL, LCL and fpGUI help in the INF format.

Why choose INF help?

Why avoid INF help?

Installing Kylix Help in the Lazarus IDE

For users who have a legal copy of Kylix, it is possible to add Kylix 3 context-sensitive help files to Lazarus IDE running on Linux x86. The benefit from those help files is that they are very detailed, and also contain the Object Pascal Language Reference help - most of which is applicable to FPC's Object Pascal syntax or the Lazarus LCL. Note that this uses the proprietary HyperHelp program, so is not portable to other platforms.

For instructions, please see instructions in the Kylix article

fpdoc entries of RTL and FCL

The fpdoc entries for the FPC sources can be downloaded from svn:

bash
 cd /home/username/yourchoice/
 svn co https://svn.freepascal.org/svn/fpcdocs/trunk fpcdocs

Add the path /home/username/yourchoice/fpcdocs to Tools > Options > Environment > FPDoc Editor

The source editor hints (eg as displayed by hovering your mouse over a function/procedure/property) should now show help for TComponent.Name.


From the Free Pascal wiki, page "Installing Help in the IDE", as it stood on 2023-09-03 after a change by Myrmidon, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 2, last changed by WikiArchive .

Edited on wiki.freepascal.org by 21 people, 2007–2023

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
T0mWalsh
T0mWalshThe files needed from Kylix3
T0mWalshThe hyperhelp.sh script
T0mWalshThe files needed from Kylix3
T0mWalshThe files needed from Kylix3
T0mWalshThe hyperhelp.sh script
T0mWalshThe hyperhelp.sh script
T0mWalshThe hyperhelp.sh script
T0mWalshThe hyperhelp.sh script
T0mWalshThe hyperhelp.sh script
T0mWalshThe hyperhelp.sh script
T0mWalshThe hyperhelp.sh script
T0mWalshThe files needed from Kylix3
T0mWalshmy Directory tree
T0mWalshThe hyperhelp.sh script
T0mWalshCustom Tool setup in IDE
T0mWalshCustom Tool setup in IDE
T0mWalshThe files needed from Kylix3
Paulatreides
GgeldenhuysThe files needed from Kylix3: - spelling and formatting (minor)
GgeldenhuysIn summary: - use kepress template (minor)
GgeldenhuysThe files needed from Kylix3: - minor formatting (minor)
SekelsenmatAdding Kylix Help moved to Installing Help in the IDE (minor)
Sekelsenmat
Chronos
Mattias2Installing the Kylix Help in the Lazarus IDE
Mattias2Editing fpdoc entries of RTL and FCL
Mattias2
SekelsenmatIf you are using Lazarus from Subversion
Sekelsenmat
SekelsenmatInstalling CHM Help for The RTL, FCL and LCL in the Lazarus IDE
SekelsenmatIf you are using Lazarus from Subversion
MartinIf you are using Lazarus from Subversion
BigChimpAdded section on packaged Lazarus; typos, grammar; removed superfluous reasons for installing kylix help. (minor)
Chronos
MarkMLlInstalling INF Help in the IDE: Note that these are additional.
MarkMLlInstalling the Kylix Help in the Lazarus IDE: Add "possible to add" phrasing.
GgeldenhuysInstalling the Kylix Help in the Lazarus IDE: - improved the clarity of the description
GgeldenhuysInstalling INF Help in the IDE: - improved general description of this section
GgeldenhuysInstalling CHM Help for The RTL, FCL and LCL in the Lazarus IDE: - fixes a minor spelling mistake in title (minor)
El esAdded a stub of what I think the 'Installing CHM Help ...' section should look like.
El esminor addition: do mention where the files should be copied to... (minor)
El esSpace / download requirement may be of interest to users. (minor)
Mattias2Under Windows
Mattias2If you are using Lazarus from Subversion
GgeldenhuysInstalling INF Help in the IDE: - added details on where to find INF help files
GgeldenhuysInstalling CHM Help for the RTL, FCL and LCL in the Lazarus IDE (minor)
Mattias2If you are using Lazarus from Subversion
BigChimpMerged windows help as it is almost the same. Clarified chm package version. removed .tar.bz2, html help download from chm section: not present in 1.0RC1 download, also we're talking about chm, not html and this will only confuse users
BigChimpReorg: not only applies to Windows
BigChimpDue to user feedback, separated out 1.0RC1 and older instructions for clarity. Replaced <your-lazarus-dir> with macro $(LazarusDir) for consistency
BigChimp (minor)
BigChimpMoved Kylix help instructions to Kylix page so it doesn't clutter up the main IDE help page (as announced in discussion page)
BigChimpInstalling CHM help (Lazarus 1.0RC1 and later) (minor)
BigChimpInstalling CHM help (earlier versions than Lazarus 1.0RC1, e.g. Lazarus 0.9.30.4) (minor)
Mattias2Installing CHM help (Lazarus 1.0RC1 and later)
Mattias2Installing CHM help (Lazarus 1.0RC1 and later)
JuhaManninenInstalling CHM help (Lazarus 1.0RC1 and later)
BigChimpDon't use Lazarus 1.0RC1 but plain Lazarus 1.0 for clarity
BigChimp (minor)
BigChimpfpdoc entries of RTL and FCL (minor)
BigChimpInstalling CHM help for the RTL, FCL and LCL in the Lazarus IDE
BigChimp (minor)
BlaiseP
Lloydtypos correction (minor)
Lloydctd (minor)
FTurtle
MaiInstalling CHM help (Lazarus 1.0 and later) (minor)
MaiInstalling CHM help (Lazarus 1.0 and later) (minor)
HowardPCWhy choose INF help? (minor)
WpInstalling CHM help (Lazarus 1.0 and later)
WpInstalling CHM help (Lazarus 1.0 and later)
Dbannonwhere else you can put help files
DbannonNote re slow startup, extra thinsg covered by lhelp
TrevInstalling CHM help (Lazarus 1.0 and later): macOS uses F1 (2.0.6+) (minor)
TrevInstalling CHM help (Lazarus 1.0 and later): Updated filename for non-Windows (minor)
TrevInstalling CHM help (Lazarus 1.0 and later): Add some markup; add macOS note
TrevFix heading levels; fix internal link; add markup
TrevFix typo (minor)
TrevNotes: Add note for macOS 2.0.10
TrevInstalling CHM help (earlier than Lazarus 1.0: Fix typo (minor)
TrevChanging the key for context sensitive help: Add keypress Wiki markup
TrevInstalling CHM help (Lazarus 1.0 and later): Add keypress Wiki markup
Kai Burghardtundo revision 01B9BC by Mai (talk) (minor)
MyrmidonInstalling CHM help (Lazarus 1.0 and later)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.