Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to modify a notepad++ theme

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

The editor will share with you how to modify the notepad++ theme. I hope you will gain a lot after reading this article. Let's discuss it together.

Modify the theme of notepad++ (background color, foreground color, font, etc.)

Open the interface for settings in Settings-language formatting:

These basically meet the needs. If you need to set the color you want separately, you can also modify it in the stylers.xml file of notepad.

Open the stylers.xml file, of course, no problem opening it with Notepad++. Find the 787 lines, and notice that there is something like this: name= "Selected text colour", indicating that this line defines the color of the selected text. Continue to look back, bgColor= "c0c0c0", the bgColor parameter is to select the background color of the text, and change it to the color you want. Lily's sky was changed to bgColor= "000000", and after it was selected, it became all black. The effect is good. Modify it to be a little darker than the global background color, which can be changed according to your own needs. Note that the notepad++, configuration will not take effect until the changes are saved.

In addition, the following are some definitions of Notepad++ interface color settings, if you want to make more detailed color customization changes, you can refer to the following documentation.

The color of the Global StylesIndent guideline style indent guide Brace highlight style the color of the frame when the mouse pointer is around the frame (such as () in {} js in css) the color of the wrong frame in Bad brace color (such as error in js {}) The color of this {}) the background color of the current line pointed by the Current line background colour mouse Selected text colour the color of the selected text the color of the mouse pointer Caret colour the color of the line number Fold hidden code button color Fold margin hidden code button upper and lower background color Smart HighLighting double-click to select the background color of the text Tags match highlighting mouse pointer the background color of the label Tags at the current label Attribute mouse pointer background color of attribute and attribute value when current tag Active tab focused appears background color of selected document when connected to document interface Active tab unfocused appears background color of document not selected in continuous document interface (first document of another view) Active tab text color of name of current document Inactive tabs background color of unselected document CSSDEFAULT default foreground color Tag signatures such as span h3PSEUDOCLASS pseudo-class style UNKNOWN _ PSEUDOCLASS ambiguous pseudo-class style (including unfinished pseudo-class style) OPERATOR style punctuation marks such as {}: IDENTIFIER attribute, Identifier VALUE attribute value COMMENT interpretation IMPORTANT important HTMLDEFAULT default foreground COMMENT interpretation NUMBER numeric DOUBLESTRING double quote string SINGLESTRING single quote string TAG tag signature such as span h3TAGEND tag end TAGUNKNOWN ambiguous tag (including unwritten tag) ATTRIBUTE attribute ATTRIBUTEUNKNOWN ambiguous attribute (including unwritten attribute) SGMLDEFAULT declares the word of the document (the top of the html document The color of the value of the VALUE attribute (without single or double quotation marks) ENTITY special characters such as & gt:JavaScriptWORD words KEYWORD keywords DOUBLE STRING double quotation marks string SINGLESTRING single quotation marks string SYMBOLS punctuation such as {}: COMMENT explained COMMENTLINE single-line comments COMMENTDOC multi-line comments after reading this article, I believe you have a certain understanding of how to modify the notepad++ theme, want to know more related knowledge, welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report