X1. Linux Driver 开发 eclipse工程找不到头文件
如下添加头文件路径,
右键单击工程,选择 Properties > C/C++ Build > Settings > > GCC C/C++ Compiler > Includes > Include paths > 点击添加按钮, 浏览添加路径 /usr/src/linux-headers-4.10.0-28-generic/include 即可。
X2. eclipse color-theme
Help -> Install New Software... -> Add,
Name: color-theme (arbitrary)
Location: http://eclipse-color-theme.github.io/update/
My favorate choice:
light: Tango
dark: Zenburn
X3. vim
Help -> Eclipse Marketplace -> Find (vim),
Vrapper (Vim)
then, Adjust the key bindings:
Window -> Preferences -> type filter text (key),
Keys Scheme: Vim's key bindings
Disable default Ctrl+F, Ctrl+B, Ctrl+P, Ctrl+N: type filter text, then clear the Binding content at to bottom of that page.
X4. Configure glib, gobject project
Right-Click project -> Properties,
X5. C/C++ 智能提示
Alt + / , 不过功能和 VSCode 比弱爆了……
Over.