<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>pnotepad.org forums &#187; Tag: templates - Recent Posts</title>
		<link>http://pnotepad.org/forums/tags/templates</link>
		<description>Programmer&#039;s Notepad Forums</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 10:40:19 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://pnotepad.org/forums/search.php</link>
		</textInput>
		<atom:link href="http://pnotepad.org/forums/rss/tags/templates" rel="self" type="application/rss+xml" />

		<item>
                        <title>Project Templates (HankScorpio)</title>
			<link>http://pnotepad.org/forums/topic/244#post-8393</link>
			<pubDate>Mon, 10 Oct 2011 18:47:17 +0000</pubDate>
			<dc:creator>HankScorpio</dc:creator>
			<guid isPermaLink="false">8393@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi folks,&#60;/p&#62;
&#60;p&#62;im using PN for a few months now for editing cnc-files and now want to use some templates. I searched the wiki and found the ==Use in tool definitions== defined with $(ProjectProp:test\general\outputdir). But the right syntax is described in this thread with $(ProjectProp:test.general.outputdir).&#60;br /&#62;
Could someone change this in the wiki&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Latest on templates/clips? (forsooth)</title>
			<link>http://pnotepad.org/forums/topic/734#post-2663</link>
			<pubDate>Fri, 15 Jan 2010 16:24:00 +0000</pubDate>
			<dc:creator>forsooth</dc:creator>
			<guid isPermaLink="false">2663@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thank you for posting this.&#60;/p&#62;
&#60;p&#62;Dave
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Latest on templates/clips? (gregrre)</title>
			<link>http://pnotepad.org/forums/topic/734#post-2662</link>
			<pubDate>Thu, 14 Jan 2010 19:58:47 +0000</pubDate>
			<dc:creator>gregrre</dc:creator>
			<guid isPermaLink="false">2662@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hello&#60;br /&#62;
First off, this is my first post. I would like to thank you, Simon  for developing and maintaining this useful, elegant replacement for notepad. &#60;/p&#62;
&#60;p&#62;I experienced the same problems with the clips. I added a clip using pn2, saved the file exited and restarted, the added clip did not show in the clip list. After searching the forums i came across this reference:&#60;/p&#62;
&#60;p&#62;Hi Mario,&#60;/p&#62;
&#60;p&#62;Can you check for a file called &#34;installClipCache.xml&#34; in the following directory:&#60;/p&#62;
&#60;p&#62;Vista: c:\users\[your user]\appdata\Roaming\Echo Software\PN2&#60;br /&#62;
Earlier: c:\documents and settings\[your user]\application data\echo software\pn2&#60;/p&#62;
&#60;p&#62;I deleted the installClipCache.xml file and reloaded pn2. Voila! my additional clip was included. pn2 doesn't seem to know when the clips directory or a file therein has been changed... hope this helps&#60;/p&#62;
&#60;p&#62;greg
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Latest on templates/clips? (forsooth)</title>
			<link>http://pnotepad.org/forums/topic/734#post-2658</link>
			<pubDate>Tue, 12 Jan 2010 14:34:21 +0000</pubDate>
			<dc:creator>forsooth</dc:creator>
			<guid isPermaLink="false">2658@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi, Simon --&#60;/p&#62;
&#60;p&#62;Thanks for your reply.  I'll use this information.&#60;/p&#62;
&#60;p&#62;Thanks for PN!&#60;/p&#62;
&#60;p&#62;Dave
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Latest on templates/clips? (simon)</title>
			<link>http://pnotepad.org/forums/topic/734#post-2655</link>
			<pubDate>Tue, 12 Jan 2010 13:26:02 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">2655@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Firstly, templates aren't quite the same as clips, although the file format is the same. I hope to improve this in the future, as it's confusing right now.&#60;/p&#62;
&#60;p&#62;Clips:&#60;/p&#62;
&#60;p&#62;You don't mention which version you're using, but if you drop a new clips file into the clips folder then PN should pick it up and show it next time.&#60;/p&#62;
&#60;p&#62;Clips and templates are cached in a file called installClipCache.xml in your user settings directory, to reset the clips and templates back to just what's in the clips folder you can delete this file, but this shouldn't be necessary.&#60;/p&#62;
&#60;p&#62;Templates:&#60;/p&#62;
&#60;p&#62;The idea is that you define your templates using the options dialog, see Tools &#124; Options &#124; Code Templates. Add a template for the relevant scheme there, and it should be available from Ctrl-Alt-Space from then on.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Latest on templates/clips? (forsooth)</title>
			<link>http://pnotepad.org/forums/topic/734#post-2654</link>
			<pubDate>Mon, 11 Jan 2010 15:56:31 +0000</pubDate>
			<dc:creator>forsooth</dc:creator>
			<guid isPermaLink="false">2654@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Follow up --&#60;/p&#62;
&#60;p&#62;On the clips file, even if I delete some of the &#34;clips&#34; within the phpcontrol.clips, it seems to have no effect, even if I restart PN.  I'm using the .clips file in &#34;C:\Program Files (x86)\Programmer's Notepad\clips.&#34;  Obviously, I don't know what I'm doing.&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Latest on templates/clips? (forsooth)</title>
			<link>http://pnotepad.org/forums/topic/734#post-2653</link>
			<pubDate>Mon, 11 Jan 2010 03:07:31 +0000</pubDate>
			<dc:creator>forsooth</dc:creator>
			<guid isPermaLink="false">2653@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I've tried to make a trial clips (templates) file, but can't get it to work.  I'm trying the CTRL-ALT-SPACE, but I'm doing something wrong.&#60;/p&#62;
&#60;p&#62;Is there a step-by-step templates-for-dummies guide available?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PN shortcuts (Nux)</title>
			<link>http://pnotepad.org/forums/topic/510#post-1786</link>
			<pubDate>Tue, 20 Jan 2009 12:04:42 +0000</pubDate>
			<dc:creator>Nux</dc:creator>
			<guid isPermaLink="false">1786@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hm... I guess I've misread your post about Code templates:&#60;br /&#62;
&#60;a href=&#34;http://pnotepad.org/forums/topic/356#post-1258&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/forums/topic/356#post-1258&#60;/a&#62;&#60;br /&#62;
I've mapped the key and it all works fine now.&#60;/p&#62;
&#60;p&#62;Request sent:&#60;br /&#62;
&#60;a href=&#34;http://code.google.com/p/pnotepad/issues/detail?id=303&#34; rel=&#34;nofollow&#34;&#62;http://code.google.com/p/pnotepad/issues/detail?id=303&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;BTW. Simon could you send me a file which would contain all shorcuts? I couldn't find anything like that on SVN. I could then put it in the docs.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PN shortcuts (simon)</title>
			<link>http://pnotepad.org/forums/topic/510#post-1780</link>
			<pubDate>Mon, 19 Jan 2009 23:21:30 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1780@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi, did you set the shortcut to F4 - it's not set to that by default. I've just checked and the default templates that ship for C# seem to work ok for me. I went to Edit-&#38;gt;Insert Template and I get a dropdown list of available templates.&#60;/p&#62;
&#60;p&#62;The doc list of shortcuts may be out-of-date, the best way to check shortcuts now they're customisable is to open the Keyboard options page.&#60;/p&#62;
&#60;p&#62;The shortcuts for selecting the clips window etc. are a good idea, please file a request.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PN shortcuts (Nux)</title>
			<link>http://pnotepad.org/forums/topic/510#post-1777</link>
			<pubDate>Fri, 16 Jan 2009 11:10:03 +0000</pubDate>
			<dc:creator>Nux</dc:creator>
			<guid isPermaLink="false">1777@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I've found a topic about Code templates where Simon mentions that they can be used with shortcut keys. So I created a template for HTML heading and name it &#34;heading&#34;.&#60;/p&#62;
&#60;p&#62;As instructed I write &#34;h&#34; and press &#34;F4&#34; - nothing happens. I write &#34;he&#34; - I get the list of HTML keywords (form AutoComplete). So I disable AutoComplete - nothing. Re enabled, and choose &#34;when asked&#34; - nothing.&#60;/p&#62;
&#60;p&#62;Further more the list of shortcuts seems to be outdated or there are no shortcuts for AutoComplete and templates:&#60;br /&#62;
&#60;a href=&#34;http://pnotepad.org/docs/navigation/keyboard_shortcuts&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/docs/navigation/keyboard_shortcuts&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;BTW a shortcut for &#34;go to Text Clips&#34; would be extremly usefull. I could do something like: ALT+C, I, ENTER - voilà and I have a HTML button :-). Currently I have to click a mouse on a Text clips sidebar to do that, but I could use something similar for other sidebars.&#60;/p&#62;
&#60;p&#62;I've mentioned ALT+C, but maybe current keys (ALT+F6 to ALT+F10) could active sidebars not only show/hide them. Or CTRL+SHIFT+F7... could activate sidebards to avoid confusion (CTRL+SHIFT can be easily pressed with a thumb CTRL+ALT is more complicated).
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Project Templates (Joscci)</title>
			<link>http://pnotepad.org/forums/topic/244#post-885</link>
			<pubDate>Wed, 27 Jun 2007 21:18:12 +0000</pubDate>
			<dc:creator>Joscci</dc:creator>
			<guid isPermaLink="false">885@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Well that is fantastic and I think it is step in the right direction.  When I looked at the XML code of the sample template file and realized how it was tied to PN2, this is exactly what I envisioned would be happening (...err.. wrongfully assumed. :o) ).&#60;/p&#62;
&#60;p&#62;So the syntax that you've just implemented makes perfect sense to me.&#60;/p&#62;
&#60;p&#62;For example, to put things in context, I'd like to use PN2 for Embedded Microcontroller programming.  Using a custom template, with the features you've just implemented I could set up a 'list' of supported microcontrollers... for example, using the &#38;lt;optionlist&#38;gt; ... &#38;lt;/optionlist&#38;gt; tags.  The user, by way of the GUI, can make a selection without a care in the world of what's happening under 'the hood'.  PN2 could then make this internal information available to custom 'Tools' which could then pass it on to other utilities such as 'make', for example '$(ProjectProp:foo.compiler.mcu)' could be passed on as a command-line argument to 'make', whom then passes it on to the 'command-line' of the compiler being used, etc, etc.&#60;/p&#62;
&#60;p&#62;In this manner, there would be no need to rely on an external parsing engine to extract this information if we can have PN2 pass it instead.&#60;/p&#62;
&#60;p&#62;This would, of course, cover simplistic cases such as you suggest.  For more complex situations, then doing your own parsing would probably be the best approach.&#60;/p&#62;
&#60;p&#62;Anyways, this is a great feature, so thanks for adding it.  You work really fast. :o)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Project Templates (simon)</title>
			<link>http://pnotepad.org/forums/topic/244#post-884</link>
			<pubDate>Wed, 27 Jun 2007 20:09:04 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">884@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Originally the feature was designed to be used by a tool that would process the project file and extract this information so that it new what to do.&#60;/p&#62;
&#60;p&#62;For example, your build system would involve a simple python (or insert your language of choice here) script that would read a .pnproj file and extract the project/file information from the well-typed nodes storing the project settings. It would then use this to build the project.&#60;/p&#62;
&#60;p&#62;For the simpler case you're looking for, the current build doesn't offer you anything. However, I've just added support for the following syntax to the next version:&#60;/p&#62;
&#60;p&#62;$(ProjectProp:test.general.outputdir)&#60;/p&#62;
&#60;p&#62;I know this is a bit unwieldy, but it's the only way to uniquely identify a property where multiple groups/categories could contain properties with the same name. If this becomes popular then I will look at adding a property chooser so the user doesn't need to remember the name for each group/category/property!&#60;/p&#62;
&#60;p&#62;Also note that this keyword only works for project properties. I've added one as well for the current file but this will be less useful:&#60;/p&#62;
&#60;p&#62;$(FileProp:filetest.general.compile)&#60;/p&#62;
&#60;p&#62;All feedback welcome, I'm more than willing to change the design.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Project Templates (Joscci)</title>
			<link>http://pnotepad.org/forums/topic/244#post-882</link>
			<pubDate>Wed, 27 Jun 2007 11:53:00 +0000</pubDate>
			<dc:creator>Joscci</dc:creator>
			<guid isPermaLink="false">882@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;This is awesome -- I'm starting to see the method behind the madness and it's all coming together and I think it's genius.&#60;/p&#62;
&#60;p&#62;Here's another question...  what is the proper syntax for dereferencing these project 'properties' when used with custom tools?  For example..  take the following property taken from your sample template file:&#60;/p&#62;
&#60;p&#62;&#38;lt;folderPath name=&#34;outputdir&#34; description=&#34;Output Directory&#34; helpid=&#34;1023&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;This property can be set to some value -- how do I dereference that value?&#60;/p&#62;
&#60;p&#62;Is it ($outputdir)?  -- well I tried that but it didn't work.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Project Templates (simon)</title>
			<link>http://pnotepad.org/forums/topic/244#post-879</link>
			<pubDate>Tue, 26 Jun 2007 20:54:42 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">879@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I've just created some very simple documentation for project templates here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pnotepad.org/docs/Projects/Project_Templates&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/docs/Projects/Project_Templates&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Let me know if this doesn't work for you.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Project Templates (Joscci)</title>
			<link>http://pnotepad.org/forums/topic/244#post-878</link>
			<pubDate>Sat, 23 Jun 2007 14:01:52 +0000</pubDate>
			<dc:creator>Joscci</dc:creator>
			<guid isPermaLink="false">878@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hello Simon,&#60;/p&#62;
&#60;p&#62;I would like to know how to implement custom templates as the documentation does not shed any light on how to do this.  &#60;/p&#62;
&#60;p&#62;I found a thread that mentioned an application you created for creating template files (template editor) along with a sample ( test.pnpt) template file, but I'm having trouble figuring out where the 'test' template file goes in the directory so that PN2 is able to read it????&#60;/p&#62;
&#60;p&#62;Could you provide some info? -- it would be greatly appreciated.&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

