Skip to content

nextpad-plus-plus/nppPluginList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notepad++ macOS Plugin List

Plugin registry for the Notepad++ macOS port.

Format

pl.macos-arm64.json — JSON registry of available macOS ARM64 plugins.

Each entry:

{
    "folder-name": "PluginName",
    "display-name": "Plugin Display Name",
    "version": "1.0.0",
    "id": "<sha256 of zip>",
    "repository": "https://github.com/.../releases/download/.../Plugin.zip",
    "description": "What the plugin does",
    "author": "Author Name",
    "homepage": "https://github.com/..."
}

Plugin Development

macOS plugins are .dylib shared libraries built against NppPluginInterfaceMac.h.

Required Exports

void        setInfo(NppData nppData);
const char* getName(void);
FuncItem*   getFuncsArray(int *nbF);
void        beNotified(SCNotification *notifyCode);
intptr_t    messageProc(uint32_t Message, uintptr_t wParam, intptr_t lParam);

Key Differences from Windows

Windows macOS
.dll (PE) .dylib (Mach-O)
__declspec(dllexport) __attribute__((visibility("default")))
wchar_t* (UTF-16) char* (UTF-8)
::SendMessage(hwnd, msg, w, l) nppData._sendMessage(handle, msg, w, l)
HWND uintptr_t (opaque handle)
Win32 dialogs (.rc) Native AppKit (NSPanel/NSAlert)
INI files (GetPrivateProfileString) JSON files

Installation

Place your plugin at:

~/.notepad++/plugins/PluginName/PluginName.dylib

Restart Notepad++ macOS to load it.

Ported Plugins

Plugin Status Repository
Reverse Lines Ported qkNppReverseLines-MacOS
URL Plugin Ported nppURLPlugin-MacOS

About

Plugin list registry for Notepad++ macOS port (ARM64 dylib plugins)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages