Developer

How do you want to contribute?

Script

You can script Programmer’s Notepad (and record/replay macros) using the PyPN extension which brings the full power of Python into Programmer’s Notepad. Find out more here:

PyPN Overview

If you need more low-level integration with Programmer’s Notepad, consider writing an extension.

Add to Online Help

All contributions to our online help are welcome, just join the wiki and start writing!

If you need to discuss a topic, ask in the forums.

Translation

Programmer’s Notepad supports translations, and comes with built-in support for German, Hungarian, Italian, Polish, Romanian, Russian, Simplified Chinese, Spanish and English. If you’d like to improve a translation or contribute a new one, you can get help here:

See the Translation page on the docs wiki.

Schemes

Schemes define the way that languages are highlighted in Programmer’s Notepad.

Most languages can be catered for with the simple-to-define XML based scheme description files. These make it easy for any user to get the syntax highlighting they want. You can find more information in the online docs: Adding support for your language.

For more complex needs/languages, PN 2 supports “lexers” which can be developed using any programming language that can produce a DLL with C-compatible exports (such as C++, Object Pascal, …).

Extensions SDK

You can develop extensions for Programmer’s Notepad using C++, the SDK includes all the bits you need along with both template and demo projects – the PyPN scripting support is developed with this same SDK.

Get the SDK

There’s also browsable documentation online generated from the plugin interface code. Note this SDK requires PN version 2.0.9 or greater, ask in the forums if you need help building for an older version. For more information on how to write an extension see the online documentation: Writing your First Extension.

There’s a project hosted on Google Code to store the code for your extensions to make them easy to find and work on for other Open Source developers. See the pnotepad-plugins project. The latest downloads on GitHub always contain the most up-to-date SDK version to use.

Hacking on Programmer’s Notepad

Programmer’s Notepad 2 is an open source project, and we welcome contributors to all aspects of the project. The source code can be downloaded from GitHub:

https://github.com/simonsteele/pn.

There are full instructions for building Programmer’s Notepad on the docs site.