search
HomeDevelopment ToolsnotepadTips for using Notepad++ (eye protection color and code highlighting settings)

Notepad is a very useful application for writing notes and code.

We can use it to write blog drafts and daily notes. Well, looking at an interface for a long time will of course be harmful to your eyes.

So, An eye-protecting background. is required.

The following is the eye protection color that I often use, green. . .

And, as a programmer, the code you write must also have highlight format. andAuto-complete function, Notepad comes with this function.

Notepad eye protection color and code highlighting settings

The following is my style, for reference only. . .

Background color setting

1. First click the Settings button

2. Select Language format setting

1 Language and style remain Default

2 Color style

Foreground color: black

Background color: adjustable (recommended: hue 80, saturation 97, brightness 205) is more comfortable

Font format: Constantia( Personally feel more comfortable) Font size : 12

  Bold. . Use global fonts. . Use global font size. . Use global bold style

Green soft color

(R: 253 G: 246 B: 227)

Mung bean paste

Darker

(R:204、G:232、B:207)

Bright

(R:199,G:237,B:204)

Default code highlighting

because When we first create a new file, it does not have code highlighting by default, and is no different from the ordinary TXT format. If we want to create a new file and have the code highlighting effect without changing the suffix, then we can set its default language. In this way, we can also have the code highlighting effect when we create a new file. Two languages ​​are recommended below as default code highlighting. Explore more interesting settings by yourself. . .

1. First click the Settings button

2. Select Preferences

1 Click: New

2 Format: windows

3 Default language: Java (choose at will)

 4 Coding: ANSI (optional)

The following is my style for reference.

Tips for use

Automatic line wrapping

This is the most uncomfortable part for me when switching from computer to Nodepad. Because Nodepad did not have this function at first, it was very uncomfortable. But it's okay. . .

Nodepad can be customized, and then decisively check the automatic line wrapping item. It means it feels much more comfortable. . .

  • Click View
  • There is a "Automatic Wrap" below option, just click on it. . .

Note content block scaling Java

In Java language mode, you can use { } curly brackets to write what you write The content is enclosed in curly brackets. . .

This will greatly reduce the position occupied by notes in a stage. . .

There is no need to create too many files, to store trivial notes. . .

Easy to search and has many benefits. . .

Note content block scaling Python

It is easier to use python as the default format. Use the Tab key (or space) That’s it (Because python strictly follows alignment)

The bottom of each Tab key can be used as an outline effect

Before the outline effect

##After the outline effect

For more notepad related technical articles, please visit the

notepad tutorial column!

The above is the detailed content of Tips for using Notepad++ (eye protection color and code highlighting settings). For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:cnblogs. If there is any infringement, please contact admin@php.cn delete
The Notepad   Installation Process: A Detailed ExplanationThe Notepad Installation Process: A Detailed ExplanationApr 22, 2025 am 12:03 AM

Installation steps of Notepad: 1. Visit the official website to download the latest stable version; 2. Run the installation file and click "Next"; 3. Agree to the license agreement; 4. Select the installation path; 5. Select whether to create a desktop shortcut and start menu folder; 6. Complete the installation and start Notepad.

Notepad  : Exploring Pricing and LicensingNotepad : Exploring Pricing and LicensingApr 21, 2025 am 12:12 AM

Notepad is free and open source, and is licensed under the GPLv2. 1. Anyone can use and modify Notepad for free. 2. When used by the enterprise, any modification or extension must be published in GPLv2. 3. The use of commercial products must comply with GPLv2, including public source code.

Notepad  : The Nation Behind the EditorNotepad : The Nation Behind the EditorApr 20, 2025 am 12:08 AM

Notepad originatesfromFrance,createdbyDonHo.1)France'sfocusoneducationandtechnologyfostersinnovation,reflectedinNotepad 'sdesign.2)Theopen-sourceethosalignswithFrenchvaluesofsharingknowledge.3)EfficiencyandperformancearehallmarksofFrenchengineering

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.

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment