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
{{ message }}
Repository navigation
Commit 0692838
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+16-9Lines changed: 16 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,15 +17,11 @@ If you want to develop plugins, Step 1 is to read the [NotePlan Knowledgebase Do
17
17
18
18
The following items are required for NotePlan Plugin Development
19
19
20
-
- Node 14 or 16 -- **Do Not Use any Node version <14 or >16** (see "Switching Node Versions")
20
+
- Node -- we're currently running on v24. (You might find a Node version manager [like "n"](https://www.npmjs.com/package/n) helpful. This way you can flip in and out of Node versions at will.)
21
21
- NotePlan 3.4 or greater
22
-
- macOS Catalina 10.15.2 or greater (strongly recommend macOS Big Sur 11.x or Monterey 12.x)
22
+
- macOS Catalina 10.15.2 or greater (and best to be on the latest version)
23
23
- github CLI `gh` is strongly recommended - [how to install gh](https://cli.github.com/)
24
24
25
-
## Switching Node Versions
26
-
27
-
The NotePlan plugin code has not yet been migrated to Node versions >16. If you are developing elsewhere using Node v17+, you will want to switch to Node v16 when you are doing NotePlan Plugin development. The fast/easy way to do that is with a Node version manager [like "n"](https://www.npmjs.com/package/n). This way you can flip in and out of Node versions at will.
28
-
29
25
## Plugin Information
30
26
31
27
If you have an idea for a plugin, [submit them here](https://feedback.noteplan.co/plugins-scripting) or inquire in the [NotePlan Discord community](https://discord.gg/D4268MT)'s `#plugin` channel.
@@ -45,7 +41,7 @@ When you have cloned this repository, you will not only have the tooling, but yo
45
41
46
42
**Step 2: Install Node (if not installed)**
47
43
48
-
Make sure you have the proper version of `node` installed (if you need to install node, `brew install node@16` is the quickest method, or you can follow instructions on [node website](https://nodejs.org/en/download/)).
44
+
Make sure you have the proper version of `node` installed (if you need to install node, `brew install node` is the quickest method, or you can follow instructions on [node website](https://nodejs.org/en/download/)).
49
45
50
46
**Step 3: Initialize Local Development Environment**
51
47
@@ -219,7 +215,7 @@ The common script you will run `npc plugin:dev <plugin>` however, you may need t
219
215
### Viewing Plugin Logs
220
216
221
217
Everything your plugin (or its WebView) logs goes into NotePlan's rolling log file. `nplog` is a
222
-
terminal viewer for it — it follows the newest log file across NotePlan restarts, filters live by
218
+
terminal viewer for it; it follows the newest log file across NotePlan restarts, filters live by
223
219
regex as you type, and keeps pretty-printed objects together as a single entry instead of
224
220
scattering them across lines.
225
221
@@ -245,6 +241,15 @@ symlinks under `.claude/skills/` and `.cursor/skills/`.
245
241
See [scripts/nplog/README.md](scripts/nplog/README.md) for key bindings, headless
246
242
options, and how to use the skill outside this repo.
247
243
244
+
### Extra logging
245
+
246
+
An extra level of logging from NP to the plugin console is available by running:
Use the setup guide for your preferred editor (we prefer Visual Studio Code), and then read the section on Working with Multiple Files.
@@ -290,7 +295,9 @@ If you don't have an editor set up to lint as you code, you can run `npm run tes
290
295
291
296
### Using Flow
292
297
293
-
By practice, NotePlan plugins use [flow](https://flow.org/) for static type checking. You can get more information by referencing [NotePlan Flow Guide](https://github.com/NotePlan/plugins/blob/main/Flow_Guide.md)
298
+
The NotePlan plugins in this official repository use [flow](https://flow.org/) for static type checking. You can get more information by referencing [NotePlan Flow Guide](https://github.com/NotePlan/plugins/blob/main/Flow_Guide.md)
299
+
300
+
Private plugins don't need to use flow, but it is recommended, if you want them to be visible in the list of plugins inside the NP app.
Copy file name to clipboardExpand all lines: dwertheimer.TaskSorting/CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,11 @@
4
4
5
5
See Plugin [README](https://github.com/NotePlan/plugins/blob/main/dwertheimer.TaskSorting/README.md) for details on available commands and use case.
6
6
7
+
## [1.3.2] - 2026-10-11 (@dwertheimer)
8
+
9
+
### Fixed
10
+
-**`Sort tasks under heading (choose)` no longer pops up dialogs when run from a template, x-callback or another plugin.** A daily-note template calling it for a heading that isn't in today's note (e.g. a "CCC" section on a day off) showed a "No tasks found under heading" warning every time. When the heading is passed as an argument, "No tasks found under heading" and "No note is open" are now written to the plugin log instead. Running the command from the menu still shows them. Thanks to @jgclark for reporting it.
Copy file name to clipboardExpand all lines: dwertheimer.TaskSorting/plugin.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,8 @@
3
3
"noteplan.minAppVersion": "3.4.0",
4
4
"plugin.id": "dwertheimer.TaskSorting",
5
5
"plugin.name": "🥷 Task Sorting & Tools",
6
-
"plugin.version": "1.3.1",
7
-
"plugin.lastUpdateInfo": "1.3.0: Indented subtasks are no longer flattened when sorting -- a task now keeps its whole nested subtree, at every depth. 'Sort tasks under heading' now respects the 'Combine Related Task Types?' setting (it was previously ignored by that command). NOTE: indent with TABS -- NotePlan does not report space-indentation to plugins, so space-indented subtasks cannot be preserved.",
6
+
"plugin.version": "1.3.2",
7
+
"plugin.lastUpdateInfo": "1.3.2: 'Sort tasks under heading' no longer pops up 'No tasks found' or 'No note is open' dialogs when run from a template, x-callback or another plugin (it logs them instead). Thanks to @jgclark.",
8
8
"plugin.description": "Commands for sorting tasks in a note",
0 commit comments