C++ 如何让繁盛的ctags解析“;使用;样式类型定义?
如何使用类型别名(如下面的别名)让CTAG解析C++ 如何让繁盛的ctags解析“;使用;样式类型定义?,c++,c++11,ctags,exuberant-ctags,C++,C++11,Ctags,Exuberant Ctags,如何使用类型别名(如下面的别名)让CTAG解析 using FooPtr = std::shared_ptr<Foo>; 使用FooPtr=std::shared\u ptr; >仅使用“代码> TyPulf< /Calp>声明.< /P> < P>VultualCCTAGs*()从繁琐CTAGS句柄中分叉,使用“C++”源文件中的“:/P>” [jet@localhost]/tmp% cat /tmp/foo.cpp using FooPtr = std::shared_p
using FooPtr = std::shared_ptr<Foo>;
使用FooPtr=std::shared\u ptr;
<> >仅使用“代码> TyPulf< /Calp>声明.< /P> < P>VultualCCTAGs*()从繁琐CTAGS句柄中分叉,使用“C++”源文件中的“:/P>”
[jet@localhost]/tmp% cat /tmp/foo.cpp
using FooPtr = std::shared_ptr<Foo>;
[jet@localhost]/tmp% u-ctags -o - /tmp/foo.cpp
FooPtr /tmp/foo.cpp /^using FooPtr = std::shared_ptr<Foo>;$/;" t typeref:typename:std::shared_ptr<Foo> file:
[jet@localhost]/tmp%cat/tmp/foo.cpp
使用FooPtr=std::shared\u ptr;
[jet@localhost]/tmp%u-ctags-o-/tmp/foo.cpp
FooPtr/tmp/foo.cpp/^使用FooPtr=std::shared\u ptr;$/;“t typeref:typename:std::shared_ptr文件:
可能是更新C++支持的时候了。,-,!-旺盛的CTAG已经过时了很多年!看看Mastake的答案。有一个新的派生版本正在开发中。它也没有和lambda和其他“新”东西有关。BTW:C++ 11已经过时了7年了?你有很长的时间我相信: