chxuan / vimplus

:rocket:An automatic configuration program for vim
https://github.com/chxuan/vimplus
MIT License
3.9k stars 1.13k forks source link

在使用拷贝函数声明快捷键(,y)时 , 出现如下错误 #278

Closed YangAoLib closed 4 years ago

YangAoLib commented 4 years ago

image

chxuan commented 4 years ago

@Visual-studio-star 你好,请问你的源代码是什么格式呢?

YangAoLib commented 4 years ago

@Visual-studio-star 你好,请问你的源代码是什么格式呢?

C++ image

YangAoLib commented 4 years ago

@Visual-studio-star 你好,请问你的源代码是什么格式呢?

函数的声明 与 定义 在同一个cpp中

chxuan commented 4 years ago

@Visual-studio-star 函数生成是cpp-mode (https://github.com/chxuan/cpp-mode)插件提供的,目前该插件不支持类外定义的函数

YangAoLib commented 4 years ago

@Visual-studio-star 函数生成是cpp-mode (https://github.com/chxuan/cpp-mode)插件提供的,目前该插件不支持类外定义的函数

此格式下 函数声明的跳转(偶尔) 和 函数实现的跳转 都会失效也是这个原因吗

chxuan commented 4 years ago

@Visual-studio-star 是的哈,同一文件跳转可以通过shift + *光标所在单词来查找也很方便

YangAoLib commented 4 years ago

@Visual-studio-star 是的哈,同一文件跳转可以通过shift + *光标所在单词来查找也很方便

感谢