<?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: ctags - Recent Posts</title>
		<link>http://pnotepad.org/forums/tags/ctags</link>
		<description>Programmer&#039;s Notepad Forums</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 07:10:54 +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/ctags" rel="self" type="application/rss+xml" />

		<item>
                        <title>Create own Tags (Pf@nne)</title>
			<link>http://pnotepad.org/forums/topic/5360#post-8205</link>
			<pubDate>Fri, 12 Aug 2011 12:28:29 +0000</pubDate>
			<dc:creator>Pf@nne</dc:creator>
			<guid isPermaLink="false">8205@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi Nux,&#60;/p&#62;
&#60;p&#62;it works, now only real Labels (Label:) will be listet!&#60;br /&#62;
I think you forgot the &#34;:&#34; :-)&#60;/p&#62;
&#60;p&#62;I have modifyed the expression as follows:&#60;br /&#62;
--regex-vb=/^[\t ]*(\w+):$/\1/l,Label/&#60;/p&#62;
&#60;p&#62;Now all Lines that:&#60;br /&#62;
- Start with a TAB or a BLANK,&#60;br /&#62;
- followed by a Word that only contains&#60;br /&#62;
  A-Z or a-z or 0-9 or a &#34;_&#34;,&#60;br /&#62;
- and finaly ends with a &#34;:&#34;&#60;br /&#62;
will be listed.&#60;/p&#62;
&#60;p&#62;Thanks for your Help again!&#60;br /&#62;
Later i will study your link.&#60;/p&#62;
&#60;p&#62;Wish you a great day&#60;br /&#62;
Pf@nne
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Create own Tags (Nux)</title>
			<link>http://pnotepad.org/forums/topic/5360#post-8204</link>
			<pubDate>Fri, 12 Aug 2011 09:43:16 +0000</pubDate>
			<dc:creator>Nux</dc:creator>
			<guid isPermaLink="false">8204@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Have a look at:&#60;br /&#62;
&#60;a href=&#34;https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp&#34; rel=&#34;nofollow&#34;&#62;https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you want to catch lines that only contains: &#34;[optional whitespace][letters]:&#34;&#60;br /&#62;
Then the regexp would be:&#60;br /&#62;
^[ \t]*([a-z]+)$&#60;/p&#62;
&#60;p&#62;In replacement string &#34;\2&#34; is the content form the second pair of parentheses (&#34;\1&#34; from the first and so on). Note that in JavaScript (linked above) different syntax is used in replacement string (&#34;$1&#34;, &#34;$2&#34;...). Other then that it should be the same.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>disable all *.bas cTAGs (Pf@nne)</title>
			<link>http://pnotepad.org/forums/topic/5361#post-8203</link>
			<pubDate>Fri, 12 Aug 2011 08:46:16 +0000</pubDate>
			<dc:creator>Pf@nne</dc:creator>
			<guid isPermaLink="false">8203@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi again,&#60;/p&#62;
&#60;p&#62;we solved the problem by manipulation the &#34;ctags.exe&#34;, we searched for &#34;bas&#34; and replaced the &#34;bas&#34; string by &#34;xxx&#34;.&#60;br /&#62;
Now the hard coded assignment between VB and *.bas will be disabled!&#60;/p&#62;
&#60;p&#62;Since that *.bas for BASCOM-cTAGs works very well.&#60;/p&#62;
&#60;p&#62;Greets again...&#60;br /&#62;
Pf@nne
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Create own Tags (Pf@nne)</title>
			<link>http://pnotepad.org/forums/topic/5360#post-8202</link>
			<pubDate>Fri, 12 Aug 2011 08:38:26 +0000</pubDate>
			<dc:creator>Pf@nne</dc:creator>
			<guid isPermaLink="false">8202@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi Nux,&#60;/p&#62;
&#60;p&#62;thanks for your hint.&#60;/p&#62;
&#60;p&#62;Meanwhile i understand the way to implement my own cTAGs in PN,&#60;br /&#62;
but the PCRE syntax is a little bit confusing.&#60;/p&#62;
&#60;p&#62;For example:&#60;br /&#62;
I want to tag every line with&#60;br /&#62;
- 0 or more blanks at the beging&#60;br /&#62;
- folowed by a regular Charakter&#60;br /&#62;
- and ended by a &#34;:&#34;&#60;br /&#62;
I want to use this to tag a label.&#60;/p&#62;
&#60;p&#62;I tryed like this:&#60;br /&#62;
--regex-vb=/^ *[A-Za-z](.*):$/\1/l,Label/&#60;br /&#62;
This works but the first charakter of the Tag will be truncated.&#60;br /&#62;
In the cTAGs-tree a &#34;abel&#34; is added.&#60;/p&#62;
&#60;p&#62;How to solve this problem?&#60;/p&#62;
&#60;p&#62;To bypass the first problem i used the following expression:&#60;br /&#62;
--regex-vb=/(.*):$/\1/l,Label/&#60;br /&#62;
Now all &#34;:&#34; ending lines will be listed.&#60;br /&#62;
The problem, also &#34;case xx:&#34; commands will be listet.&#60;br /&#62;
How to except charakters/words.&#60;br /&#62;
I want to except the word &#34;case&#34;&#60;/p&#62;
&#60;p&#62;You use \2 option what does this mean?&#60;br /&#62;
Also \t and \w+&#60;br /&#62;
Do you have a good description for PCRE syntax.&#60;/p&#62;
&#60;p&#62;Thanks for your Help&#60;br /&#62;
Greets from Hamburg&#60;br /&#62;
Pf@nne
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>disable all *.bas cTAGs (Nux)</title>
			<link>http://pnotepad.org/forums/topic/5361#post-8197</link>
			<pubDate>Thu, 11 Aug 2011 11:47:07 +0000</pubDate>
			<dc:creator>Nux</dc:creator>
			<guid isPermaLink="false">8197@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Maybe you could change &#34;extmap.dat&#34; so that .bas would be recognized as &#34;bascom&#34; rather then &#34;vb&#34;?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Create own Tags (Nux)</title>
			<link>http://pnotepad.org/forums/topic/5360#post-8196</link>
			<pubDate>Thu, 11 Aug 2011 11:40:15 +0000</pubDate>
			<dc:creator>Nux</dc:creator>
			<guid isPermaLink="false">8196@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I've used the below syntax in previous version. Haven't tested in current PN.&#60;/p&#62;
&#60;p&#62;In additionalLanguages.conf you have to add:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;--langdef=langname&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;--langmap=langname:.ext&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;--regex-langname=/regexp/replacement/type-short,type-long/&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Where:&#60;br /&#62;
* langname is your language name&#60;br /&#62;
* ext is an extension for the language&#60;br /&#62;
* regexp is PCRE regular expression&#60;br /&#62;
* replacement is a replacement string in withch you will probably want to use &#34;\1&#34; to insert phrase you caught in regexp.&#60;br /&#62;
* type-short, type-long are types of caught tags eg. &#34;f&#34; and &#34;Function&#34; for functions&#60;/p&#62;
&#60;p&#62;This is what I've used for ActionScript:&#60;br /&#62;
&#60;code&#62;--langdef=acscript&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;--langmap=acscript:.as&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;--regex-acscript=/(^&#124;[ \t])function[ \t]+(\w+)[ \t]*\(/\2/f,Function/&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;--regex-acscript=/(^&#124;[ \t])([A-Za-z0-9_.]+)[ \t]*=[ \t]*function[ \t]*\(/\2/f,Function/&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;In additionalSupportedSchemes.ini I had to add:&#60;br /&#62;
&#60;code&#62;[acscript]&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;f = 1&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>disable all *.bas cTAGs (Pf@nne)</title>
			<link>http://pnotepad.org/forums/topic/5361#post-8169</link>
			<pubDate>Mon, 01 Aug 2011 18:57:29 +0000</pubDate>
			<dc:creator>Pf@nne</dc:creator>
			<guid isPermaLink="false">8169@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;i wrote my own cTAGs for BASCOM language.&#60;br /&#62;
The endings are *.bas and *.inc.&#60;/p&#62;
&#60;p&#62;For *.inc the cTags run verry well,&#60;br /&#62;
but i have problems with *.bas files.&#60;/p&#62;
&#60;p&#62;I think they are still in use with the Visual Basic cTAGs.&#60;/p&#62;
&#60;p&#62;How can i disable all Visual Basic cTAGs for the *.bas ending.&#60;/p&#62;
&#60;p&#62;Thanks for your help.&#60;br /&#62;
Pf@nne
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Create own Tags (Pf@nne)</title>
			<link>http://pnotepad.org/forums/topic/5360#post-8168</link>
			<pubDate>Mon, 01 Aug 2011 11:45:06 +0000</pubDate>
			<dc:creator>Pf@nne</dc:creator>
			<guid isPermaLink="false">8168@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Meanwhile i have found the&#60;br /&#62;
&#34;taggers\ctags\additionalLanguages.conf&#34; .&#60;/p&#62;
&#60;p&#62;Is there anywere a Syntax-Sample?&#60;/p&#62;
&#60;p&#62;I got *.inc files (Basic BASCOM-AVR Code) and i want to use them with the Visual Basic Scheme the Syntax-highlighting still works, but the cTAG function not.&#60;/p&#62;
&#60;p&#62;Who can Help me with my Problem...&#60;/p&#62;
&#60;p&#62;Thank for your Help&#60;br /&#62;
Pf@nne
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Create own Tags (Pf@nne)</title>
			<link>http://pnotepad.org/forums/topic/5360#post-8157</link>
			<pubDate>Fri, 29 Jul 2011 17:09:09 +0000</pubDate>
			<dc:creator>Pf@nne</dc:creator>
			<guid isPermaLink="false">8157@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;how can i create my own Tags for BASCOM language.&#60;br /&#62;
Like this:&#60;br /&#62;
&#60;a href=&#34;http://www.pnotepad.org/wp-content/uploads/2006/12/207tags.png&#34; rel=&#34;nofollow&#34;&#62;http://www.pnotepad.org/wp-content/uploads/2006/12/207tags.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;For C++ this function still exist.&#60;/p&#62;
&#60;p&#62;Thanks for your help&#60;br /&#62;
Pf@nne
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Generating alternate tags files (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5226#post-7825</link>
			<pubDate>Mon, 11 Apr 2011 13:46:00 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7825@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Wouldn't be too difficult to create a JS parser for CTags, would it?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pnotepad.googlecode.com/hg/pnwtl/third_party/ctags/EXTENDING.html&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.googlecode.com/hg/pnwtl/third_party/ctags/EXTENDING.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://weblogs.asp.net/george_v_reilly/archive/2009/03/24/exuberant-ctags-and-javascript.aspx&#34; rel=&#34;nofollow&#34;&#62;http://weblogs.asp.net/george_v_reilly/archive/2009/03/24/exuberant-ctags-and-javascript.aspx&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Generating alternate tags files (simon)</title>
			<link>http://pnotepad.org/forums/topic/5226#post-7821</link>
			<pubDate>Fri, 08 Apr 2011 09:15:55 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7821@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I took a look at this last night, it looks complex to get this runnable on Windows? Last time I tried to get node.js building it was a pain.&#60;/p&#62;
&#60;p&#62;That being said, once it's runnable it shouldn't be too difficult, although you need to be able to run it on a per-file basis for compatibility with the way PN currently uses tags.&#60;/p&#62;
&#60;p&#62;The easiest thing would probably be for us to extend the current ctagsnavigator plugin to support running a different command for each scheme, so call to doctorjs for Javascript.&#60;/p&#62;
&#60;p&#62;Simon.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Generating alternate tags files (ryanv)</title>
			<link>http://pnotepad.org/forums/topic/5226#post-7819</link>
			<pubDate>Tue, 05 Apr 2011 20:17:29 +0000</pubDate>
			<dc:creator>ryanv</dc:creator>
			<guid isPermaLink="false">7819@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I would like to use an alternate code indexer instead of ctags. JavaScript support in ctags is lacking and would like to use the compatible output of doctorjs (formerly jsctags).&#60;/p&#62;
&#60;p&#62;What is the simplest way to accomplish this?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/mozilla/doctorjs/&#34; rel=&#34;nofollow&#34;&#62;https://github.com/mozilla/doctorjs/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>display VHDL signals in tags window (leo_panda)</title>
			<link>http://pnotepad.org/forums/topic/5130#post-7538</link>
			<pubDate>Thu, 06 Jan 2011 09:07:20 +0000</pubDate>
			<dc:creator>leo_panda</dc:creator>
			<guid isPermaLink="false">7538@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;PN2 is realy a great editor, i like it!&#60;br /&#62;
i added following 3 lines in the additionalLanguages.conf&#60;br /&#62;
  --regex-VHDL=/^[ \t]*signal[ \t]*([a-zA-Z0-9_]+)/\1/s,signal/&#60;br /&#62;
  --regex-VHDL=/:[ \t]*process[ \t]*\(([a-zA-Z0-9_, ]+)\)$/\1/p,process/&#60;br /&#62;
  --VHDL-kinds=+C&#60;br /&#62;
now the signals are shown in tags window in the net-group, -is acceptable&#60;br /&#62;
and the components are shown in the ?-group (unknow), -not so nice&#60;br /&#62;
and the process argument lists is shown in the procedure-group, -bad :(&#60;/p&#62;
&#60;p&#62;could anyone tell me what to do to get correct listing in tags window? do I have to modify ctags? I think the kinds for VHDL is not complete.&#60;br /&#62;
with ctags --list-kinds=VHDL i didn't see signal and process.&#60;br /&#62;
using /s, signal/ was just a guess!&#60;/p&#62;
&#60;p&#62;and to show process name one has to extract the string BEFORE the &#34;: process&#34; sequence, is the ctags able to do this? for example with the substitude string // or /\2/ or ...
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

