Difference between revisions of "UserSuppliedSchemeSettings"
(Zenburn by cjrh) |
|||
(50 intermediate revisions by 22 users not shown) | |||
Line 1: | Line 1: | ||
− | = | + | = Introduction = |
− | + | It is possible to change how languages are [[Syntax_highlighting|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 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 Lazarus| multiple installations of Lazarus]]. | ||
+ | |||
+ | == Related == | ||
+ | |||
+ | * [[IDE_Window:_Editor_Options_HighlightColors| Color and Highlight options]] | ||
+ | * [http://lazarus-dev.blogspot.com/2010/06/user-defined-color-schemes.html Announcement on developer Blog] | ||
= Color schemes = | = Color schemes = | ||
− | + | This is a selection of user-defined schemes for the Lazarus IDE: | |
− | [ | + | {| class="wikitable" |
+ | |- | ||
+ | ! Name | ||
+ | ! Example | ||
+ | ! Comments | ||
+ | |- | ||
+ | ! style="background:#EEEEEE" | '''Default''' | ||
+ | | [[File:Default ColorScheme.png|240px|Default colour scheme]] | ||
+ | | style="background:#EEEEEE" | Example of the default color scheme provided with Lazarus 1.2.x | ||
+ | |- | ||
+ | ! [[Media:buenanoche.xml | "Buena Noche"]] | ||
+ | | [[File:buenanoche ColorScheme.png|240px|Buena Noche colour scheme]] | ||
+ | | This is the dark theme (black background, white text) that I use. -Seth Grover | ||
+ | |- | ||
+ | ! [[Media:cyber.xml | "Cyber"]] | ||
+ | | [[File:Cyber ColorScheme.png|240px|Cyber colour scheme]] | ||
+ | | Color scheme in the spirit of late mainframe consoles by Control Data Corporation (by [[user:jwdietrich|jwdietrich]]) | ||
+ | |- | ||
+ | ! [[Media:marina.xml | "Marina"]] | ||
+ | | [[File:Marina ColorScheme.png|240px|Marina colour scheme]] | ||
+ | | by [[user:jwdietrich|jwdietrich]] | ||
+ | |- | ||
+ | ! [https://gist.github.com/cpicanco/525bd3d1a40a65e20a745b58d6fe3531 "Monokai"] | ||
+ | | [[File:Monokai-ColorScheme.png|240px|Monokai colour scheme]] | ||
+ | | Try Monospace, size 9, as font, by [[user:cpicanco|cpicanco]] and [http://forum.lazarus.freepascal.org/index.php?topic=26981.0 "icetear"] | ||
+ | |- | ||
+ | ! [[Media:redsand.xml | "Red Sand"]] | ||
+ | | [[File:RedSand ColorScheme.png|240px|Red Sand colour scheme]] | ||
+ | | Color scheme inspired by the "Red Sands" preset in Apple's terminal shell, by [[user:jwdietrich|jwdietrich]] | ||
+ | |- | ||
+ | ! [[Media:Nortonic.xml | "Nortonic"]] | ||
+ | | [[File:Nortonic ColorScheme.png|240px|Nortonic colour scheme]] | ||
+ | | best used with '''FIXEDSYS''' or '''Consolas''' fonts. By Avra | ||
+ | |- | ||
+ | ! [[Media:ColorZenburn.xml | "Zenburn"]] | ||
+ | | [[File:ZenBurn ColorScheme.png|240px|Zenburn colour scheme]] | ||
+ | | by cjrh, See also [http://bugs.freepascal.org/view.php?id=17025 "here"] | ||
+ | |- | ||
+ | ! [http://www.theo.ch/lazarus/theos.xml "Theos"] | ||
+ | | [[File:Theos ColorScheme.png|240px|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 [http://www.theo.ch/lazarus/theoscheme.png "show"] | ||
+ | |- | ||
+ | ! [https://github.com/ik5/ik-lazarus-color-scheme-/blob/master/ik.xml "IK Color Scheme"] | ||
+ | | [[Image:Ik-color-scheme.png]] | ||
+ | | | ||
+ | |- | ||
+ | ! [[Media:Solarized.xml | "Solarized"]] | ||
+ | | [[File:Solarized ColorScheme.png|240px|Solarized colour scheme]] | ||
+ | | Based on [http://ethanschoonover.com/solarized "Solarized" palette] by Ask | ||
+ | |- | ||
+ | ! [[Media:Solarized2Day.xml | "Solarized2 day version"]] | ||
+ | | [[File:Solarized2Day.png|240px|Example screen shot of Solarized2 day version]] | ||
+ | | A theme for comfortable coding | ||
+ | Based on [http://ethanschoonover.com/solarized "Solarized"] palette but edited for better look in Lazarus | ||
+ | |- | ||
+ | ! [[Media:Solarized2Night.xml | "Solarized2 night version"]] | ||
+ | | [[File:Solarized2Night.png|240px|Example screen shot of Solarized2 night version]] | ||
+ | | A theme for comfortable coding | ||
+ | |- | ||
+ | ! [[Media:Solarized2NightEdited.xml | "Edited Solarized2 night version"]] | ||
+ | | [[File:Solarized2NightEdited.png|240px|Example screen shot of edited Solarized2 night version.]] | ||
+ | | A theme for comfortable coding | ||
+ | |- | ||
+ | ! [[Media:Antarctica.xml | "Antarctica"]] | ||
+ | | [[File:Antarctica-ColourScheme.png|240px|Antarctica colour scheme]] | ||
+ | | this is what I use --[[user:Zoran|Zoran]] | ||
+ | |- | ||
+ | ! [[Media:MellowEvening.xml | "Mellow Evening"]] | ||
+ | | [[File:MellowEvening-ColorScheme.png|240px|Mellow Evening color scheme]] | ||
+ | | I created this theme to be easy on the eyes for many hours of continuous coding. --ddsol | ||
+ | |- | ||
+ | ! [[Media:creaothceann.xml | "creaothceann"]] | ||
+ | | [[File:color_scheme.png|240px|creaothceann's color scheme]] | ||
+ | | Classic Turbo Pascal colors, but with some modifications.<br>font: Fixedsys Excelsior<br>tab size: 8 characters, not replaced by spaces, "cursor skips tabs" enabled | ||
+ | |- | ||
+ | ! [[Media:FOREST.xml | "FOREST"]] | ||
+ | | [[File:FOREST.png|240px|FOREST]] | ||
+ | | Into The Green :-) | ||
+ | |- | ||
+ | ! [[Media:INTO THE BLUE.xml | "INTO THE BLUE"]] | ||
+ | | [[File:INTO THE BLUE.png|240px|INTO THE BLUE]] | ||
+ | | :-) | ||
+ | |- | ||
+ | ! [[Media:SNOW.xml | "SNOW WALKER"]] | ||
+ | | [[File:MEADOW.png|240px|SNOW WALKER]] | ||
+ | | If a white background is really necessary !!! | ||
+ | |- | ||
+ | ! [[Media:NEB.xml | "NEBULA"]] | ||
+ | | [[File:NEBULA.png|240px|NEBULA]] | ||
+ | | N I C E ! ! ! My favorite :-) | ||
+ | |- | ||
+ | ! [[Media:Breeze Dark.xml | "Breeze Dark"]] | ||
+ | | [[File:Lazarus-Breeze-Dark-Screenshot.png|240px|Breeze Dark]] | ||
+ | | This will fit nicely into the Kubuntu dark standard theme which happens to go by the same name ;-) | ||
+ | |- | ||
+ | ! [[Media:deep_black.xml | "Deep Black"]] | ||
+ | | [[File:deep_black.png|240px|Deep Black]] | ||
+ | | Deep Black by Mariusz Kasperkiewicz where [http://gintasdx.blogspot.com/2011/02/lazarus-ide-custom-themes.html ported from Notepad++] by GintasDX. | ||
+ | |- | ||
+ | ! [[Media:hello_kitty.xml | "Hello Kitty"]] | ||
+ | | [[File:hello_kitty.png|240px|Hello Kitty]] | ||
+ | | Hello Kitty theme where [http://gintasdx.blogspot.com/2011/02/lazarus-ide-custom-themes.html ported from Notepad++] by GintasDX. | ||
+ | |- | ||
+ | ! [[Media:obsidian.xml | "Obsidian"]] | ||
+ | | [[File:obsidian.png|240px|Obsidian]] | ||
+ | | Obsidian theme by Joni Eskelinen where [http://gintasdx.blogspot.com/2011/02/lazarus-ide-custom-themes.html ported from Notepad++] by GintasDX. | ||
+ | |- | ||
+ | ! [[Media:GitHub_theme.xml | "GitHub like"]] | ||
+ | | [[File:GitHub_theme_preview.png|240px|Obsidian]] | ||
+ | | Dark theme inspired from GitHub syntax coloring. | ||
+ | |- | ||
+ | ! [[Media:Eclipse.xml | "Eclipse"]] | ||
+ | | [[File:EclipseEditorColors.png|240px|Eclipse colour scheme]] | ||
+ | | A dark, high contrast scheme (by 440bx) | ||
+ | |- | ||
+ | ! [[Media:ColorVSCLight.xml | "VS Code Light"]] | ||
+ | | [[File:ColorVSCLight_scheme_screenshot.png|240px|VS Code Light]] | ||
+ | | Theme inspired by VS Code Light, made by [https://gitlab.com/regs01 regs01] ([https://gitlab.com/freepascal.org/lazarus/lazarus/-/merge_requests/246 original merge request]). | ||
+ | |} | ||
− | [http:// | + | Delphi themes can be exported to Lazarus by using the [http://theroadtodelphi.wordpress.com/delphi-ide-theme-editor/ Delphi IDE Theme Editor]. |
= Mouse setting schemes = | = Mouse setting schemes = | ||
Some space to link or upload all the user defined schemes | Some space to link or upload all the user defined schemes | ||
+ | |||
+ | [[Category:Lazarus]] | ||
+ | [[Category:IDE]] | ||
+ | [[Category:Schemes and Themes]] |
Revision as of 00:56, 23 April 2024
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 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 | Example of the default color scheme provided with Lazarus 1.2.x | |
"Buena Noche" | This is the dark theme (black background, white text) that I use. -Seth Grover | |
"Cyber" | Color scheme in the spirit of late mainframe consoles by Control Data Corporation (by jwdietrich) | |
"Marina" | by jwdietrich | |
"Monokai" | Try Monospace, size 9, as font, by cpicanco and "icetear" | |
"Red Sand" | Color scheme inspired by the "Red Sands" preset in Apple's terminal shell, by jwdietrich | |
"Nortonic" | best used with FIXEDSYS or Consolas fonts. By Avra | |
"Zenburn" | by cjrh, See also "here" | |
"Theos" | 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" | ||
"Solarized" | Based on "Solarized" palette by Ask | |
"Solarized2 day version" | A theme for comfortable coding
Based on "Solarized" palette but edited for better look in Lazarus | |
"Solarized2 night version" | A theme for comfortable coding | |
"Edited Solarized2 night version" | A theme for comfortable coding | |
"Antarctica" | this is what I use --Zoran | |
"Mellow Evening" | I created this theme to be easy on the eyes for many hours of continuous coding. --ddsol | |
"creaothceann" | Classic Turbo Pascal colors, but with some modifications. font: Fixedsys Excelsior tab size: 8 characters, not replaced by spaces, "cursor skips tabs" enabled | |
"FOREST" | Into The Green :-) | |
"INTO THE BLUE" | :-) | |
"SNOW WALKER" | If a white background is really necessary !!! | |
"NEBULA" | N I C E ! ! ! My favorite :-) | |
"Breeze Dark" | This will fit nicely into the Kubuntu dark standard theme which happens to go by the same name ;-) | |
"Deep Black" | Deep Black by Mariusz Kasperkiewicz where ported from Notepad++ by GintasDX. | |
"Hello Kitty" | Hello Kitty theme where ported from Notepad++ by GintasDX. | |
"Obsidian" | Obsidian theme by Joni Eskelinen where ported from Notepad++ by GintasDX. | |
"GitHub like" | Dark theme inspired from GitHub syntax coloring. | |
"Eclipse" | A dark, high contrast scheme (by 440bx) | |
"VS Code Light" | Theme inspired by VS Code Light, made by regs01 (original merge request). |
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