Skip to content

Commit 82fcd59

Browse files
authored
Update README.md
1 parent 6c7c931 commit 82fcd59

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,25 @@ Another little optional feature fits perfectly in the workflow of PyPadPlusPlus
2828
#### Installation
2929

3030
The installation of pyPadPlusPlus requires several steps:
31-
* Install Python Script from https://github.com/bruderstein/PythonScript/releases/.
32-
* Download the sources or the latest [release](https://github.com/bitagoras/PyPadPlusPlus/releases) of PyPadPlusPlus and extract the files into the script folder of PythonScript:
31+
1. Install Python Script from https://github.com/bruderstein/PythonScript/releases/.
32+
2. Download the sources or the latest [release](https://github.com/bitagoras/PyPadPlusPlus/releases) of PyPadPlusPlus and extract the files into the script folder of PythonScript:
3333
<br>`notepad++\plugins\PythonScript\scripts\`
34-
* Open the file `pyPadStart.py` and set `pythonPath` to the path of your the pythonw.exe file.
35-
* Start Notepad++ and go to the menu "Plugins / Python Script / Configuration..."
36-
* Select "Machine Scripts" and add the scripts to Menu items:
37-
* `pyPadClear.py` clears the console output
38-
* `pyPadExecute.py` executes the current line or selection
39-
* `pyPadExecuteFix.py` same as pyPadExecute but keeps the cursor at its position
40-
* `pyPadRestart.py` restarts the python kernel or cleans the variables
41-
* `codeSnippetsLog.py` optional: to store code snippets
42-
* Press OK, restart Notepad++ and go to menu "Settings / Shortcut mapper" and define in the tab "Plugin commands" the shortcuts:
43-
* `pyPadExecute.py <Shift> + <Enter>`
44-
* `pyPadExecuteFix.py <Shift> + <Ctrl> + <Enter>`
45-
* `pyPadClear.py <Shift> + <Ctrl> + <C>`
46-
* `pyPadRestart.py <Alt> + <R>`
47-
* `codeSnippetsLog.py <Alt> + <S>`
48-
* When Notepad++ does not allow you to define a shortcut on `<Shift> + <Enter>`, use `<Shift> + <Alt> + <Enter>` as preliminary shortcut. Then go to "Settings / Shortcut mapper / Scintilla commands" and unset `<Shift> + <Enter>` for `SCI_NEWLINE`. Now open `shortcuts.xml` in the Notepad++ Folder (when installed from zip file) or in the `C:\Users\<user name>\AppData\Roaming\Notepad++\` folder when Notepad++ was installed with the installer. Search the line
49-
* `<PluginCommand moduleName="PythonScript.dll" internalID="8" Ctrl="no" Alt="yes" Shift="yes" Key="13" />`
50-
* The `internalID` can differ from yours. Now change the `Alt="yes"` into `Alt="no"`.
51-
* If you want to use the Python installation of you system, open the file
52-
`notepad++\plugins\PythonScript\scripts\` and set the variable `pythonPath` to the path of `pythonw.exe`.
34+
3. Open the file `pyPadStart.py` and set `pythonPath` to the path of your the pythonw.exe file.
35+
4. Start Notepad++ and go to the menu "Plugins / Python Script / Configuration..."
36+
5. Select "Machine Scripts" and add the scripts to Menu items:
37+
* `pyPadClear.py` clears the console output
38+
* `pyPadExecute.py` executes the current line or selection
39+
* `pyPadExecuteFix.py` same as pyPadExecute but keeps the cursor at its position
40+
* `pyPadRestart.py` restarts the python kernel or cleans the variables
41+
* `codeSnippetsLog.py` optional: to store code snippets
42+
6. Press OK, restart Notepad++ and go to menu "Settings / Shortcut mapper" and define in the tab "Plugin commands" the shortcuts:
43+
* `pyPadExecute.py <Shift> + <Enter>`
44+
* `pyPadExecuteFix.py <Shift> + <Ctrl> + <Enter>`
45+
* `pyPadClear.py <Shift> + <Ctrl> + <C>`
46+
* `pyPadRestart.py <Alt> + <R>`
47+
* `codeSnippetsLog.py <Alt> + <S>`
48+
7. When Notepad++ does not allow you to define a shortcut on `<Shift> + <Enter>`, use `<Shift> + <Alt> + <Enter>` as preliminary shortcut. Then go to "Settings / Shortcut mapper / Scintilla commands" and unset `<Shift> + <Enter>` for `SCI_NEWLINE`. Now open `shortcuts.xml` in the Notepad++ Folder. Check if there is a line `<ScintKey ScintID="2329" menuCmdID="0" Ctrl="no" Alt="no" Shift="no" Key="13" />`. If not try to find it in the `C:\Users\<user name>\AppData\Local\Roaming\Notepad++\` folder when Notepad++ was installed with the installer. Now search the line
49+
* `<PluginCommand moduleName="PythonScript.dll" internalID="8" Ctrl="no" Alt="yes" Shift="yes" Key="13" />`
50+
* The `internalID` can differ from yours. Then change the `Alt="yes"` into `Alt="no"`.
51+
8. If you want to use the Python installation of you system, open the file
52+
`notepad++\plugins\PythonScript\scripts\` and set the variable `pythonPath` to the path that contains `pythonw.exe`.

0 commit comments

Comments
 (0)