core/core.hpp is not parse-able by ctags (Feature #2838)


Added by Luis Díaz Más over 4 years ago. Updated about 2 years ago.


Status:Open Start date:2013-02-26
Priority:Low Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:core
Target version:Next Hackathon
Difficulty: Pull request:

Description

I use to use ctags for creating tags of OpenCV and make my VIM editor able to auto-complete my opencv code. I just noticed that ctags can't parse some of the main classes and structures of OpenCV version 2.4.3 (like the omnipresent cv::Mat). In version 2.4.2 ctags just works fine. I don't know if it is a problem about the OpenCV code or the ctags program

I attach the two ctags files generated by ctags with each of the commented versions.

I also note that ctags in verbose mode prints a failure message at some point of core/core.hpp file in 2.4.3 opencv version, but the description of the message doesn't give me any clue about the problem. The message is:

$PATH_OpenCV/modules/core/include/opencv2/core/core.hpp: failed to find match for '<' at line 4739

After running this command with ctags

ctags -V --totals=yes --language-force=C++ -o tags-opencv243 -R -B -I CVAPI -I CV_EXPORTS -I CV_EXPORTS_W -I CV_IN_OUT -I CV_WRAP --c++-kinds=+p --fields=+iaS --extra=+q $PATH_OpenCV/modules/core/include/opencv2/core/core.hpp


tags-opencv242 - ctags file for OpenCV 2.4.2 (746 kB) Luis Díaz Más, 2013-02-26 08:38 pm

tags-opencv243 - ctags file for OpenCV 2.4.3 (57.8 kB) Luis Díaz Más, 2013-02-26 08:38 pm


History

Updated by Andrey Kamaev over 4 years ago

  • Target version changed from 2.4.5 to Next Hackathon

Updated by Maksim Shabunin about 2 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4516

Also available in: Atom PDF