<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[A new C++ plugin template]]></title><description><![CDATA[<p dir="auto">Over the years I’ve created more than a few plugins (some available for download…and several that were never finished or made publicly available). Each time I ended up taking an old project, hacking it up, grepping through all the files and renaming everything. This can be quite tedious and error prone.</p>
<hr />
<p dir="auto">I’ve <a href="https://github.com/dail8859/cookiecutter-npp-cpp-plugin" rel="nofollow ugc">created a template</a> for C++ plugins based on my experience doing plugin development. This isn’t just a generic template to modify yourself, this is a <a href="https://github.com/audreyr/cookiecutter" rel="nofollow ugc">cookiecutter</a> template that can dynamically generate a new plugin project for you. To create your own plugin:</p>
<ol>
<li>Install <a href="https://notepad-plus-plus.org/" rel="nofollow ugc">Notepad++ v7.7</a> (or later)</li>
<li>Install <a href="https://www.python.org/" rel="nofollow ugc">Python</a> (if not installed already)</li>
<li>From a command prompt, run:</li>
</ol>
<pre><code>pip install cookiecutter
cookiecutter https://github.com/dail8859/cookiecutter-npp-cpp-plugin.git
</code></pre>
<ol start="4">
<li>You will be asked some basic info (project name, description, etc.) for the new plugin.</li>
<li>Open the newly created <code>.sln</code> file with Visual Studio 2017</li>
<li>Press <code>F5</code> and enjoy.</li>
</ol>
<p dir="auto">Visual Studio will build and copy the newly created DLL file into plugin directory of Notepad++. It will also start the Notepad++ application for debugging, meaning you can set breakpoints and step through your plugin source code.</p>
<hr />
<p dir="auto">This is still in development and not complete, however it quite usable and will create a project you can instantly run. Hopefully this template can be refined and incorporate other best practices for creating C++ plugins.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/17787/a-new-c-plugin-template</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Nov 2026 22:48:20 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/17787.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 09 Jun 2019 18:09:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to A new C++ plugin template on Sun, 16 Jun 2019 11:52:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dail" aria-label="Profile: dail">@<bdi>dail</bdi></a> - wondering why it is not listed <a href="https://github.com/notepad-plus-plus/npp-usermanual/blob/master/content/plugins/_index.en.md" rel="nofollow ugc">here</a>?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/44552</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/44552</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sun, 16 Jun 2019 11:52:59 GMT</pubDate></item></channel></rss>