Michael.lehn (talk | contribs) |
Michael.lehn (talk | contribs) |
||
Line 5: | Line 5: | ||
Couldn't this plugin use clang for parsing C++? At the moment tag list has problems with my C++ code |
Couldn't this plugin use clang for parsing C++? At the moment tag list has problems with my C++ code |
||
− | --[[User: |
+ | --[[User:Michael.lehn|Michael.lehn]] 17 November 2011 |
==Comments== |
==Comments== |
Revision as of 01:18, 17 November 2011
Use this page to discuss script 273 taglist: source code browser (supports C/C++, Java, Perl, Python and more)
- Add constructive comments, bug reports, or discuss improvements (see the guideline).
- Do not document the script here (the author should do that on vim.org).
- This page may be out of date: check the script's vim.org page above, and its release notes.
Using clang?
Couldn't this plugin use clang for parsing C++? At the moment tag list has problems with my C++ code
--Michael.lehn 17 November 2011
Comments
I use this plugin to put the name of the current function (where cursor is located) in the statusline using:
set statusline+=%(%{Tlist_Get_Tagname_By_Line()}%), " Function name
This generally works very well with C code. However, I see one example where it displays the wrong information:
$ cd vim/src $ vim ex_getln.c '+/^showmatches/+20' :echo Tlist_Get_Tagname_By_Line() Actual result: L_SHOWFILE Expected result: showmatches
--Dominiko 05:42, 14 August 2010 (UTC)