UserSuppliedSchemeSettings

From Free Pascal wiki
Jump to navigationJump to search

Introduction

It is possible to change how languages are highlighted. Within the IDE, select Tools > Options (or shift-control-d [shift=option-d on Mac) A dialog box will appear. These options are in Editor > Display > Colors.

One color scheme defines the color for all languages. However, in the options, you can specify which scheme to use language by language by using the second drop down menu. So you may override the language highlighting for one specific language by choosing a theme just for this language even if you don't use the rest of the color scheme.

Adding custom schemes

There are many color schemes available by default. However an additional color scheme can be described by an XML file. Additional schemes can be added by copying them into a folder called "userschemes" in the primary-config-path. The sub folder "userschemes" must be created if missing. The list of schemes is determined on Lazarus startup.

To know where the folder is, click on the icon to save/export the selected scheme from the IDE (after the scheme drop down menu). This will popup a dialog with the directory of custom themes. The location may change if you have multiple installations of Lazarus.


Related

Color schemes

This is a selection of user-defined schemes for the Lazarus IDE:

Name Example Comments
Default Default colour scheme Example of the default color scheme provided with Lazarus 1.2.x
"Buena Noche" Buena Noche colour scheme This is the dark theme (black background, white text) that I use. -Seth Grover
 "Cyber" Cyber colour scheme Color scheme in the spirit of late mainframe consoles by Control Data Corporation (by jwdietrich)
 "Marina" Marina colour scheme by jwdietrich
"Monokai" Monokai colour scheme Try Monospace, size 9, as font, by cpicanco and "icetear"
 "Red Sand" Red Sand colour scheme Color scheme inspired by the "Red Sands" preset in Apple's terminal shell, by jwdietrich
"Nortonic" Nortonic colour scheme best used with FIXEDSYS or Consolas fonts. By Avra
"Zenburn" Zenburn colour scheme by cjrh, See also "here"
"Theos" Theos colour scheme I don't know when I have started using this scheme. I was using it in D3-D6, K1-K3. Most people hate it, but I don't feel at home without it ;-) See also "show"
"IK Color Scheme" Ik-color-scheme.png
"Solarized" Solarized colour scheme Based on "Solarized" palette by Ask
"Solarized2 day version" Example screen shot of Solarized2 day version A theme for comfortable coding
Based on "Solarized" palette but edited for better look in Lazarus
"Solarized2 night version" Example screen shot of Solarized2 night version A theme for comfortable coding
"Edited Solarized2 night version" Example screen shot of edited Solarized2 night version. A theme for comfortable coding
"Antarctica" Antarctica colour scheme this is what I use --Zoran
"Mellow Evening" Mellow Evening color scheme I created this theme to be easy on the eyes for many hours of continuous coding. --ddsol
"creaothceann" creaothceann's color scheme Classic Turbo Pascal colors, but with some modifications.
font: Fixedsys Excelsior
tab size: 8 characters, not replaced by spaces, "cursor skips tabs" enabled
"FOREST" FOREST Into The Green :-)
"INTO THE BLUE" INTO THE BLUE :-)
"SNOW WALKER" SNOW WALKER If a white background is really necessary !!!
"NEBULA" NEBULA N I C E  ! ! ! My favorite :-)
"Breeze Dark" Breeze Dark This will fit nicely into the Kubuntu dark standard theme which happens to go by the same name ;-)
"Deep Black" Deep Black Deep Black by Mariusz Kasperkiewicz where ported from Notepad++ by GintasDX.
"Hello Kitty" Hello Kitty Hello Kitty theme where ported from Notepad++ by GintasDX.
"Obsidian" Obsidian Obsidian theme by Joni Eskelinen where ported from Notepad++ by GintasDX.
"GitHub like" Obsidian Dark theme inspired from GitHub syntax coloring.
 "Eclipse" Eclipse colour scheme A dark, high contrast scheme (by 440bx)
"VS Code Light" VS Code Light Theme inspired by VS Code Light, made by regs01 (original merge request).
"VS Code Dark" VS Code Dark Theme inspired by VS Code Dark, made by assisdantas (Github repo).
"Kurwish Dark" Kurwish Dark A dark color scheme, clean, neat and featuring subdued colors. (Github repo).

Delphi themes can be exported to Lazarus by using the Delphi IDE Theme Editor.

Mouse setting schemes

Some space to link or upload all the user defined schemes