search
HomeDevelopment ToolsnotepadTutorial on how to use notepad

Tutorial on how to use notepad

Aug 16, 2019 pm 02:02 PM
notepad

Tutorial on how to use notepad

Friends who learn programming all know that Notepad is a must-have text editor for programmers. The software is small and efficient, and can support C, C, Java, C#, XML, HTML, PHP, and JS. wait. Notepad has built-in support for up to 27 syntax highlights (including various common source codes and scripts, and can well support .nfo file viewing), and also supports custom languages. It can automatically detect file types, display nodes according to keywords, nodes can be folded/opened freely, and indentation guide lines can also be displayed. The code is displayed with a sense of hierarchy; it is such an easy-to-use software, and today I have collected some of it Practical methods are now shared with everyone.

Recommended tutorial: Notepad usage tutorial

Introduction to Notepad usage skills

1. Notepad has various styles. You can set your own editor style in Notepad, and the interface themes are quite rich. Click the settings in the menu, as shown below:

Tutorial on how to use notepad

Then select Style Configurator, and the following dialog box will pop up: Then you can select the style you like, and the setting of this interface is completed.

Tutorial on how to use notepad

2. Bookmark function
Press Ctrl F2 on any line and you will find a small blue dot in the bookmark bar. Press Ctrl F2 again to cancel the bookmark. Press F2 when flipping to another line. At this time, you will find that the cursor moves back to the bookmarked line. When setting bookmarks in multiple lines, the F2 cursor moves to the previous bookmark, and Shift F2 moves the cursor to the next bookmark.

Tutorial on how to use notepad

3. Powerful plug-in library, click Plugins in the menu bar as shown below:

Tutorial on how to use notepad

Exit Then select PluginManager->show PluginManager and the following dialog box will appear: Then you can install or update your plug-ins here. As for which plug-in you click, it depends on what you write in Notepad

Tutorial on how to use notepad

4. How to connect to your server
Of course, you need to use a plug-in to connect to the server. First install an NppFTP plug-in. After the installation is completed, you can see it under the menu Plugins, and then click NppFTP-> After show NppFTP Window, the following interface appears on the left:

Tutorial on how to use notepad

Click the second button on the right side of the picture above to select Profile setting to set the FTP link, as follows:

Tutorial on how to use notepad

After setting up, you can connect on the first button on the left, and the FTP setting is completed.
5. Code prompts
The default code auto-completion shortcut key is Ctrl Enter. For example, if you enter b in a CSS file and press Ctrl Enter, a code prompt will appear. Of course, this may be a bit inconvenient. You can select the Enable auto-complete for all inputs option and the Prompt function parameters when typing option in the Backup and Auto-Complete tab in the preferences. Of course, these can be configured according to your own habits. As shown below. Once set, code prompts will automatically appear as you type.

Tutorial on how to use notepad

6: Powerful Zen Coding plug-in

How can a powerful editor be without Zen Coding? Download a Zen Coding plug-in package online Unzip it to the Notepad \plugins\NppScripting\includes directory, then restart Notepad. When the following logo appears on the menu bar, it means Zen Coding is installed successfully

Tutorial on how to use notepad

The power of Zen Coding lies in its ability to quickly write code. Here is a simple example: enter in the editor: div#haha>ul.class>li*5>a and then Ctrl E the following code will appear :

Tutorial on how to use notepad

The above is the detailed content of Tutorial on how to use notepad. For more information, please follow other related articles on the PHP Chinese website!

Statement
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
How to format JSON in NotepadHow to format JSON in NotepadJul 24, 2025 am 12:55 AM

InstalltheJSONViewerpluginviaPlugins>PluginManagerorPluginsAdmininNotepad .2.RestartNotepad afterinstallation.3.OpenyourJSONfileandensureitisvalid.4.Selectthetextorleaveitunselectedtoformattheentirefile.5.GotoPlugins>JSONViewer>FormatJSONo

How do I find and replace specific characters in Notepad?How do I find and replace specific characters in Notepad?Jul 24, 2025 am 12:41 AM

ToreplacespecificcharactersinNotepad,usethebuilt-in"FindandReplace"featureviaCtrl H.1.OpenthefileandpressCtrl H.2.Enterthetargetcharacterin"Findwhat".3.Inputthereplacementin"Replacewith".4.Click"ReplaceAll"orus

How do I search for a specific word or phrase in multiple Notepad files? (Without external tools, is it possible?)How do I search for a specific word or phrase in multiple Notepad files? (Without external tools, is it possible?)Jul 24, 2025 am 12:37 AM

Yes,youcansearchmultipleNotepadfileswithoutexternaltoolsbyusingCommandPromptorPowerShell.1.InCMD,usefindstr"search_term"*.txttosearchacrossall.txtfiles,adding/iforcase-insensitivesearches.2.InPowerShell,runGet-ChildItem*.txt|Select-String&q

How to change theme in NotepadHow to change theme in NotepadJul 24, 2025 am 12:06 AM

TochangethethemeinNotepad ,1.OpenSettings→StyleConfiguratortoaccessthemeandcolorsettings,2.ChooseathemefromtheSelectThemedropdownsuchasMonokaiorSolarizedandpreviewthechangesinrealtime,3.ClickSave&Closetoapplytheselectedthemetoallopendocuments,4.

Can Notepad be used for basic HTML editing? What are the limitations?Can Notepad be used for basic HTML editing? What are the limitations?Jul 23, 2025 am 02:54 AM

Yes, Notepad can be used for basic HTML editing, but has limitations. It is suitable for beginners to write and test simple HTML files, and supports basic tags, inline CSS and JavaScript testing; but it lacks syntax highlighting and automatic completion functions, making it prone to errors and is inconvenient to manage multi-file projects. As the complexity of the project increases, it is recommended to switch to professional code editors such as VSCode or SublimeText to improve efficiency.

What are Unicode characters, and how are they supported in Notepad?What are Unicode characters, and how are they supported in Notepad?Jul 23, 2025 am 02:28 AM

Notepad supports Unicode encoding, and you need to choose the appropriate encoding format when using it. To save a Unicode file, open Notepad, click "File>Save As", and select UTF-8 (suitable for network and multilingual characters) or Unicode (i.e. UTF-16 little-endian) in the "Encoding" drop-down menu. If you want to view Unicode characters correctly, make sure that the file is saved with correct encoding, otherwise garbled code may occur; when encountering garbled code, you can manually select the correct encoding method by manually selecting the correct encoding method. In daily use, Notepad can be displayed normally, such as copying and pasting emojis, entering characters with diacritics or multilingual text, as long as you select the appropriate encoding when saving. But because of its achievements

Where can I find more information and resources about using Notepad effectively?Where can I find more information and resources about using Notepad effectively?Jul 23, 2025 am 01:42 AM

The official Microsoft document provides basic functions and shortcuts, 2. The technical blog shares techniques such as automatic creation of log files, 3. The forum community discusses garbled code processing and large file operations, 4. The experimental built-in functions can discover hidden functions such as drag-and-drop opening of files. Although Notepad is simple, through official documents, technical blogs, forum communities and personal experiments, users can explore more practical skills, such as using shortcut keys, testing scripts, handling coding problems, etc., thereby improving efficiency and solving practical problems.

Does Notepad   support regular expressions?Does Notepad support regular expressions?Jul 23, 2025 am 01:04 AM

Yes,Notepad doessupportregularexpressions.Tousethemproperly,youmustexplicitlyenable"Regularexpression"modeintheFindorReplacedialog(Ctrl ForCtrl H),andoptionallycheck".matchesnewline"formulti-linematching.Commonregexsyntaxsuchas.,

See all articles

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

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.

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

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

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.

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor