简体   繁体   中英

How can I run code in Eclipse IDE using keyboard shortcut keys

I'm very much new to Eclipse IDE and running a code over and over (like when debugging a program) is somehow became a nuisance specially when I'm rushing a code.

Any ideas on how can I run my code without pretty much clicking everywhere?

Thanks!!

Ctrl + F11 on Windows to run without Debugging. Command + fn + F11 on Mac. F11 to run with debugging.

It's helpful to go to "Window->Preferences->Keys" and explore that dialog. You can filter for particular strings and you can sort by bindings. Get familiar with what you see there. That dialog also allows you to change bindings, but I wouldn't do that until you think you know what you're doing.

I should point out that the Emacs+ Eclipse plugin gives you better visibility into bindings. Using that, you can quickly check bindings from different perspectives, without opening the preferences dialog.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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