在 Eclipse 中清理项目的快捷方式?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10517028/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 21:02:21  来源:igfitidea点击:

Shortcut for cleaning project in Eclipse?

eclipse

提问by Samir Mangroliya

Is there any shortcut for cleaning a project? Or can we create a shortcut for cleaning the project using:

清理项目有什么捷径吗?或者我们可以使用以下方法创建用于清理项目的快捷方式:

Window--> Preferences--> Java --> Editor --> Templates?

窗口--> 首选项--> Java--> 编辑器--> 模板?

If yes ,how?

如果是,如何?

回答by MAC

To clean android project:

清理android项目:

Window -> Preferences -> General -> Keys (Ctrl+Shift+L) 

in type filter text write build clean. There you can bind the key, for ex. Ctrl+Shift+L.

在类型过滤器文本中写入 build clean。在那里你可以绑定密钥,例如。 Ctrl+Shift+L.

回答by George

It's quite easy:

这很容易:

  1. Press ALT + P+ N.
  2. Release ALT
  3. Enter.
  1. ALT + P+ N
  2. 释放 ALT
  3. Enter.

回答by Damian Leszczyński - Vash

Window -> Preferences -> General -> Keys (Ctrl+Shift+L+L)

窗口 -> 首选项 -> 常规 -> 按键 (Ctrl+Shift+L+L)

In type filter text, type clean. The you will have the possible command and you can assign any short cut you want.

类型 filter text 中,输入 clean。您将拥有可能的命令,您可以指定任何您想要的快捷方式。

回答by Yannis Dran

As George said, it is really easy.

正如乔治所说,这真的很容易。

Just keep an eye on underlines coming out when you hit ALT . Then if you follow these underlines, hit Pand then N.

只需注意点击时出现的下划线ALT 。然后,如果您遵循这些下划线,请点击P然后N

Note: No need have to have ALT pressed down or hit Enterat the end.

注意:不必在最后ALT 按下或击中Enter

回答by Slim Duiker

In Preferences/General/Keys look for "Build Clean". You can assign a binding for that command. Works for me on Mac OS X Kepler.

在 Preferences/General/Keys 中寻找“Build Clean”。您可以为该命令分配绑定。在 Mac OS X Kepler 上对我有用。