Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
大多数时候,在键入“new”后,我会按 Ctrl-空格键快速选择必要的类。我希望 Eclipse 自动显示工具提示,就像 VS+Resharper 一样。
如果您在键入单个空格时没有任何犹豫,您可以将空格字符添加到将触发内容辅助对话框的字符列表中。默认字符是点 (.) 字符,您可以在其中添加其他字符。
我还没有找到避免指定任何触发字符并仍然获得内容辅助对话框的方法。因此,使用列表中的空白字符,您必须输入new而不是仅输入new,并且您可以获得所需的内容(或者超过您需要的内容,因为对话框会在每个输入的空格处弹出)。
new