更改热键进行自动完成选择 [英] Change hotkey for autocomplete selection
问题描述
在Eclipse中,我觉得令人讨厌的是,Enter是从Content Assist / Autocomplete列表中选择一个项目的热键。特别是在没有行尾分号的PyDev中,按Enter键输入一个新行代替给我在自动填充列表中选择的任何内容。
In Eclipse, I find it pretty annoying that Enter is the hotkey that selects an item from the Content Assist/Autocomplete list. Especially in PyDev where there is no end-of-line semicolon, pressing enter for a new line will instead give me whatever is selected in the Autocomplete list.
Tab是一个更好的选择热键,因为我不太可能想要一个标签中线。
Tab is a much better selection hotkey since I'm not likely to want a tab mid-line.
有任何改变Eclipse的机会吗?
Any chance of changing this in Eclipse?
使用CDT,PDT和PyDev,但对与Eclipse相关的任何解决方案感兴趣。
Using CDT, PDT, and PyDev, but interested in any solution related to Eclipse.
推荐答案
Eclipse中的绑定在Window - > Preferences - > General - > Keys中定义。我不认为您可以更改用于从自动填充列表中选择内容的内容,但您可以使用空格选择,然后输入新行。
All key bindings in Eclipse are defined in Window -> Preferences -> General -> Keys. I don't think you can change what is used to select stuff from the autocomplete list, but you can use space to select and then Enter for new line.
这篇关于更改热键进行自动完成选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!