This page contains a list of major IDE features that made Lazarus even more impressive. All features are sorted by the Lazarus release version that they became available in.
If you would like to contribute to this page, please read the following page (Creating animated gifs for wiki) giving hints on creating animated gifs for this wiki.
Overview
editv0.9.4 (and prior, 2004 and earlier)Designerform designer guidelines (June 2002)
v0.9.10 (2005-10-06)DocIntegrated Documentation Editor
v0.9.13 (2006-02-03)CompilationQuick Fixes
v0.9.18 (2006-09-18)Code managmentprocedure list
v0.9.20 (2006-11-05)Editingdivider lines in editor
v0.9.24 (2007-11-05)Editingeditor toolbar
v0.9.26 (2008-10-25)Docfpdoc help inside editor tooltips
v0.9.28 (2009-10-12)Editingblock matching
v0.9.28 (2009-10-12)Editingcode macro OfAll
v0.9.28 (2009-10-12)EditingCode Templates with macro $Param
v0.9.28 (2009-10-12)EditingSyncron-Edit
v0.9.30 (2011-03-28)EditingMulti Source Editor
v0.9.30 (2011-03-28)IDEDocked IDE
v0.9.30 (2011-03-28)EditingCode folding with hiding option for Comments
v1.0 (2012-08-29)EditingFolding (Hiding) text by selection
v1.0 (2012-08-29)DebuggingWatches/Locals History in debugger
v1.0 (2012-08-29)EditingMacro Recorder for Code Editor
v1.0 (2012-08-29)EditingProcedure/Class-Name Hint for long declarations
v1.2 (2014-03-04)EditingCommand Macros can be saved
v1.2 (2014-03-04)EditingPascalScript macros
v1.2 (2014-03-04)EditingMultiple user defined word highlight/markup
v1.2 (2014-03-04)IDEPackage Graph Control
v1.2 (2014-03-04)Code managmentDialog to find and remove unneeded package dependencies
v1.2 (2014-03-04)EditingAuto-continue for comments and strings
v1.2 (2014-03-04)CompilationProject Additions and Overrides
v1.2 (2014-03-04)EditingLow-lighting inactive $IFDEF code
v1.2 (2014-03-04)CompilationUnit Dependencies
v1.2 (2014-03-04)CompilationQuick Fix for circular unit not found
v1.2 (2014-03-04)Code managmentFind references of used unit
v1.4 (to be announced)CompilationMessage Marks
v1.4 (to be announced)CompilationMessages windows shows translated messages
v1.4 (to be announced)CompilationMessages windows allows to search with highlighting
v1.4 (to be announced)IDEHint windows and OI info box have HTML rendering by default
v1.4 (to be announced)EditingEditor Toolbar is visible by default
v1.4 (to be announced)DesignerCheckbox can be used as a Boolean property editor in OI
v1.4 (to be announced)DesignerComponent palette is configurable
v1.5 (to be announced)EditingMulti Caret
UnsortedIDEbuilt-in diff viewer
UnsortedCode managmentrefactoring
UnsortedDesignerfavorites in Object Inspector
UnsortedIDEintegrated unit testing with FPCUnit
UnsortedDesignerbetter anchoring and margins in form designer
UnsortedIDEfile browser
UnsortedCode managmentCodeTools
UnsortedIDEInclude files
UnsortedIDELazarus Packages
UnsortedEditingEnclose Selection
UnsortedCompilationQuick Fix: Remove unit
UnsortedCode managmentCode Observer
UnsortedEditingLine Change indicators
| Version | Category | Feature |
|---|
prior to v0.9.4 (2004 and earlier)
editform designer guidelines (June 2002)
editThe Form Designer shows green or blue guidelines when you position components. This help you align or size components correctly. When components are correctly aligned or sized, then guidelines are shown.
(2005-01-09)
editInvert Assignment tool
v0.9.10 (2005-10-06)
editIntegrated Documentation Editor
editLazarus IDE is now capable of editing the external fpdoc help (xml) files while you are working with the source code. The FPDoc Editor can be found at: View -> FPDoc Editor menu option. As you navigate your code, the FPDoc Editor window gets updated with the related documentation. External help files prevent you from obfuscating your source code. fpdoc is similar to the JavaDoc technology, but with its own features and syntax.
v0.9.13 (2006-02-03)
editQuick Fixes
edit- Quick Fix for improving message: Unit not found
- Quick Fix for Sender not used
v0.9.17 (2006-05-27)
edit- Quick Fix for some linker errors
v0.9.18 (2006-09-18)
editprocedure list
editThis makes finding methods in your current unit really fast! It can be found at Search > Procedure list (Hotkey is Alt+G). The procedure list enables you to view a list of Free Pascal / Lazarus procedures in the current unit and quickly jump to the implementation. Include files are also supported and the method list gets filtered as you type the partial method name.
v0.9.20 (2006-11-05)
editdivider lines in editor
editThe Lazarus editor supports drawing horizontal divider lines between classes, methods, nested procedures, begin..end blocks and many more. So now there is no need to add extra blank lines or {*******...} comments between classes or methods. In the upcoming v0.9.28 release this feature is very customizable in the "Environment > Options > Editor > Divider Drawing" screen. In the following screenshot it shows some divider lines using the default color and a divider line for nested procedures using a customized color.
v0.9.24 (2007-11-05)
edit- Quick Fix for fpc warning constructing a class with abstract methods
editor toolbar
editThe editor toolbar plug-in allows you to define toolbar buttons to any of the IDE menu items.
v0.9.26 (2008-10-25)
editfpdoc help inside editor tooltips
editLazarus can now display fpdoc documentation inside the tooltip help. Packages and Project can all be setup to find the related fpdoc (*.xml) help files, which then enables Lazarus to display the extended help in the tooltips. Simply hover the mouse over various parts of the code to see the tooltips in action. In the image below the mouse was hovered over the TCollection class definition.
v0.9.28 (2009-10-12)
editblock matching
editThe IDE automatically highlights matching blocks - begin..end pairs.
code macro OfAll
editThe code templates of the IDE can use code macros. Writing code macros is easy. The new code macro $OfAll() creates a list of enums for case statements as demonstrated in the image below:
(Hint: The separator line between text and folder marks can be enabled via Margin and gutter)
New users will automatically get the new macro. Old users can either delete their ~/.lazarus/lazarus.dci or add the template themselves. How to create the template:
- IDE menu / Environment / code templates
- Add. Token: "ofall" or whatever you like. Comment: "case variable of <list of all enums> end"
- Click ok to add it
- The new template is selected below.
- check "Enable macros"
- The code of the template:
of
|$OfAll()end;
- click ok to save and close the templates.
Code Templates with macro $Param
edit
To use this feature add the following macro (or delete your old config):
$param(variable) := $param(typename).Create;
try
|
finally
$param(variable,sync=1).Free;
end;
Syncron-Edit
edit
v0.9.30 (2011-03-28)
edit- Quick Fix for message: unit1(): fatal: can not find unit2 used by unit3
- Quick Fix for identifier not found: add local variable
- Quick Fix for identifier not found: search via Code Browser
- Quick Fix for unit not found: remove unit from uses section
- Quick Fix for note local variable not used: remove variable
- Quick Fix for hints: add IDE directive {%H-}
Multi Source Editor
editLazarus can now open as many Source-Editor-Windows as you want, and you can freely move files between them.
It is also possible to view the same file in multiple Windows.
Multiply Source-Editor-Windows
Docked IDE
editThe IDE now supports docking. Install either the package AnchorDockingDsgn or EasyDockMgrDsgn.
Code folding with hiding option for Comments
editComments in the source code can be completely folded away (hidden). The context menu (on the fold gutter) provides info on the nested folds at the selected line
v1.0 (2012-08-29)
edit- Quick Fix: cant find unit: show ppu of installed package
Folding (Hiding) text by selection
editLazarus can now fold any text/code segment you want. Just select the text and hide it. (These folds are not remembered in the session, restoring folds on load only works for folds at keywords)
Watches/Locals History in debugger
editA history of Watches and Locals
More Info: http://lazarus-dev.blogspot.com/2011/05/remember-remember-history-of-debugging.html blog

Macro Recorder for Code Editor
editThe source-code editor can record and play macros
Procedure/Class-Name Hint for long declarations
editThe editor displays an embedded hint with the name of the current Procedure/Class if the top of the declaration is scrolled out
v1.2 (2014-03-04)
editCommand Macros can be saved
edit
Support for multiple command macros, that can be saved with session or IDE config. IDE_Window:_Editor_Macros
PascalScript macros
editMultiple user defined word highlight/markup
editThe user can define any amount of different markup settings, and assign his own choice of words,expressions (one line terms) to them. This allows to highlight all occurrences of one or more identifiers of interest.
Words to be highlighted can be toggled via keyboard. Words can be highlighted per editor, or across all editors. A list of pre-defined words can be defined, that will be active when the IDE starts.
Package Graph Control
editThe package graph now shows the package dependencies as graph.
This new control is part of the package LazControls and used by the IDE itself as well. The control shows a graph consisting of nodes and edges as a level graph (this type of graph is also called a layered graph).
Dialog to find and remove unneeded package dependencies
editAvailable via package editor / context menu of a dependency or via the package graph.
Auto-continue for comments and strings
editProject Additions and Overrides
editProjects can now add compiler options to packages and override the output directories depending on the current build mode. You can also add compiler options to all projects on a machine depending on build mode.
Low-lighting inactive $IFDEF code
edit
Unit Dependencies
editYou can now find out what units uses a unit.
Quick Fix for circular unit not found
editWhen you create a cycle between units, the compiler only reports one edge of the cycle. Right click on the message / Show unit dependencies will open the unit dependencies dialog with a full path from unit A to unit B to unit A.
Find references of used unit
editPosition source editor cursor on a unit within a uses clause. Then right click / Find / Find references of used unit. This will find all references within the current unit to the used unit.
v1.4 (2015-04-22)
editDesigner supports Undo
editThis is one of the coolest improvements in this release. Earlier if you worked on a complex layout of components inside a Panel and then deleted the Panel by accident, there was no way to get it back. Now there is!
Drag and Drop refactoring of files in project and packages
editDrag and Drop support was added to both Project inspector and Package editor.
Parallel building packages
editCompilation of packages is now threaded. The Messages window has coloured header lines with information, one header per package. So when your project depends on multiple packages that have to be compiled, the IDE starts multiple threads to compile all those packages. This speeds up the compilation especially for larger projects, like the Lazarus IDE itself.
Downside is that sections in the Messages window are updated in random order, thus it is more difficult to follow the compilation process. Parallel compilation can be disabled by setting "Maximum parallel processes" to 1.
Message Marks
editFor each compiler message listed in the Messages window the Source Editor shows an icon in the left gutter, a line in the right gutter and the offending token is given a wavey underline. Right-clicking on the left gutter icon shows a context menu with a list of quick fixes.
The wavey underlines and other marks are only updated after compilation. This differs from the real-time syntax check in new Delphi versions where the wavey underline comes and goes while typing.
Messages windows shows translated messages
editYou can use the FPC provided translation files to show messages in many languages like German and French.
Messages windows allows to search with highlighting
editExplanation
Hint windows and Object Inspector info box have HTML rendering by default
editHints showing suitably formatted text give the IDE a more professional appearance, and the documentation shown usually includes clickable hyperlinks to sources and associated packages. Hint formatting was only available previously if you installed the TurboPowerIProDsgn package. It was not installed by default due to outstanding bugs which are now resolved.
Editor Toolbar is visible by default
editThe Editor Toolbar package was improved and is now installed by default. It has preconfigured buttons for "Jump Back" and "Jump Forward" features. Those buttons are often requested by new users. This toolbar makes Lazarus yet more newbie-friendly. It can be hidden from View-menu, thus there is no need to uninstall the package any more.
Checkbox can be used as a Boolean property editor in OI
editA Checkbox is maybe the most natural control for editing Booleans. It can be configured in Object Inspector environment settings, although the Combobox with "False" and "True" choices is still the default.
Component palette is configurable
editThe order of components and pages in the component palette can be changed by user. There is a new options page for it under environment options.
v1.6
edit- Quick fix for fpc message Local variable "i" does not seem to be initialized: insert assignment
- Added TFlowPanel in ExtCtrls.pp
Multi Caret
editThe editor allows multiple carets. Those can be set from column mode selection (Shift-Alt-Select), individually (Shift-Ctrl-Left-mouse or Shift-Ctrl-Insert-Key), or from selection (see image)
See also Multi Caret and SynEdit MultiCaret plugin
Project Groups
edit
See Project Groups.
Desktops
edit
See Desktops
IDE CoolBar
editReplaces the old static Toolbar. ToDo: upload an animation about changing Coolbar layout.
Package Tabs
edit
See Package Tabs
Favorites
edit
See Favorites
v1.8
edit- Quick fix for any fpc hint, note or warning: insert compiler directive {$warn id off}
Outline for Pascal Sources
editThe editor can outline pascal code blocks, such as if/then, loops, try/except, begin/end and others.
Settings can be found under Tools -> Options -> Editor on the pages "Markup and Matches" and "Colors"

v5.0
editWord wrap
edit
Indent, and colors (for wrapped empty space, wrapped extra line) can be configured.
Spell checking
edit
Requires package SynEditSpellCheckerDsgn to be installed and "ASpell" libraries available
Unsorted
editAny items below this point have not been sorted per Lazarus release yet.
built-in diff viewer
edit...
refactoring
edit...
favorites in Object Inspector
edit...
integrated unit testing with FPCUnit
edit...
better anchoring and margins in form designer
edit...
file browser
edit...
CodeTools
edit- word completion
- Rename component in Designer auto-renames all instances in unit.
...
Include files
edit...
Lazarus Packages
edit...
Enclose Selection
editSelect some text in editor. Right Click to get popup menu. Select "Refactoring > Enclose Selection".
Quick Fix: Remove unit
editIn messages window
Code Observer
edit...
Line Change indicators
edit...