AutoHotkey Community

It is currently May 26th, 2012, 12:00 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: February 11th, 2008, 10:40 pm 
Offline

Joined: March 16th, 2006, 5:01 pm
Posts: 150
my guess is that something went wrong in step 3.
Are you sure you have:
Code:
--langdef=autohotkey
--langmap=autohotkey:.ahk


in your config?

If no problems there...
Is there any absolute path that is failing here?

If that fails, I'd write to the ctags mailing list, point them here, and tell them what your problem is. I got an answer from the creator of ctags himself!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2008, 10:41 pm 
Offline

Joined: March 16th, 2006, 5:01 pm
Posts: 150
Also, make sure that both the exe and the ctags.cnf files are in your path. If the exe is, but ctags.cnf is not, it'd cause this problem.

To quickly test it, drop them both in the same dir the ahk file is...

HTH,


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 12th, 2008, 1:18 am 
Offline

Joined: May 30th, 2006, 11:47 am
Posts: 49
It said in step 3 of your manual to create a tags.cnf file. This didnt work for me. I created a ctags.cnf and then it worked.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 12th, 2008, 2:40 am 
Offline

Joined: March 16th, 2006, 5:01 pm
Posts: 150
canta wrote:
It said in step 3 of your manual to create a tags.cnf file. This didnt work for me. I created a ctags.cnf and then it worked.


Fixed. Thanks for finding the typo.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 12th, 2008, 2:17 pm 
Offline

Joined: March 19th, 2006, 5:52 am
Posts: 419
urlwolf wrote:
Bummer about PSPad, as it seems to be a favorite here.

PSPad does have a Code Explorer that does this type of thing for most of the major languages. I've really started to use it a lot in a php project I just finished. All that being said, I can't find anything that actually says how it's actually configured. If you can find that it will probably just be a simple port because you already have the expressions.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 15th, 2008, 12:27 pm 
Offline

Joined: March 16th, 2006, 5:01 pm
Posts: 150
These are two different beasts.
I asked for ctags support in PSPad, but it seens there's no interest in it.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 8th, 2008, 5:30 pm 
Offline

Joined: May 5th, 2008, 4:37 am
Posts: 23
Location: China
can you creating a plugin for SciTE , i am hoping for...

_________________
Fantasy OnLine


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 8th, 2008, 5:35 pm 
Offline

Joined: April 21st, 2008, 9:02 pm
Posts: 86
Location: somewhere
BLooM2 wrote:
can you creating a plugin for SciTE , i am hoping for...

PhiLho has posted a lua script for doing what you want.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 8th, 2008, 6:31 pm 
Offline

Joined: May 5th, 2008, 4:37 am
Posts: 23
Location: China
SomeGuy wrote:
PhiLho has posted a lua script for doing what you want.

Yea! I found it ,Thanx
http://www.autohotkey.com/forum/viewtopic.php?t=14338&postdays=0&postorder=asc&highlight=philho+lua&start=0
That is perfect!!!

_________________
Fantasy OnLine


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 28th, 2009, 8:28 am 
Offline

Joined: February 21st, 2005, 9:07 am
Posts: 11
Does this approach list the hotkeys as well, i.e. something like #n::?
I tried, but failed.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Error in ctags.cnf
PostPosted: March 11th, 2011, 8:36 am 
Offline
User avatar

Joined: January 25th, 2006, 8:08 am
Posts: 225
Location: Froschtümpel
Sorry for waking the dead - but found an error in the ctags.cnf of the first topic:

There is an unquoted { which makes ctags complain: (inserted the missung backslash - notice red backslash beyond ...)

Code:
--langdef=autohotkey
--langmap=autohotkey:.ahk
--regex-autohotkey=/^[ \t]*([a-zA-Z0-9_]+)\:\s*$/\1/l,label/
--regex-autohotkey=/^[ \t]*([a-zA-Z0-9_]+)[ |\t]*:?=/\1/v,variable/
--regex-autohotkey=/^[ \t]*(NOTE|note|Note)[ \t]*\:[ \t]*(.*)/\2/n,note/
--regex-autohotkey=/^[ \t]*(TODO|todo|Todo)[ \t]*\:[ \t]*(.*)/\2/t,todo/
--regex-autohotkey=/^([a-zA-Z0-9_@]+)[ \t]*\(.*\)[ \t]*\{/\1/f,function/


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], XX0 and 5 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group