kdevelop 中提示的快捷方式是什么?
What is a shortcut for hints in kdevelop?
例如我有一个函数 f:
int f(int a) {
return a;
}
之类的。然后每当我调用它时,我想看看它需要什么参数,在 Eclipse 中我可以做 ctrl + space
,kdevelop 呢?
这来自 Customizing code auto-completion
网页:
On the other hand, Full completion will additionally show the type for
each entry, and in the case of functions, also the arguments they
take. Also, if you are currently filling in the arguments to a
function, full completion will have an additional info-box above the
cursor that will show you the current argument you are working on.
我认为你需要切换到 Always full completion
:
The editor's code completion can be customized via Settings →
Configure Editor → Editing → Auto Completion.
阅读 here 中有关自定义的更多信息。
例如我有一个函数 f:
int f(int a) {
return a;
}
之类的。然后每当我调用它时,我想看看它需要什么参数,在 Eclipse 中我可以做 ctrl + space
,kdevelop 呢?
这来自 Customizing code auto-completion
网页:
On the other hand, Full completion will additionally show the type for each entry, and in the case of functions, also the arguments they take. Also, if you are currently filling in the arguments to a function, full completion will have an additional info-box above the cursor that will show you the current argument you are working on.
我认为你需要切换到 Always full completion
:
The editor's code completion can be customized via Settings → Configure Editor → Editing → Auto Completion.
阅读 here 中有关自定义的更多信息。