search
HomeDevelopment ToolsnotepadHow to modify the notepad++ theme

How to modify the notepad++ theme

Nov 23, 2020 pm 03:09 PM
notepad++

The following tutorial column of notepad will introduce to you how to modify the theme of notepad (background color, foreground color, font, etc.). I hope it will be useful to friends who need it. help!

How to modify the notepad++ theme

##Modify notepad’s theme (background color, foreground color, font, etc.)

In settings- Open the setting interface in the language format setting:

These basically meet the needs. If you need to set the colors you want individually, you can also go to the

stylers.xml file in notepad. Modify,

Open the file stylers.xml, of course, it doesn’t work at all when opened with Notepad question. Find the 787th line, and note that there is this content: name="Selected text color", indicating that this line defines the color of the selected text. Continue to look back, bgColor="c0c0c0", the bgColor parameter is the background color of the selected text, just change it to the color you want. The lily sky is changed to bgColor=”000000″. After selection, it becomes completely black. The effect is good . Just change it to be darker than the global background color to distinguish it. You can change this at will according to your own needs. . Note that after saving the modification, you must reopen notepad for the configuration to take effect.

In addition, the following are some definitions of Notepad interface color settings. If you want to make more detailed color customization modifications, you can refer to the following documents.

Global Styles

Indent guideline style  缩进参考线的颜色
Brace highlight style 鼠标指针在框架左右时框架的颜色(如css中{}   js中的())
Bad brace color  错误的框架的颜色(如js中{}里面有错误,这个{}的颜色)
Current line background colour  鼠标指向的当前行的背景颜色
Selected text colour  选中文本的颜色
Caret colour  鼠标指针的颜色
Line number margin  行号数字的颜色
Fold  隐藏代码按钮颜色
Fold margin  隐藏代码按钮上下背景颜色
Smart HighLighting  双击选择文字的背景颜色
Tags match highlighting  鼠标指针在当前标签时该标签的背景颜色
Tags attribute  鼠标指针在当前标签时属性和属性值的背景颜色
Active tab focused  出现连个文档界面时选中的文档的背景颜色
Active tab unfocused  出现连个文档界面时没选中的文档的背景颜色(另一视图的第一个文档)
Active tab text  当前文档的名称的颜色
Inactive tabs  未选中的文档的标签背景颜色

CSS

DEFAULT  默认前景
TAG  标签名如span  h2
PSEUDOCLASS  伪类样式
UNKNOWN _PSEUDOCLASS  不明确的伪类样式(包括未写完的伪类样式)
OPERATOR  样式标点符号如{}:;
IDENTIFIER  属性、标识符
VALUE  属性值
COMMENT  解释
IMPORTANT  重要的

HTML

DEFAULT   默认前景
COMMENT  解释
NUMBER    数字
DOUBLESTRING   双引号字符串
SINGLESTRING    单引号字符串
TAG   标签名如span  h2
TAGEND   标签结束
TAGUNKNOWN   不明确的标签(包括未写完的标签)
ATTRIBUTE  属性
ATTRIBUTEUNKNOWN   不明确的属性(包括未写完的属性)
SGMLDEFAULT   声明文档的字(html文档的最上面那个)
VALUE    属性的值的颜色(在这个值未加单引号或双引号下)
ENTITY   特殊字符如 &gt:

JavaScript

WORD    一般的单词
KEYWORD   关键字
DOUBLE STRING   双引号字符串
SINGLESTRING    单引号字符串
SYMBOLS    标点如{}:;
COMMENT   解释
COMMENTLINE   单行注释
COMMENTDOC   多行注释

The above is the detailed content of How to modify the notepad++ theme. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:csdn. If there is any infringement, please contact admin@php.cn delete
Notepad  : Understanding the Financial ModelNotepad : Understanding the Financial ModelApr 19, 2025 am 12:11 AM

Notepad sustainsitselffinanciallythroughdonations,sponsorships,andapluginecosystem.1)Donationsfromusersprovidethemainincome,keepingthetoolfreeandfosteringcommunity.2)Sponsorshipsfromcompaniesofferastableincomewhilemaintainingindependence.3)Apluginec

Accessing Notepad  : Exploring Free OptionsAccessing Notepad : Exploring Free OptionsApr 18, 2025 am 12:07 AM

Free alternatives to Notepad include VisualStudioCode, SublimeText, and Atom. 1. VisualStudioCode supports multiple languages ​​and enhances features through extensions. 2. SublimeText provides an evaluation version, which is fast and has a simple interface. 3.Atom is known for its high customizability and is suitable for personalized needs.

Notepad  : Examining the Free and Open Source NatureNotepad : Examining the Free and Open Source NatureApr 17, 2025 am 12:07 AM

Notepad is a free and open source text editor. 1) Free use lowers the entry threshold, 2) Open source features are implemented through the GPLv2 license, allowing the viewing, modifying and distributing source code, promoting community participation and software evolution.

How to use notepadHow to use notepadApr 16, 2025 pm 08:09 PM

Notepad is a free text editor for Windows, which offers a variety of features such as: 1) syntax highlighting, 2) autocomplete, 3) macro recording, 4) plug-in extensions, 5) customizable interfaces and settings.

How to automatically type notepadHow to automatically type notepadApr 16, 2025 pm 08:06 PM

Notepad itself does not have automatic layout function. We can use a third-party text editor, such as Sublime Text, to perform the following steps to achieve automatic typography: 1. Install and open the text editor. 2. Open the file that needs to be automatically typed. 3. Find and select the automatic layout function. 4. The editor will automatically type the text. 5. You can customize the layout rules as needed. Automatic typography can save time and ensure text consistency and professionalism.

How to compare the similarities and similarities of two documents in notepadHow to compare the similarities and similarities of two documents in notepadApr 16, 2025 pm 08:03 PM

To use Notepad to compare the similarities and differences between two documents, follow these steps: Open both documents at the same time in Notepad. View the documents side by side. Compare the text line by line to find the difference. Highlight or underline the difference. Record the differences found for future reference.

How to set notepad in ChineseHow to set notepad in ChineseApr 16, 2025 pm 08:00 PM

To set Notepad to the Chinese interface, perform the following steps: 1. Open Notepad; 2. Select "Format" > "Font"; 3. Select "Chinese (Simplified)" or "Chinese (Traditional)"; 4. Click "OK".

How to format the code in notepadHow to format the code in notepadApr 16, 2025 pm 07:57 PM

The method of formatting code using Notepad is as follows: Open the code file and select the code Go to the "Edit" menu and select the "Format" option to customize the settings as needed (optional)

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool