jEdit Community - Resources for users of the jEdit Text Editor
ctagssidekick with VHDL files
Submitted by timxdunn on Thursday, 18 February, 2010 - 20:12
Hello,

I am new to the forum and I have a problem with the ctagssidekick plugin. I am trying to use it with VHDL files but after parsing all it finds are the entity name and any constants that I may have defined.
Has anyone got any experience of how to set up the ctagssidekick to work with VHDL?
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
You don't have to setup the p
by Robert Schwenn on Thu, 18/02/2010 - 20:28
You don't have to setup the plugin (except the path to ctags.exe) but to configure ctags because ctags doesn't have built-in support for VHDL. Please take a look at the CtagsSideKick plugin and ctags documentation.

Robert
 
ctags vhdl support
by timxdunn on Fri, 19/02/2010 - 21:21
Robert,
Thanks for your help.
I have set up the path to the ctags.exe, and it works for C++.
According to the ctags website (http://ctags.sourceforge.net/languages.html) vhdl is supported.
I was hoping that someone had done this before me and could set me on the path to righteousness.

-Tim
 
ctags vhdl support
by Axel on Mon, 22/02/2010 - 11:08
You can try the following:

Add to home_directory_of_jedit/ctags.cnf (or create this file, if it does not exist) the following lines:


--langdef=vhdl
--langmap=vhdl:.vhd.vhdl
--regex-vhdl=/^([ \t]*(.*):[ \t]*)(process\b([^\§]*))(\§\:([0-9]+))?[ \t]*/-  PS:\6  \2/All/i
--regex-vhdl=/^[ \t]*.*((lib)rary|(--<))[ \t]*(.*)/\2\3  \4/All/i
--regex-vhdl=/^.*:([^:]*)PORT[ \t]+MAP\b(.*)/P'MAP \1/All/i


Hopefully, the forum's editor does not change the above lines...

Axel
 
Thank you
by timxdunn on Tue, 23/02/2010 - 16:25
Axel, thanks very much. Your text survived its journey!
That has improved things a great deal.

-Tim
 
ctags vhdl support
by Axel on Wed, 24/02/2010 - 09:21
> That has improved things a great deal.

Glad to here that!

Axel
 
Yes You're right. I haven't b
by Robert Schwenn on Fri, 19/02/2010 - 22:03
Yes You're right. I haven't been up to date with my ctags.exe (version 5.6). Now, with version 5.8, VHDL is supported. So, normally it should work out of the box.

Robert
User login
Browse archives
« November 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   101295
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300