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
2. Replace the configuration file
Copy the prepared color matching file to \UV4 to replace
https://download.csdn.net/download/qq_43445867/88064961
Theme1:
Theme2:
Theme3:
Theme4:
Day and night theme: https://download.csdn.net/download/qq_43445867/88065191
Theme5:
Theme6:
2. Modifications through the program
1. Click the small wrench
2. Select Color & Fonts
1.All Editions
- 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
- 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
- (recommended eye color)
- Number: Represents a number, that is, the color of the number that appears in the code
- Operator Block Brackets: This represents the color of various symbols that appear in the code, such as ()=+-*/; etc.
- Block Comment: Refers to the color in the block comment
- Line Comment: Refers to the color of line comments
- Keyword: the color of this comment line ("//")
- String: The color change of keywords such as void typedef refers to the color of the string enclosed in double quotes
- ldentifier: Foreground in this setting refers to the color of the code
- Preprocessor: Preprocessing indicates color settings such as: #include
- Character: The content inside the single quotes is set
- 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
- Mismatched Braces: Unpaired symbol color setting, it is best to specify a color yourself, as long as it appears, then there is an error
- 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
- 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