Most useful (productive) shortcuts in Qt Creator

grzkv picture grzkv · Sep 15, 2014 · Viewed 9.8k times · Source

What is the your most useful and productive keyboard shortcut in Qt Creator?

Following the trend of great questions asked about Eclipse CDT, vim, Intellij IDEA.

Answer

Kosovan picture Kosovan · Sep 15, 2014

Comment/uncomment lines (select text and press). With this shortcut you can simply comment very large piece of code and uncomment it in future:

Ctrl + /

Autocomplete:

Ctrl + Space

History of clipboard. You get popup menu with all text which you pasted in Qt Creator and if you choose something and press Enter you paste this formatted text into your code

Ctrl + Shift + V