chxuan / cpp-mode Goto Github PK
View Code? Open in Web Editor NEW:leaves:A C++ IDE for vim
Home Page: https://github.com/chxuan/cpp-mode
License: MIT License
:leaves:A C++ IDE for vim
Home Page: https://github.com/chxuan/cpp-mode
License: MIT License
当.h和.cpp文件不在同一个文件夹的时候,遇到两个问题
1、.h和.cpp无法互相跳转
2、可以从函数实现跳转到声明,但无法从声明跳转到实现
但如果.h和.cpp在同一个文件夹的时候,是没有问题
你好,我使用跳珠定义时总是弹出"E492: 不是编辑器的命令: GoToFunImpl",我的系统时deepin15.11
1.测试文件
//vim.h
#ifndef vim_H
#define vim_H
class Vim{
public:
inline int func(int a);
private:
int a;
};
#endif
2..执行<leader> y报错
inline int func(int a);
处理 function <SNR>91_copy_code[3]..cppmode#gen_fun#copy_function[7]..<SNR>137_get_class_name[2]..<SNR>137_parse_class_name 时发生错误:
第 1 行:
E684: List 索引超出范围: 2
E15: 无效的表达式: matchlist(a:text, '\(\<class\>\|\<struct\>\)\s\+\(\w\+\)')[2]
3.执行<leader> p复制结果如下
0::int func(int a)
{
}
+u之后跳转函数成功,但是怎么返回呢?我看配置文件里没有相应的按键呢
class X {
}
这样的格式复制函数会报错
另外希望提供一个开关,粘贴也能成这种格式
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.