Skip to content

Tree-sitter support for Notepad++ via a plugin.#1060

Merged
chcg merged 3 commits intonotepad-plus-plus:masterfrom
Thorium:treesitter
Apr 2, 2026
Merged

Tree-sitter support for Notepad++ via a plugin.#1060
chcg merged 3 commits intonotepad-plus-plus:masterfrom
Thorium:treesitter

Conversation

@Thorium
Copy link
Copy Markdown
Contributor

@Thorium Thorium commented Mar 27, 2026

Tree-sitter support for Notepad++ via a plugin.

@chcg
Copy link
Copy Markdown
Contributor

chcg commented Mar 29, 2026

@Thorium

  • changing the json file is sufficient, md will be automatically updated and created for releases
  • dll needs to be at the top level of the zip file and not with subfolders

@Thorium
Copy link
Copy Markdown
Contributor Author

Thorium commented Mar 29, 2026

Thanks. Can the plugins refer to external files? And if yes, should they all be in the root as well, or what?

(I've tested my plugin on my local computer and it worked.)

@Thorium
Copy link
Copy Markdown
Contributor Author

Thorium commented Mar 30, 2026

Package updated.

@chcg
Copy link
Copy Markdown
Contributor

chcg commented Apr 1, 2026

@Thorium Current failure:

TreeSitter
{'category': 'error',
'details': '',
'message': 'TreeSitter: Does not contain any version information.'}

Something like https://github.com/npp-plugins/plugintemplate/blob/master/src/NppPluginDemo.rc is missing.

Everything has to be within your plugin folder. There you could also reference other dlls or files.

Is it intentional that you just release x64 also your plugin seems to capable to build for x86 and arm64 ?

@Thorium
Copy link
Copy Markdown
Contributor Author

Thorium commented Apr 1, 2026

Ok, should have version info now.
I had just built x64 because I expected no one to use Notepad++ on x86 or arm64 devices.
Built now for all of them.

@chcg
Copy link
Copy Markdown
Contributor

chcg commented Apr 2, 2026

See https://qii404.me/github-release-statistics/ on https://github.com/notepad-plus-plus/notepad-plus-plus downloads of the installer per architecture:

  • Npp.8.9.1.Installer.arm64.exe 45812
  • Npp.8.9.1.Installer.exe 862362
  • Npp.8.9.1.Installer.x64.exe 3789238

so at least x86 has quiet some users.

@chcg chcg added this to the 1.9.4 milestone Apr 2, 2026
@chcg chcg merged commit 6e36d86 into notepad-plus-plus:master Apr 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants