Notepad++
Jump to navigation
Jump to search
- Edit-Line Operations-Join Lines
- What you would expect (remove line breaks)
- Search and replace with regular expressions
- Searchbox:
^(.*?)A
; Find the first 'A' - Replacebox:
\1B
; Replace the 'A' with 'B' leave all in front if it untouched.
- Where to edit commands in the run-menu
- C:\Users\<username>\AppData\Roaming\Notepad++\shortcuts.xml
- Notepad++ in trouble because you opened a very big file
- Remove it from C:\Users\<username>\AppData\Roaming\Notepad++\session.xml (use another text-editor)
- Implement own scripts with NppExec
NOTE: for below you must have installed pycodestyle pip install pycodestyle
- Install NppExec plugin
- F6 to open script editor and put in:
NPP_SAVE cd "$(FULL_CURRENT_PATH)" env_set PYTHONIOENCODING=utf-8 python -u -m pycodestyle "$(FULL_CURRENT_PATH)"
- Save as PyCodeStyle (or anything you want)
- Clicking OK will execute the script.