Hi,
I'm getting following erros when I open a file in vim (v6.2. Taglist.
vim is the latest one):
Error detected while processing /home/umoogala/.vim/plugin/taglist.
vim:
line 151:
E15: Invalid expression:
E15: Invalid expression: 'c;d:macro;g:enum;s:struct;u:union;t:
typedef;' .
line 152:
E10: \ should be followed by /, ? or &
line 155:
E15: Invalid expression:
E15: Invalid expression: 'c++;v:variable;d:macro;t:typedef;c:class;'
.
line 156:
E10: \ should be followed by /, ? or &
line 159:
E15: Invalid expression:
E15: Invalid expression: 'c#;d:macro;t:typedef;n:namespace;c:class;'
.
line 160:
E10: \ should be followed by /, ? or &
line 161:
E10: \ should be followed by /, ? or &
line 164:
E15: Invalid expression:
E15: Invalid expression: 'cobol;d:data;f:file;g:group;p:paragraph;' .
line 165:
E10: \ should be followed by /, ? or &
line 177:
E15: Invalid expression:
E15: Invalid expression: 'fortran;p:program;b:block data;' .
line 178:
E10: \ should be followed by /, ? or &
line 179:
E10: \ should be followed by /, ? or &
line 185:
E15: Invalid expression:
E15: Invalid expression: 'java;p:package;c:class;i:interface;' .
line 186:
E10: \ should be followed by /, ? or &
line 216:
E15: Invalid expression:
E15: Invalid expression: 'ruby;c:class;f:method;F:function;' .
line 217:
E10: \ should be followed by /, ? or &
line 235:
E15: Invalid expression:
E15: Invalid expression: 'sml;e:exception;c:functor;s:signature;' .
line 236:
E10: \ should be followed by /, ? or &
line 239:
E15: Invalid expression:
E15: Invalid expression: 'sql;c:cursor;F:field;P:package;r:record;' .
line 240:
E10: \ should be followed by /, ? or &
line 246:
E15: Invalid expression:
E15: Invalid expression: 'vera;c:class;d:macro;e:enumerator;' .
line 247:
E10: \ should be followed by /, ? or &
line 248:
E10: \ should be followed by /, ? or &
line 249:
E10: \ should be followed by /, ? or &
line 252:
E15: Invalid expression:
E15: Invalid expression: 'verilog;m:module;P:parameter;r:register;' .
line 253:
E10: \ should be followed by /, ? or &
line 2330:
E10: \ should be followed by /, ? or &
Any ideas?
No errors when same file is opended with gvim (v6.0.152).
thanks,
Uday
Hello,
--- udaymoogala <udaymoogala@...> wrote:
> Hi,
>
> I'm getting following erros when I open a file in vim (v6.2. Taglist.
> vim is the latest one):
>
> Error detected while processing /home/umoogala/.vim/plugin/taglist.
> vim:
> line 151:
> E15: Invalid expression:
> E15: Invalid expression: 'c;d:macro;g:enum;s:struct;u:union;t:
> typedef;' .
> line 152:
> E10: \ should be followed by /, ? or &
> line 155:
> E15: Invalid expression:
> E15: Invalid expression: 'c++;v:variable;d:macro;t:typedef;c:class;'
> .
>
> Any ideas?
>
> No errors when same file is opended with gvim (v6.0.152).
>
It looks like you have included the 'C' flag in the 'cpoptions'
flag. Try removing the 'C' flag from the 'cpoptions' flag.
:set cpoptions?
:set cpo-=C
For more information, read
:help cpo-C
:help line-continuation
- Yegappan
__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools
hi...
I need some guidence with repect to building the tags file.I have
gone through "adding support for a new language in the exuberant
ctags website".But i still havent got a feel for the way things are
done.I am looking at a new language for which I will be building the
tags.In particular I am looking at the regex based parser.I havent
really understood how the example program works.
I need some guidence on that,
Thanks,
Mrudula
Hello,
I've installed vim, the taglist plugin, and exuberent ctags. I want
to browse our source code tree. Will this browse facility list
definitions of data structure declared in files not in the current
file? Not in the current directory? I'm accustomed to using the
VC++ source browser that lists the declaration, definition, and all
the references for a variable, class, function, etc... I would be
glad to describe my specific environment more if that would help.
Thanks,
Scott
Hello,
--- weddlesr <weddlesr@...> wrote:
>
> I've installed vim, the taglist plugin, and exuberent ctags. I want
> to browse our source code tree. Will this browse facility list
> definitions of data structure declared in files not in the current
> file? Not in the current directory?
The taglist plugin lists the tags defined in the current file and
previously opened files. To get the list of tags defined in a file
with the taglist plugin, you need to open the file in Vim.
After the tags are listed in the taglist window, you can save and
load the list using the taglist session commands (TlistSessionSave and
TlistSessionLoad).
You can checkout the tagexplorer plugin for listing the tags defined
in files which are not yet opened in Vim.
http://vim.sourceforge.net/scripts/script.php?script_id=483
>
> I'm accustomed to using the
> VC++ source browser that lists the declaration, definition, and all
> the references for a variable, class, function, etc... I would be
> glad to describe my specific environment more if that would help.
>
You can checkout the following tools, which will help greatly
in browsing source files with Vim (in increasing order of
complexity/features):
http://www.gnu.org/software/grep/grep.htmlhttp://ctags.sf.nethttp://www.gnu.org/software/idutils/idutils.htmlhttp://www.gnu.org/software/global/global.htmlhttp://cscope.sf.net
- Yegappan
__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
Thanks for the reply. I've got ctags and vim running so I can browse
through most of my source code tree. I ran ctags -R in each of the
directories that are root directories for my source code tree. I
then used Ctrl] and :tags to move to declarations and definitions of
variables and functions. I found out about Ctrl] and :tags from
http://www.truth.sk/vim/vimbook-OPL.pdf the online VIM book, under
Chapter 7 Commands for Programmers, Tags.
Scott
--- In taglist@yahoogroups.com, Yegappan Lakshmanan <yegappan@y...>
wrote:
> Hello,
>
> --- weddlesr <weddlesr@y...> wrote:
> >
> > I've installed vim, the taglist plugin, and exuberent ctags. I
want
> > to browse our source code tree. Will this browse facility list
> > definitions of data structure declared in files not in the
current
> > file? Not in the current directory?
>
> The taglist plugin lists the tags defined in the current file and
> previously opened files. To get the list of tags defined in a file
> with the taglist plugin, you need to open the file in Vim.
> After the tags are listed in the taglist window, you can save and
> load the list using the taglist session commands (TlistSessionSave
and
> TlistSessionLoad).
>
> You can checkout the tagexplorer plugin for listing the tags defined
> in files which are not yet opened in Vim.
>
> http://vim.sourceforge.net/scripts/script.php?script_id=483
>
> >
> > I'm accustomed to using the
> > VC++ source browser that lists the declaration, definition, and
all
> > the references for a variable, class, function, etc... I would
be
> > glad to describe my specific environment more if that would help.
> >
>
> You can checkout the following tools, which will help greatly
> in browsing source files with Vim (in increasing order of
> complexity/features):
>
> http://www.gnu.org/software/grep/grep.html
> http://ctags.sf.net
> http://www.gnu.org/software/idutils/idutils.html
> http://www.gnu.org/software/global/global.html
> http://cscope.sf.net
>
> - Yegappan
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam
> http://mail.yahoo.com
I am trying to install the taglib plugin using VIM 6.2.225 on Win2K
using CTags 5.3.3. I followed the install instructions. When I
attempt to use the plugin (open a java file, then execute the Tlist
command) I get an error.
"Error detected while processing function
<SNR>15_Tlist_Toggle_Window..<SNR>15_Tlist_Exploer_File..<SNR>15_Tlist
_Process_File:
line 50:
E484: Can't open file C:/DOUCME~1/pjt/LOCALS~1/Temp/VI0614.tmp
No tags found for ..."
I have the following in my _vimrc file:
set nocompatible
filetype on
let Tlist_Ctags_Cmd="C:\apps\ctags553\ctags.exe"
Can anyone tell me what the issue might be?
Thanks,
Pat
Hello,
--- Pat <pjtallman@...> wrote:
> I am trying to install the taglib plugin using VIM 6.2.225 on Win2K
> using CTags 5.3.3. I followed the install instructions. When I
> attempt to use the plugin (open a java file, then execute the Tlist
> command) I get an error.
>
> "Error detected while processing function
> <SNR>15_Tlist_Toggle_Window..<SNR>15_Tlist_Exploer_File..<SNR>15_Tlist
> _Process_File:
> line 50:
> E484: Can't open file C:/DOUCME~1/pjt/LOCALS~1/Temp/VI0614.tmp
> No tags found for ..."
>
> I have the following in my _vimrc file:
>
> set nocompatible
> filetype on
> let Tlist_Ctags_Cmd="C:\apps\ctags553\ctags.exe"
>
> Can anyone tell me what the issue might be?
>
This problem is caused by the space characters in the temporary
directory name. Bram recently sent out a patch to Vim to fix this
problem. But this problem is difficult to solve due to the method
used by cmd.exe to resolve the quote characters in the command line
in MS-Windows.
Can you set the TEMP or TMP environment variable to a directory
without space characters in the name and use the taglist plugin
again?
- Yegappan
__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
Hi,
I have added support for IDL language files in my $HOME/.ctags file.
I would like to see these tags in the taglist window. I tried adding
a line in my .vimrc like this:
let tlist_IDL_settings = 'IDL;c:class;f:function'
But this didn't appear to do anything.
Here is the contents of my .ctags file:
--langdef=IDL
--langmap=IDL:.idl
--regex-IDL=/^[ \t]*interface[ \t]*([a-zA-Z0-9_]+)/\1/d,class/
--regex-IDL=/^[ \t]*module[ \t]*([a-zA-Z0-9_]+)/\1/d,namespace/
--regex-IDL=/^[ \t]*struct[ \t]*([a-zA-Z0-9_]+)/\1/d,struct/
--regex-IDL=/^[ \t]*typedef[ \t]*([a-zA-Z0-9_]+)/\1/d,typedef/
--regex-IDL=/^[ \ta-z]*attribute[ \t]*([a-zA-Z0-9_]+)/\1/d,member/
--regex-IDL=/^[ \t]*exception[ \t]*([a-zA-Z0-9_]+)/\1/d,definition/
--regex-IDL=/^[ \t]*enum[ \t]*([a-zA-Z0-9_]+)/\1/d,enumerator/
--regex-IDL=/^[ \t]*union[ \t]*([a-zA-Z0-9_]+)/\1/d,union/
I would appreciate any other ideas.
Thanks!
Hello,
--- randydefauw <randydefauw@...> wrote:
> Hi,
>
> I have added support for IDL language files in my $HOME/.ctags file.
> I would like to see these tags in the taglist window. I tried adding
> a line in my .vimrc like this:
>
> let tlist_IDL_settings = 'IDL;c:class;f:function'
>
> But this didn't appear to do anything.
>
> Here is the contents of my .ctags file:
> --langdef=IDL
> --langmap=IDL:.idl
> --regex-IDL=/^[ \t]*interface[ \t]*([a-zA-Z0-9_]+)/\1/d,class/
> --regex-IDL=/^[ \t]*module[ \t]*([a-zA-Z0-9_]+)/\1/d,namespace/
> --regex-IDL=/^[ \t]*struct[ \t]*([a-zA-Z0-9_]+)/\1/d,struct/
> --regex-IDL=/^[ \t]*typedef[ \t]*([a-zA-Z0-9_]+)/\1/d,typedef/
> --regex-IDL=/^[ \ta-z]*attribute[ \t]*([a-zA-Z0-9_]+)/\1/d,member/
> --regex-IDL=/^[ \t]*exception[ \t]*([a-zA-Z0-9_]+)/\1/d,definition/
> --regex-IDL=/^[ \t]*enum[ \t]*([a-zA-Z0-9_]+)/\1/d,enumerator/
> --regex-IDL=/^[ \t]*union[ \t]*([a-zA-Z0-9_]+)/\1/d,union/
>
> I would appreciate any other ideas.
>
Did you make sure that the Vim 'filetype' option is set to 'IDL'.
After loading the IDL file in Vim, try the following command:
:set filetype?
- Yegappan
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
hi...
Is it possible to create the taglist window for all files(with a
certain filetype) in a given directory rather than only for all open
files??
Can the functionality of taglist.vim be extended to do that??
thanks,
Mrudula
Hello,
--- m_dasika <m_dasika@...> wrote:
> hi...
>
> Is it possible to create the taglist window for all files(with a
> certain filetype) in a given directory rather than only for all open
> files??
>
The taglist plugin will only process tags for the file which was
recently opened. Currently, it is not possible to process tags
for multiple files.
>
> Can the functionality of taglist.vim be extended to do that??
>
The problem with adding this functionality is that it will take
a long time for the taglist plugin to process tags for multiple
files. Sometime back, I tried adding the support for processing
the tags/TAGS file from the taglist plugin. Again, because of the
slow nature of Vim scripts, this took a long time to process
a tags file. That is why, I added the taglist session feature
(:TlistSessionSave/:TlistSessionLoad). After opening several
files, you can save the tag information for all those files into
the session file. When you load the session file, the tags for
all those files will be restored.
- Yegappan
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
hi...
When I am trying to extend the taglist plugin for a new language
(actually with new regexp patterns) it says
ctags.exe:Unknown option specified in the language force option
Although I have correctly defined the language and the corresponding
regexp patterns.
I have also tried to set the language-force option to auto but that
is not working.
Any suggestions,
regards,
mrudula
Hello,
--- m_dasika <m_dasika@...> wrote:
> hi...
> When I am trying to extend the taglist plugin for a new language
> (actually with new regexp patterns) it says
> ctags.exe:Unknown option specified in the language force option
> Although I have correctly defined the language and the corresponding
> regexp patterns.
> I have also tried to set the language-force option to auto but that
> is not working.
>
> Any suggestions,
What is the Vim filetype for this file?
:set filetype?
What is the exuberant ctags filetype for this file? What is the line
you have added to your .vimrc file to support this file? What is
the content of the .ctags configuration file?
- Yegappan
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25˘
http://photos.yahoo.com/ph/print_splash
Hi all,
I have uploaded a new version (3.2) of the taglist (source code
browser) plugin to the Vim online website. You can download the
plugin from
http://vim.sourceforge.net/scripts/script.php?script_id=273
The new features in this version are:
1. Support for automatically closing the tags tree for inactive
files.
2. Support for disabling the auto-highlighting of the current
tag.
3. Support for processing of files to generate the tag list even
when the taglist window is not opened.
4. Support for removing the tags tree for deleted files/buffers.
5. A new command to display the name of the current tag.
For more information about this plugin, visit
http://www.geocities.com/yegappan/taglist
Let me know, if you have any problems with this release.
- Yegappan
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25˘
http://photos.yahoo.com/ph/print_splash
Hello,
--- jonah <jonahgoldstein@...> wrote:
>
> > You can try using the taglist plugin which
> > provides some of
> > the above features. You can download this
> > plugin from:
>
> Yegappan,
>
> Thanks. I actually did download and install this.
> However, I opened up a bunch of Java files and did
> :Tlist and only one class showed up in the left-hand
> window, even though there are many classes defined in
> the files.
>
> Did I do something wrong?
>
The taglist plugin lists the tags defined in a file only
when the file is loaded and opened in Vim window/buffer.
Starting Vim with 'vim *.java" will only list the tags for the
first Java source file. As you open the additional files in the
argument list using the ":next" command, the tags defined in those
files will be displayed.
The taglist plugin needs the filetype detected by Vim. As the
filetype cannot be determined without opening the file in a
Vim window/buffer, you need to load the file in a Vim buffer
to use the taglist plugin with that file.
In the next version of the taglist plugin, I will modify it
to list the tags defined in all the files in the buffer list
(when the taglist window is opened). Of course, this assumes
that the filetype for all the files in the buffer list is
already determined.
- Yegappan
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
Hi all,
I have uploaded a new version (3.3) of the taglist (source code
browser) plugin to the Vim online website. You can download the
plugin from
http://vim.sourceforge.net/scripts/script.php?script_id=273
The changes in this version are:
1. If Tlist_Ctags_Cmd variable is not set, on startup, check for the
presence of exuberant-ctags or ctags or tags in the PATH and set
Tlist_Ctags_Cmd variable accordingly. If none of the executable is
found, then the taglist plugin will not be not loaded.
2. Added a new configuration variable Tlist_Enable_Fold_Column to
enable or disable fold columns in the taglist window.
3. Added support for setting the taglist application name used by the
winmanager plugin and the cream package.
4. Two new key mappings ([[ and ]]) are added to the taglist window to
move between files.
5. When a file is modified, the taglist window will be automatically
updated (after going to some other window or buffer and then coming
to the modified buffer).
6. Made the Tlist_Update_File_Tags() function as a global function.
This function can be used to add or update the tags for a new file.
7. Updated the Tlist_Get_Tag_Prototype_By_Line() and the
Tlist_Get_Tagname_By_Line() functions to get the tag name and tag
prototype for the specified line in a file.
For more information about this plugin, visit
http://www.geocities.com/yegappan/taglist
Let me know, if you have any problems with this release.
- Yegappan
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
Hello,
I'd like to add support for taglist in my vht.vim (Script #988).
In html user could navigate not only by anchors (<a name>) but also by
editable regions and libraries. Some time ago I added very similar
support to vim-latexsuite and everything works great.
if !exists("g:tlist_html_settings")
let g:tlist_html_settings = 'html;a:anchor;e:editable region;l:library'
endif
if exists("Tlist_Ctags_Cmd")
let s:html_ctags = Tlist_Ctags_Cmd
else
let s:html_ctags = 'ctags' " Configurable?
endif
let Tlist_Ctags_Cmd = s:html_ctags .' --langdef=html
--langmap=html:.html.htm'
\.' --regex-html="/<a name=\"([A-Za-z0-9])\"/\1/a,anchor/"'
\.' --regex-html="/ #BeginEditable \"([A-Za-z0-9])\"/\1/e,editable/"'
\.' --regex-html="/ #BeginLibraryItem \"([A-Za-z0-9])\"/\1/l,library/"'
Command is passed OK, but in taglist window I can see only anchors. When
issued 'dry', in command line, tags file have only anchors too. What am
I doing wrong?
This is a fragment of html file:
(I was asked to write series of articles about Vim scripts for one of
leading Polish Open Source portals (http://7thguard.net). Article about
taglist is second and will be available in Friday, first was vimspell.)
<h1>Skrypt tygodnia:
<!-- #BeginEditable "tytul" -->
<a href="http://www.vim.org/scripts/script.php?script_id=273">taglist</a>
<!-- #EndEditable -->
</h1>
<p><strong>Nazwa:</strong>
<!-- #BeginEditable "nazwa" -->
<a href="http://www.vim.org/scripts/script.php?script_id=273">taglist</a>
<!-- #EndEditable -->
</p>
<p><strong>Autor:</strong>
<!-- #BeginEditable "autor" -->
Yegappan Lakshmanan (yegappan AT yahoo DOT com)
<!-- #EndEditable -->
</p>
<p><strong>Opisywana wersja:</strong>
<!-- #BeginEditable "wersja" -->
3.3
<!-- #EndEditable -->
</p>
TIA
m.
--
LaTeX + Vim = http://vim-latex.sourceforge.net/
Learn Touch Typing with Vim: http://www.vim.org Script #461
vim.pl - http://skawina.eu.org/mikolaj
VimGDB - http://skawina.eu.org/mikolaj/vimgdb
I have the tlist open in a horizontal window. Instead of using a
static height - could it be sized depending on 1) the taglist itself
2) height of the window/terminal, and have a max height option? If the
max height is 15, but there are only 4 lines of tags, reduce the
height to 4 or 5. If the max height is 15 but the terminal is only 50
high, reduce to 10, or something (I don't know how you would do that
exactly). Just an idea.
Hi Folks,
I've been using taglist for several months. It seems that at one time my
Perl modules showed various packages. Now I'm only seeing subroutines.
Is there something I need to add to my ctags command to get taglist to
display packages?
Here's a sample of one of my tags files:
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@.../
!_TAG_PROGRAM_NAME Exuberant Ctags //
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
!_TAG_PROGRAM_VERSION 5.5.2 //
DESTROY WebBase.pm /^sub DESTROY {$/;" s
QT::Admin Admin.pm /^package QT::Admin;$/;" p
QT::Config Config.pm /^package QT::Config;$/;" p
QT::DBI DBI.pm /^package QT::DBI;$/;" p
QT::DBI::Accounts DBI.pm /^package QT::DBI::Accounts;$/;" p
<snip>
QT::User User.pm /^package QT::User;$/;" p
QT::User::Profile User/Profile.pm /^package QT::User::Profile;$/;" p
QT::Web Web.pm /^package QT::Web;$/;" p
QT::WebBase WebBase.pm /^package QT::WebBase;$/;" p
_create_customer Purchase.pm /^sub _create_customer {$/;" s
_create_order Purchase.pm /^sub _create_order {$/;" s
_delete_customer Purchase.pm /^sub _delete_customer {$/;" s
_delete_order Purchase.pm /^sub _delete_order {$/;" s
create_mobile_phone DBI.pm /^sub create_mobile_phone {$/;" s
<snip>
Thanks,
William
--
Knowmad Services Inc.
http://www.knowmad.com
Hello,
--- William McKee <william@...> wrote:
> Hi Folks,
>
> I've been using taglist for several months. It seems that at one time my
> Perl modules showed various packages. Now I'm only seeing subroutines.
> Is there something I need to add to my ctags command to get taglist to
> display packages?
>
Did you set any of the taglist variables in your .vimrc file
recently? Did you create a ctags.conf or .ctags file?
Did you upgrade either the taglist plugin or exuberant ctags?
- Yegappan
> Here's a sample of one of my tags files:
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
On Mon, Jun 28, 2004 at 10:25:06PM -0700, Yegappan Lakshmanan wrote:
> > I've been using taglist for several months. It seems that at one time my
> > Perl modules showed various packages. Now I'm only seeing subroutines.
> > Is there something I need to add to my ctags command to get taglist to
> > display packages?
> >
>
> Did you set any of the taglist variables in your .vimrc file
> recently? Did you create a ctags.conf or .ctags file?
> Did you upgrade either the taglist plugin or exuberant ctags?
Hi Yegappan,
Thanks for your response. I checked my vimrc and see only two taglist
variables being set:
let Tlist_Ctags_Cmd = '/usr/bin/ctags'
let Tlist_Use_Right_Window = 1
I did not create a ctags.conf or .ctags file and cannot find either of
these on my workstation. I have recently upgraded taglist to the latest
version; I'm not sure about ctags as I use Debian and let it
automatically manage upgrades. My version of exuberant ctags follows:
Exuberant Ctags 5.2.2, Copyright (C) 1996-2001 Darren Hiebert
Compiled: Feb 17 2002, 15:21:28
In my original email, I included partial content of a tags file which
shows the output of the ctags operation on my system. I had thought that
would be sufficient to determine whether there was a ctags issue. I
suppose that's not necessarily the case.
Thanks again for your input. I look forward to getting taglist
displaying my packages again.
Regards,
William
--
Knowmad Services Inc.
http://www.knowmad.com
Just as a side note, wouldn't it be nice to have another value for Tlist_Display_Prototype. Say we set it to 2. This way the word function doesn't popup in front of every function prototype. We already have the label "FUNCTION" at the top of the function lists.
existing:
function
function MyDiff()
function! MaxRestoreWindow()
function! BC_AddChar( schar )
function! BC_GetChar()
function! DoQnas( a, b )
new suggested method:
function
MyDiff()
MaxRestoreWindow()
BC_AddChar( schar )
BC_GetChar()
DoQnas( a, b )
I don't know about you guys, but my desktop space is limited!
Dnia ¶roda, 7 lipca 2004 15:54, toofastvr6 napisał:
> Is there a quick way to jump between these two windows? Without
> having to click on the other window with the mouse?
^Wl
:help CTRL-W
m.
--
E478: Don't panic!
Hi,
I've used the project plugin for a long time, it's a
superb tool to me :
http://www.vim.org/scripts/script.php?script_id=69
...and I just discovered aglist, which gave me an idea.
I'll do a little drawing (you'll need monospaced characters to
view it properly) :
+-------+------------------------------+
| | |
| | |
|Project| |
| | |
| | |
| | edited file |
+-------+ |
| | |
| | |
|Taglist| |
| | |
| | |
| | |
+-------+------------------------------+
Simple and efficient idea, isn't it ? Thing is : project and
taglist do not get on well. In particular, the project plugin
keeps resizing its window, and it all ends in a grand mess.
How to fix this ?
--
Olivier
Sorry about this, my little drawing does not seem to appear well
on the yahoo groups interface. I did a more serious one :
http://xung.org/tmp/project_and_taglist.gif
Be aware though, that this is _not_ a real screenshot, thanks
to the Gimp.
--
Olivier
--- In taglist@yahoogroups.com, "oja_i_i" <ylf@x> wrote:
> Hi,
>
> I've used the project plugin for a long time, it's a
> superb tool to me :
> http://www.vim.org/scripts/script.php?script_id=69
>
> ...and I just discovered aglist, which gave me an idea.
> I'll do a little drawing (you'll need monospaced characters to
> view it properly) :
>
>
> +-------+------------------------------+
> | | |
> | | |
> |Project| |
> | | |
> | | |
> | | edited file |
> +-------+ |
> | | |
> | | |
> |Taglist| |
> | | |
> | | |
> | | |
> +-------+------------------------------+
>
>
> Simple and efficient idea, isn't it ? Thing is : project and
> taglist do not get on well. In particular, the project plugin
> keeps resizing its window, and it all ends in a grand mess.
>
> How to fix this ?
>
> --
> Olivier
Hello Guys,
first of all I want to thank Yegappan for a great
plugin,
it really helpful. :-)
So,I'm working a lot with xsl templates ( win2K/vim6.2
)
and here are modification I did:
1. Create this ctags.cnf file with following content
--fields=mks
--excmd=number
--langmap=JavaScript:+.jsp
--langdef=xsltemplate
--langmap=xsltemplate:.xsl
--regex-xsltemplate=/xsl:template *(match|name) *=
*["'](.*)["']/\2/d,definition/
--regex-xsltemplate=/xsl:call-template *(match|name)
*= *["'](.*)["']/\2/f,function/
2. Add this line to _vimrc :
let Tlist_Ctags_Cmd = 'c:\tools\ctags.exe
--options=c:\tools\ctags.cnf'
3.Add this this line to taglist.vim :
let s:tlist_def_xslt_settings =
'xsltemplate;d:templates;f:templates-calls'
That's it , now when you open taglist window you'll
have a list of
templates and template calls.
Contact me in case of any questions.
--Sasha
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
Hello,
I've been installed the taglib plugin using VIM 6.3 on Win2K
using CTags 5.5.4. I followed the install instructions. When I
attempt to use the plugin (on C file) I get an error.
Error detected while processing function <SNR>14_Tlist_Toggle_Window..
<SNR>14_Tlist_Explore_File..<SNR>14_Tlist_Process_File:
line 53:
Can't open file /tmp/v429082/0
Taglist : No tags found for XXX.c
Please give me a tip.
With regards.