Using Lazarus for other computer languages

From Lazarus wiki
Revision as of 16:09, 7 April 2008 by Mattias2 (talk | contribs) (New page: Lazarus is great for Free Pascal. But you can use the IDE for other languages too. This is useful to port C code or to edit cross multi tier applications, without the need to use different...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Lazarus is great for Free Pascal. But you can use the IDE for other languages too. This is useful to port C code or to edit cross multi tier applications, without the need to use different editors and different shortcuts and menues.

Syntax Highlighting

Lazarus comes with syntax highlighting for more than 20 languages. The language is guessed from the file extension. The colors can be setup in the editor options.

If your language is not yet there, you can either use one of the existing highlighters by extending the list of file extensions in the editor options. Or you can create your own highlighter and send us the new highlighter. The easiest way to create a new highlighter is to copy an existing file in lazarus/components/synedit/. The highlighter units all begin with 'synhighlighter', for example synhighlighterphp.pp is the php highlighter.

Compilation