Home Development Tools notepad How 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   多行注释
Copy after login

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 of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

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 Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What is notepad What software notepad What is notepad What software notepad Mar 06, 2025 pm 12:21 PM

This article compares Notepad and Notepad , highlighting Notepad 's superior features for coding. Notepad offers syntax highlighting, code completion, and extensive plugin support, unlike the basic functionality of Notepad. Therefore, Notepad

Introduction to Notepad's functions Introduction to Notepad's functions Mar 06, 2025 pm 12:19 PM

Notepad is a free, open-source text and code editor offering syntax highlighting, auto-completion, macro recording, powerful search, and a plugin system. Its advantages over other editors include enhanced code readability, efficient search/replace

What is notepad? What is notepad for? What is notepad? What is notepad for? Mar 06, 2025 pm 12:17 PM

This article describes Notepad, a basic Windows text editor. It details its functions—text editing, saving, opening, and searching—and limitations. While usable for simple text tasks, its lack of syntax highlighting, code completion, and debugging

Notepad How to display data in json format Notepad How to display data in json format Mar 06, 2025 pm 12:15 PM

This article explains how to improve JSON data readability in Notepad . It focuses on using Notepad 's syntax highlighting and suggests external JSON formatters and validators for reliable formatting and syntax checking, as Notepad lacks built-i

Notepad installation detailed tutorial Notepad installation detailed tutorial Mar 06, 2025 pm 12:10 PM

This article explains that Notepad is pre-installed in Windows and requires no installation. It addresses common issues accessing or using Notepad, offering troubleshooting steps. It also details installing the separate, more advanced text editor,

Notepad Setting Chinese Notepad How to Setting Chinese Notepad Setting Chinese Notepad How to Setting Chinese Mar 06, 2025 pm 12:18 PM

Notepad lacks built-in language settings. To use Chinese, users must change their operating system's language settings to Chinese (Simplified or Traditional), then restart their computer or Notepad . Notepad 's interface language reflects the

How to convert notepad to json notepad to json shortcut key How to convert notepad to json notepad to json shortcut key Mar 06, 2025 pm 12:16 PM

This article explains how to convert unstructured Notepad text to JSON format. It highlights the lack of a direct conversion method, emphasizing the need for manual structuring or scripting (Python, JavaScript) for automation. Spreadsheet software

What is notepad What is notepad Mar 06, 2025 pm 12:08 PM

Notepad is a free, open-source text and code editor. It excels at code editing via syntax highlighting for numerous languages, and also efficiently handles text editing, web development, and file manipulation. Its extensibility through plugins e

See all articles