Modify notepad++ Theme (background color, foreground color, font, etc.)

Source: Internet
Author: User
Tags tag name

In the Settings-language format setting, open the Settings interface:

These basically meet the needs, if you need to set their own color, you can also go to Notepad stylers.xml This file to modify,

Open Stylers.xml This file, of course, with notepad++ open completely no problem. Find 787 of these lines, and note that there is something like this: name= "Selected text Colour", which describes the color of the selected text in this line. Keep Looking back, bgcolor= "C0c0c0″,bgcolor parameter is the background color of the selected text, change it to the color you want. Lily of the sky changed to Bgcolor= "000000″, after the selection into full black, the effect is good, modified to a deeper than the global background color can be distinguished, this can be changed according to their own needs. Note the configuration will not take effect until you reopen the notepad++ after you save the changes.

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

Global Styles

Indent guideline style indent reference line Color
Brace highlight Style The color of the frame when the mouse pointer is around the frame (e.g. in CSS {} js ())
Bad brace color of the frame (such as error in JS {}, the color of this {})
Current line background colour the background color of the row that the mouse is pointing to
Selected text colour The color of selected texts
Caret colour The color of the mouse pointer
Line number Margin number color
Fold Hide Code button color
Fold Margin Hide Code button up/down background color
Smart highlighting double-click to select the background color of text
Tags match highlighting the background color of the label when the mouse pointer is in the current tab
tags attribute the background color of attributes and property values when the mouse pointer is in the current tab
Active tab focused the background color of the document selected when a document interface appears
Active tab unfocused the background color of a document that is not selected when a document interface is present (the first document in another view)
active tab text color of the name of the current document
Inactive tabs The label background color of unselected documents

CSS

Default foreground
Tag tag name such as span H2
Pseudoclass pseudo-Class style
UNKNOWN _pseudoclass ambiguous pseudo-class styles (including Pseudo-class styles that have not been written)
OPERATOR style punctuation marks such as {}:;
IDENTIFIER property, identifier
Value property values
COMMENT explanation
IMPORTANT the important

HTML

Default foreground
COMMENT explanation
Number numbers
Doublestring Double-quote string
Singlestring Single-Quote string
Tag tag name such as span H2
Tagend Label End
Tagunknown ambiguous labels (including non-finished labels)
ATTRIBUTE Property
Attributeunknown ambiguous attributes (including properties that are not finished)
Sgmldefault the word that declares the document (the topmost of the HTML document)
The color of the value of the Values property (in which the value is not enclosed in single or double quotes)
ENTITY special character such as &gt:

JavaScript

word     generic word
keyword    keyword
Double quotation-string    string
singlestring     Single quote string
symbols     punctuation such as {}:;
comment     explanation
commentline    Single-line comment
commentdoc    multiline comment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.