My notepad++.

Source: Internet
Author: User

I think that doing development must have a simple but powerful text editor. I prefer notepad++, and I always use it. Ready to share my notepad++ configuration with this article.

Hope that the vast number of notepad++ users, if there is a good configuration can also recommend to me.

Theme Settings

It is important to find a comfortable background color for the editor because it may be time to edit text on the computer.

There are many theme to choose from in the notepad++, "Settings-Style configurator ... select theme" You can choose a theme that suits you.

?

File content Comparison

By notepad++, it is easy to compare the differences of two texts. The shortcut keys for comparison are "Alt + D", and the Undo comparison is "Ctrl + Alt + d".

File Directory browsing

If you are editing a set of files, it is a laborious task to switch directories to open files frequently. In notepad++, you can browse the file directory conveniently through the "Explorer.dll" plugin in notepad++ 's working interface.

To enable this feature is also very simple, download "Explorer.dll", put the DLL file into the notepad++ plugin folder, restart notepad++. This is where you can see the Working window of the browse file directory.

?

Execute Python via notepad++

This feature is my favorite now, because I often use python in my work, it is a great thing to be able to execute directly from notepad++ every time.

Start configuration below:

    1. Open the Run Configuration window with Run ...

    2. Enter the Execute Python configuration command, cmd/k CD "$ (current_directory)" & Python "$ (full_current_path)" & ECHO. & PAUSE & EXIT, then select Save ...
    3. Enter custom command names and shortcut keys

With the above configuration, the Python script can be executed with "Alt + z",

?

Execute node via notepad++

By configuring the Python environment, you can also configure the execution environment for node.

The configuration command is, cmd/k CD "$ (current_directory)" & Node "$ (Full_current_path)" & ECHO. & PAUSE & EXIT

In addition, all the run shortcuts that are customized in notepad++ can be viewed through "Settings, Shortcut Mapper ..., run Commands".

The instruction of the specific shortcut key will be saved in "c:\users\xxx\appdata\roaming\notepad++\ shortcuts.xml", can modify this file to change the shortcut key corresponding instruction.

My notepad++.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.