Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Build Project keyboard shortcut in Eclipse CDT

📅 2013-Sep-29 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ eclipse, eclipse cdt, keyboard shortcuts, nsight eclipse edition ⬩ 📚 Archive

Eclipse CDT and NSight Eclipse Edition both do not have a default keyboard shortcut for Build Project. They do have Ctrl + B for Build All, which builds all the projects in the Workspace. This is a surprising omission considering how frequently Build Project needs to be used by a C++ or CUDA developer.

You can assign a new keyboard shortcut for Build Project, by going to Window > Preferences > General > Keys. On my computers, I just remove the Ctrl + B shortcut for Build All and assign it to Build Project.

Tried with: Eclipse 3.7.2, Eclipse CDT 8.0.2 and Ubuntu 12.04 LTS

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧