简体   繁体   English

Mac 用户的快捷方式:Eclipse

[英]Shortcuts for Mac Users: Eclipse

I want to use a shortcut to autocomplete System.out.print in Java , I read that I should use Ctrl+Space, but I have a mac and when I do Ctrl+Space it shows Spotlight Search, do you know if there is another way for mac users?我想在Java中使用自动完成 System.out.print 的快捷方式,我读到我应该使用 Ctrl+Space,但是我有一个 Mac,当我使用 Ctrl+Space 时它显示 Spotlight Search,你知道是否还有另一个mac用户的方式?

The shortcut in Eclipse is: (Write) sysout and press Ctrl+Space Eclipse 中的快捷方式是:(Write) sysout并按 Ctrl+Space

Unless you've done something strange, Spotlight Search defaults to Cmd+Space across the entire system and is why Content Assist in Eclipse defaults to Ctrl+Space, just like on other OSes.除非您做了一些奇怪的事情,否则 Spotlight Search 在整个系统中默认为 Cmd+Space,这就是为什么 Eclipse 中的 Content Assist 默认为 Ctrl+Space,就像在其他操作系统上一样。 You can reconcile the key mappings from the system Settings' Keyboard>Shortcuts panel, by choosing Spotlight there, and Eclipse's Keys preference page, by searching by name for "Content Assist".您可以通过在系统设置的键盘>快捷方式面板中选择 Spotlight 和 Eclipse 的 Keys 首选项页面,通过名称搜索“Content Assist”来协调键映射。

macOS 设置

Eclipse 首选项

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM