1) 打开窗口Window-->Preferences
2) 选择左侧菜单General --> Keys
3) 查找 Ctrl+/, 发现Ctrl+/对应的项是Comment等, 将Ctrl+/改为Alt+/
4) 查找Content Assist, 将其设置为Ctrl+/ (个人认为比Alt+/更方便些)
背景的设置
在编写代码时, 鼠标指到变量或函数上方时, 会弹出窗口显示该变量或函数的具体信息, 但窗口背景为黑色. 可以通过以下进行修改:
It was in
Preferences > C/C++ > Editor > Source hover background
, and had to untick the "System default" (because the shown color was light-gray!)
没有评论:
发表评论