Difference between revisions of "IDE Window: Messages"

From Lazarus wiki
Jump to navigationJump to search
Line 5: Line 5:
 
[[File:IDEMessagesWindowFind1.png]]
 
[[File:IDEMessagesWindowFind1.png]]
  
When compiling you can see messages appear briefly and vanishing. The IDE classifies the compiler messages. Messages like "compiling unit1.pas" are treated as "progress" lines. These are shown, but hidden as soon as the next messages is shown, so that only the important messages (e.g. hints, notes, warning, errors) are shown. You can choose what lines to show, see filtering below.
+
= Overview =
 +
 
 +
When compiling the Messages window is shown automatically. You can see messages appear briefly and vanishing. The IDE classifies the compiler messages. Messages like "compiling unit1.pas" are treated as "progress" lines. These are shown, but hidden as soon as the next messages is shown, so that only the important messages (e.g. hints, notes, warning, errors) are shown. You can choose what lines to show, see filtering below.
  
 
Click on a message to jump to the position in the source editor. You can set whether a double click jumps or a single click in Tools -> Options -> Messages Window -> Double click on messages jumps.
 
Click on a message to jump to the position in the source editor. You can set whether a double click jumps or a single click in Tools -> Options -> Messages Window -> Double click on messages jumps.
 +
 +
When the IDE compiles a project it also compiles changed packages. In this case you see several blocks of messages, each having a header. The header is yellow while compiling, it turns green when compilation was successful, and turns red when there was an error. You can change the colors in the options.
  
 
= Popup menu =
 
= Popup menu =

Revision as of 14:22, 25 November 2015

Deutsch (de) English (en) español (es)

The Messages window contains the compiler messages. It can also contain codetools messages, or linker errors, etc..

IDEMessagesWindowFind1.png

Overview

When compiling the Messages window is shown automatically. You can see messages appear briefly and vanishing. The IDE classifies the compiler messages. Messages like "compiling unit1.pas" are treated as "progress" lines. These are shown, but hidden as soon as the next messages is shown, so that only the important messages (e.g. hints, notes, warning, errors) are shown. You can choose what lines to show, see filtering below.

Click on a message to jump to the position in the source editor. You can set whether a double click jumps or a single click in Tools -> Options -> Messages Window -> Double click on messages jumps.

When the IDE compiles a project it also compiles changed packages. In this case you see several blocks of messages, each having a header. The header is yellow while compiling, it turns green when compilation was successful, and turns red when there was an error. You can change the colors in the options.

Popup menu

Clear

Remove all messages.

Copy selected messages to clipboard

Copy all selected lines to the clipboard.

Copy all messages to clipboard

Copy all shown messages to the clipboard.

Copy all and hidden messages to clipboard

Copy all messages to the clipboard including those not shown.

Help

Show Help for the current message.

Save all messages to file

Opens a save dialog to choose a filename and save all messages including the hidden messages.

Options

MessagesWindowOptions1.png

MessagesWindowOptionMsgColors.png