<?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[Where to begin]]></title><description><![CDATA[<p dir="auto">I’m an intermediate level developer and I want to develop a simple plugin for Notepad++ but for all I know the essential functionality may already have been implemented.</p>
<p dir="auto">In a nutshell, I want to hook into the file|new method and invoke a dialog to select a new file based on a user-created set of templates. So Ineed to be able to crack into the file menu and call a new dialog to load a template that I will have predefined.</p>
<p dir="auto">To me this seems like reallly basic functionality for any kind of text editor so I’m sure there are already components built that can be retasked to my purposes.  Could someone point me in the right direction?</p>
<p dir="auto">Thanks in advance!</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/22795/where-to-begin</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 06:22:19 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/22795.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 02 Apr 2022 17:38:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Where to begin on Thu, 07 Apr 2022 10:00:14 GMT]]></title><description><![CDATA[<p dir="auto">I believe you could use the NPPN_FILEOPENED notification and check the filename to see if it’s a new file (it will have no path and just a name like “new 1”). Then run your code to have the user select a template and insert text.</p>
<p dir="auto">Alternatively, you could just create a menu command for your plugin that lets the user select a template, then create a new file with that template text. Also note that the user can bind shortcut keys to plugin menu items.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/75839</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/75839</guid><dc:creator><![CDATA[Derek Brown]]></dc:creator><pubDate>Thu, 07 Apr 2022 10:00:14 GMT</pubDate></item><item><title><![CDATA[Reply to Where to begin on Sat, 02 Apr 2022 19:58:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/osgaldor" aria-label="Profile: osgaldor">@<bdi>osgaldor</bdi></a></p>
<p dir="auto">So I maybe do something similar.  When a new Python file is made by the user, i.e., he saves an empty <code>.py</code> file, I have something that detects that and then fills the content of the Notepad++ tab with “boilerplate” code for a Python program.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/75670</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/75670</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 02 Apr 2022 19:58:14 GMT</pubDate></item></channel></rss>