zboris12

View on GitHub

nppyscripts

Some python scripts for Notepad++.

Before using these scripts

Install the plugin of Python Script in Notepad++.

zen-han

Full-width ⇔ Half-width

This is a python script to convert Japanese characters for Notepad++.

Main features

Installation

Just copy zen-han folder to the scripts’ folder. For example:
C:\notepad++\plugins\Config\PythonScript\scripts

Usage

  1. Select the characters you want to do the convertion.
  2. Click the convertion’s menu in Plugins -> Python Script -> Scripts -> zen-han
    Plugins Menu

Description of scripts

sortjsonyaml

Sort json or yaml file by keys

This is a python script to sort json or yaml file by keys

Installation

  1. Download souce code of PyYAML 5.4.1 (Target file: PyYAML-5.4.1.tar.gz).
  2. Extract folder PyYAML-5.4.1\lib\yaml from the downloaded file into the lib folder of notepad++. For example: C:\notepad++\plugins\PythonScript\lib
  3. Copy SortJsonYaml.py file to the scripts’ folder. For example:
    C:\notepad++\plugins\Config\PythonScript\scripts

Usage

  1. Open the target file
  2. Click the menu Plugins -> Python Script -> Scripts -> SortJsonYaml

copyfiles

Copy Files

This is a python script to copy files from a directory to another directory for Notepad++.

Installation

Just copy CopyFiles.py file to the scripts’ folder. For example:
C:\notepad++\plugins\Config\PythonScript\scripts

Usage

  1. List up all the target files in the editor
  2. Click the menu Plugins -> Python Script -> Scripts -> CopyFiles

License

These scripts are available under the MIT license.

🚗BACK