[Lazarus] New Messages window

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jun 8 12:21:27 CEST 2014


Hi,

Some central parts of the IDE have been rewritten: the whole messages
window and all code that runs external tools (e.g. the compiler), including the
fpc and 'make' output parser and all quick fixes.

If you have trouble please create a bug report.
You can get the old code by compiling clean with -dEnableOldExtTools.

Highlights:
- external tool is now run in a thread. And so is the biggest part of
the parser.
- the IDE now passes -vbq (message ids and full file names) to the compiler.
- Messages window now uses a special control:
  every tool output is now clearly separated by a header line
- the control can handle much bigger outputs, so you can compile with
  more verbosity
- the popup menu of the messages window has new items:
- The IDE now knows where each message came from and what tool has
  created them. For example you can see the reason why a package was
  compiled and the parameters via the "About" menu item.
- the fpc parser uses the message ids, the errore.msg file and the
  translated error*.msg file
- you can switch between English and translation at any time
- you can search in messages window
- you can filter for message types and urgency (hint, note, warn ...)
- choose file names styles (short, relative, full)
- you can change the colors in Tools / Options / Messages
- when you insert/delete text in the source editor the messages are now
  updated in line *and* column number.
- the source editor shows marks: on left gutter an icon, on right gutter
  a small rectangle and the token is underlined with a wave.
- right clicking on the left gutter icon will show the quick fixes

Here is a short list of the built in quick fixes:
http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Quick_Fixes


Mattias




More information about the Lazarus mailing list