Table of Contents
Notepad eye protection color and code highlighting settings
Background color setting
Green soft color
Mung bean paste
Darker
Bright
Default code highlighting
Tips for use
Automatic line wrapping
Note content block scaling Java
Note content block scaling Python
Before the outline effect
Home Development Tools notepad Tips for using Notepad++ (eye protection color and code highlighting settings)

Tips for using Notepad++ (eye protection color and code highlighting settings)

Jul 02, 2021 pm 02:15 PM
notepad

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 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

Video Face Swap

Video Face Swap

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

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)

How to open large files in notepad++ How to open large files in notepad++ Apr 08, 2024 am 09:45 AM

How to open large files using Notepad++? Start Notepad++, click File > Open, and select the large file in the file browser. Common problems you may encounter: slow loading of files, "file too big" errors, insufficient memory, corrupted files. Ways to optimize performance: disable plug-ins, adjust settings, use multi-threading.

How to adjust font size in notepad How to adjust font size in notepad Apr 08, 2024 am 10:21 AM

Font size can be adjusted in Notepad by following these steps: 1. Open Notepad; 2. Go to the "Format" menu; 3. Select the "Font" option; 4. In the "Font" window, use the "Size" field to adjust the font size; 5. Click the OK button to apply the changes.

What is the use of notepad++? What is the use of notepad++? Apr 08, 2024 am 11:03 AM

Notepad++ is a free, open source text editor widely used for programming, web development and text manipulation. Its main uses include: Text editing and viewing: Create, edit and view plain text files, supporting tabs and syntax highlighting. Programming: Supports syntax highlighting, code folding and auto-completion for multiple programming languages, and integrates debuggers and version control plug-ins. Web development: Provides syntax highlighting, code verification and auto-completion for HTML, CSS and JavaScript to facilitate web page creation and editing. Other uses: For text processing, scripting, and document editing.

Which components should be selected for notepad++ installation? Which components should be selected for notepad++ installation? Apr 08, 2024 am 10:48 AM

When installing Notepad++ components, it is recommended to select the following required components: NppExec, Compare, Multi-Edit, Spell Checker, XML Tools. Optional components are available to enhance specific functionality, including Auto Completion, Column Editor, DSpellCheck, Hex Editor, and Plugin Manager. Before installing components, identify frequently used functions and consider compatibility and stability. Install only the components you need to avoid unnecessary clutter.

How to filter data by conditions in notepad text editor How to filter data by conditions in notepad text editor Apr 08, 2024 am 10:33 AM

Through regular expressions, Notepad++ can filter data by conditions: 1. Open the file and use the "Find" window; 2. Select "Regular Expression" mode; 3. Enter a regular expression to define conditions, such as finding lines containing "foo" :foo.

How to change notepad++ to Chinese How to change notepad++ to Chinese Apr 08, 2024 am 10:42 AM

Notepad++ does not provide a Chinese interface by default. The switching steps are as follows: download the Chinese language pack and complete the installation when prompted; restart Notepad++ and enter the "Preferences" window; select "Chinese Simplified" in the "Language" tab and click "OK".

How does notepad++ run perl code How does notepad++ run perl code Apr 08, 2024 am 10:18 AM

To run Perl code in Notepad++ follow these steps: Install a Perl interpreter. Configure Notepad++, select Perl in the Language setting and enter the path to the Perl executable file. Write Perl code. Select the Perl interpreter in the NppExec plugin and run the code. View the output in the "Console" menu bar.

How to run C language in notepad++ How to run C language in notepad++ Apr 08, 2024 am 10:06 AM

Notepad++ itself cannot run C language programs and requires an external compiler to compile and execute the code. In order to use an external compiler, you can follow the following steps to set it up: 1. Download and install the C language compiler; 2. Create a custom tool in Notepad++ and configure the compiler executable file path and parameters; 3. Create the C language program and save it with a .c file extension; 4. Select the C language program file and select a custom tool from the "Run" menu to compile; 5. View the compilation results and output a compilation error or success message. If the compilation is successful, an executable file will be generated.

See all articles