You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and nppPluginList.json (you should rename it from `pl.x64.json` or `pl.x86.json`,
393
-
according your plugin's architecture). Replace `notepad++.exe` and `GUP.exe` of your
394
-
Notepad++ installation by downloaded ones, copy `pl.x64.json` or `pl.x86.json` to
395
-
`<NPP_INST_DIR>\plugins\Config\nppPluginList.json`, then
396
-
you're all set - the menu item **Plugins Admin** will be under menu **Plugins** of your
397
-
debug mode notepad++.exe. Launch this command will launch the **Plugins Admin** dialog
398
-
and the rest should be intuitive.
394
+
depending on your architecture.
395
+
- If those links give you problems, you can also git a debug binary from a recent build on
396
+
GitHub.
397
+
1. Go to https://github.com/notepad-plus-plus/notepad-plus-plus/releases/latest
398
+
2. Click on the <spanstyle="color: green">green ✓</span> or <spanstyle="color: red">red ✗</span> near the top of that page.
399
+
3. Click one of the **details** links (it doesn’t actually matter which) in the popup.
400
+
4. Click on the **🏠 Summary** link, and scroll down to the **Artifacts** section
401
+
5. Download the artifact `Notepad++.MSVC.<XXX>.Debug`, which will download a zipfile. The `<XXX>` is the Architecture of the installation:
402
+
- `x86`: for 32-bit Notepad++
403
+
- `x64`: for 64-bit Notepad++
404
+
- `ARM64`: for ARM64 builds of Notepad++
405
+
6. Extract the `.exe` from the downloaded zipfile, rename it to `notepad++.<XXX>.dbg.exe`, and save it alongside the normal `notepad++.exe` in the `<DebugDirectory>`.
406
+
- If it's been so long since the last release that GitHub has cleaned out the last release's Artifacts,
407
+
go to https://github.com/notepad-plus-plus/notepad-plus-plus/actions and find the most-recent commit to the `master`,
408
+
click on that commit, then follow the instructions from the "**🏠 Summary** link" and following (sub-steps 4-6, above)
409
+
3. Get the JSON for nppPluginList:
410
+
- If you have a fork of the nppPluginList repo (with a branch for making your copies), you can use the copies there.
411
+
- If you haven't done a fork yet (you will need to in order to create a PR), you can access them from https://github.com/notepad-plus-plus/nppPluginList/tree/master/src as well.
412
+
- Grab the `pl.<XXX>.json` as appropriate, and save it as `<DebugDirectory>\Plugins\Config\nppPluginList.json`
413
+
4. Edit `nppPluginList.json`, adding or updating the entry for your plugin per the rules in the next section, below.
414
+
5. Launch the `<DebugDirectory>\notepad++.<XXX>.dbg.exe`.
415
+
6. You should be able to use **Plugins > Plugins Admin** to install your new or updated plugin.
399
416
400
417
### Rules for adding your plugins into list
401
418
402
-
1. Architecture: your 32-bits plugin should be added to
- The 64-bit copy of the plugin should be added to [pl.x64.json](https://github.com/notepad-plus-plus/nppPluginList/blob/master/src/pl.x64.json)
423
+
- The ARM64 copy of the plugin should be added to [pl.arm64.json](https://github.com/notepad-plus-plus/nppPluginList/blob/master/src/pl.arm64.json)
424
+
2. Uniqueness: the value of **folder-name** of your plugin should be unique in the list.
406
425
it means if there's already another same name plugin in the list, you have to rename
407
426
your plugin's folder-name (and your plugin). Keep in mind that your plugin binary
408
427
name (w/o the extension .dll) should be always the same as the folder-name,
409
428
otherwise your plugins won't be loaded.
410
-
3. Security: the value of **id** is plugin package's (zip file) finger print in
411
-
SHA-256. This id is checked with the downloaded dll to avoid
429
+
3. Security: the value of **id** is the SHA-256 fingerprint of the plugin package's zip file.
430
+
This id is checked against the downloaded zipfile to avoid
0 commit comments