Keil5 editor theme color matching beautification (with six dark themes)

41ce35f5b244404d85170bb7c6804311.png

1. Modify the theme through the configuration file

1. Back up the following three files under the software installation directory. To change the theme, you only need to replace global.prop

  • arm.prop
  • global.prop
  • global.prop.def

b22b9c5ea1cd4f1ea2f90c86954c7883.png

8ed157fb14d64e5bbac9b1fb6a229128.png

2. Replace the configuration file

Copy the prepared color matching file to \UV4 to replace

https://download.csdn.net/download/qq_43445867/88064961

Theme1:

b2fa9651f7984ed2ae81f78df2ebe36c.png

Theme2:

80f87e97fb2f4747834d068dfc520c3c.png

Theme3:

ac30788f22f347d68c9d67561597ec73.png

Theme4:

52964b76cd1749d784446df06d0505d6.png

Day and night theme:  https://download.csdn.net/download/qq_43445867/88065191

Theme5:

5100a7157a8243a8af23e36f28409cec.png

 Theme6:

a5596350a6e643faa615f000fb7b645c.png

 2. Modifications through the program

1. Click the small wrench

db71f5259b38447a914c244c2a95dc52.png
2. Select Color & Fonts

1.All Editions

cb5e88f105224040b68ef6d5069318bb.png

  •  Caret Line: The background color setting of the line code is being created, where Foreground represents the color of the flashing line and Background represents the background color setting (generally, it can be distinguished slightly, or it can be consistent with the general background)
  • Text Selection: The code color setting for the selected text, it should be easy to distinguish, and you can see what the code is, and the colors cannot be mixed. Easy for us to copy the code


3. Select C/C++ Editor files

Modify each element in the list on the right (including the modification of the color and background of keywords, numbers, strings, etc.)

On the far right, modify the color, font size and type according to the style you want

ce3c0980cf8f49b79e4d9f34d257e07e.png

  1. Text: represents text, which is the code background color setting in the entire editing environment, and Background refers to the code background color in the entire editing environment
  2. (recommended eye color)
  3. Number: Represents a number, that is, the color of the number that appears in the code
  4. Operator Block Brackets: This represents the color of various symbols that appear in the code, such as ()=+-*/; etc.
  5. Block Comment: Refers to the color in the block comment
  6. Line Comment: Refers to the color of line comments
  7. Keyword: the color of this comment line ("//") 
  8. String: The color change of keywords such as void typedef refers to the color of the string enclosed in double quotes
  9. ldentifier: Foreground in this setting refers to the color of the code
  10. Preprocessor: Preprocessing indicates color settings such as: #include
  11. Character: The content inside the single quotes is set
  12. Matching Braces: Color settings for matching quotation marks or brackets. For example, if you select a quotation mark, then the matching quotation marks will be displayed in the set color together
  13. Mismatched Braces: Unpaired symbol color setting, it is best to specify a color yourself, as long as it appears, then there is an error
  14. User Keyword Label: The keyword color setting set by the user, for example, you can set a keyword yourself, and when it appears, it will be displayed in the color you set
  15. Incomplete String: This is the color setting for incomplete strings. Like unpaired symbols, it is set to an eye-catching error color. If you forget to finish writing, you can see that it is wrong at a glance

If you need a topic without points, you can private message or comment, and I will send it to you when you see it

3. Other landscaping

Resolve blur (modify DPI)

Unprocessed, very blurry

Do as follows:

Find keil->right-click properties->compatibility->high DPI scaling alternative tick

Guess you like

Origin blog.csdn.net/qq_43445867/article/details/131803458