|
|
#Shortcuts
|
|
|
|
|
|
Here is a list of handy/commonly used shortcuts. Feel free to add!
|
|
|
|
|
|
## IDE
|
|
|
|
|
|
At the institute we use the QtCreatore IDE, but that might not work for everyone. Add yours and the shortcuts to save others some time.
|
|
|
|
|
|
### Qt-Creator
|
|
|
|
|
|
| Command | Action |
|
|
|
| ---- | ---- |
|
|
|
| Ctrl + I | Correctly indent selected code |
|
|
|
| Ctrl + Shift + 7 | (Un-)comment selection/current line |
|
|
|
| Ctrl + F | Search and replace in current file |
|
|
|
| Ctrl + Shift + F | Search/replace in all/project/... <br> ***NOTE:*** This is not refactoring. To refactor use right-click and then the refactor menu |
|
|
|
| Ctrl + Shift + U | Search Usage of selected element (be it class, function, variable) |
|
|
|
| F2 | Jump to definition/declaration |
|
|
|
| F4 | Switch to and fro header and soruce file |
|
|
|
| Righ click -> Refactoring... | Can rename variable/method within entire project<br>adds the function to source file from header | |
|
|
\ No newline at end of file |