Qt Creator Reference Card

Qt Creator Reference Card

Qt Creator reference card Sidebar Opened files Symbol overview Split button Sidebar File Modes Alt+0 ⌘+0 toggle left sidebar Ctrl+N ⌘+N new file or project Alt+Shift+0 ⌘+⇧+0 toggle right sidebar Ctrl+O ⌘+O open file or project Alt+M ^+⌥+M bookmarks pane Ctrl+S ⌘+S save current document Alt+O ^+O open documents pane Ctrl+Shift+S ⌘+⇧+S save all documents Alt+X ^+X projects pane Ctrl+W ⌘+W close current file Alt+Y ^+Y file system pane Ctrl+Shift+W ⌘+⇧+W close all files Editor layout Find & replace Ctrl+E, 0 ^+E, 0 remove current split Ctrl+F ⌘+F find / replace in document Ctrl+E, 1 ^+E, 1 remove all splits Ctrl+Shift+F ⌘+⇧+F open advanced find dialog Ctrl+E, 2 ^+E, 2 split Ctrl+L ⌘+L go to line Target selector Ctrl+E, 3 ^+E, 3 split side by side F3 ⌘+G find next Ctrl+E, 4 ^+E, 4 open in a new window Shift+F3 ⌘+⇧+G find previous Run Ctrl+E, O ^+E, O Ctrl+= ⌘+= Debug go to next split or window replace and find next Build project Ctrl+E, I ^+E, I go to previous split or window Left sidebar button Locator Panes Right sidebar button Code editor Ctrl+I ⌘+I auto-indent selection Mode Locator Text editor Ctrl+/ ⌘+/ (un)comment selection Ctrl+1 ^+1 activate welcome mode Ctrl+K ⌘+K activate locator Ctrl+Z ⌘+Z undo Ctrl+Shift+R ⌘+⇧+R rename symbol Ctrl+2 ^+2 activate edit mode <text> <text> files in any project Ctrl+Shift+Z ⌘+⇧+Z redo Ctrl+< ⌘+< fold block Ctrl+3 ^+3 activate design mode l <number> l <number> line in current document Ctrl+C ⌘+C copy Ctrl+> ⌘+> expand block Ctrl+4 ^+4 activate debug mode m <text> m <text> C++ or QML functions Ctrl+V ⌘+V paste Ctrl+[ ⌘+[ go to block start Ctrl+5 ^+5 activate project mode c <text> c <text> C++ classes Ctrl+Shift+V ⌘+⇧+V paste from clipboard history Ctrl+] ⌘+] got to block end Ctrl+6 ^+6 activate help mode : <text> : <text> C++ classes, enums and Ctrl+X ⌘+X cut Ctrl+{ ⌘+{ go to block start with Esc Esc go back to code editor functions Ctrl+A ⌘+A select all selection Esc, Esc Esc, Esc close all secondary windows . <text> . <text> C++ symbols in current Ctrl+Ins ⌘+Ins copy line Ctrl+} ⌘+} go to block end with in editor mode document Ctrl+Shift+ ⌘+⇧+ move line up selection ? <text> ? <text> help index Ctrl+Shift+ ⌘+⇧+ move line down Ctrl+U ⌘+U select block up f <text> f <text> files in filesystem Ctrl+Alt+ ⌘+⌥+ copy line up Ctrl+Space ^+Space trigger completion Panes o <text> o <text> open documents Ctrl+Alt+ ⌘+⌥+ copy line down Alt+Return ⌥+Return trigger quick fix Alt+1 ⌘+1 toggle issues p <text> p <text> files in current project Ctrl++ ⌘++ increase font size Alt+2 ⌘+2 toggle search results ! <text> ! <text> execute custom commands Ctrl+- ⌘+- decrease font size Alt+3 ⌘+3 toggle application output = <text> = <text> evaluate javascript Code navigation Ctrl+0 ^+0 Alt+4 ⌘+4 toggle compile output reset font size git <text> git <text> execute git command F2 F2 follow symbol under cursor Alt+5 ⌘+5 toggle debugger console cm <text> cm <text> build cmake macro Ctrl+Shift+U ⌘+⇧+U find usages Alt+6 ⌘+6 toggle general messages Document navigation Shift+F2 ⇧+F2 switch between function Alt+7 ⌘+7 toggle version control Ctrl+Tab ⌥+⇥ previous document in declaration/definition Alt+8 ⌘+8 toggle test results history F4 F4 switch between Shift+Alt+9 ⌘+⇧+9 maximize output pane Ctrl+Shift+Tab ⌥+⇧+⇥ next document in history header/source F6 F6 next item Shift+F4 Alt+ ⌘+⌥+ go back ⇧+F4 switch between source/form Shift+F6 ⇧+6 previous item Alt+ ⌘+⌥+ go forward Qt Creator reference card Build & debug Git Kit setup Ctrl+T ⌘+T open target selector Alt+G, Alt+C ^+G, ^+C commit Step 1 add a compiler Tools > Options > Build & Run > Compilers Ctrl+B ⌘+B build current project Alt+G, Alt+D ^+G, ^+D diff current file Ctrl+Alt+B ⌘+⌥+B build current file Alt+G, Alt+L ^+G, ^+D diff current file Ctrl+Shift+B ⌘+⇧+B build all projects Alt+G, Alt+A ^+G, ^+A stage current file Ctrl+R ⌘+R run Alt+G, Alt+B ^+G, ^+B blame current file F5 ⌘+Y start debugging / continue Alt+G, ^+G, diff current project Alt+Shift+D ^+Shift+D Shift+F5 ⌘+⇧+Y stop debugger Alt+G, Alt+K ^+G, ^+K log current project F9 F8 toggle breakpoint Alt+G, Alt+U ^+G, ^+U undo uncommitted changes Step 2 (optional ) add a debugger Tools > Options > Build & Run > Debuggers F10 ⌘+⇧+0 step over F11 ⌘+⇧+I step into Shift+F11 ⌘+⇧+T step out Help Ctrl+F6 ⌘+F6 run to selected function F1 F1 context help Ctrl+F10 ⇧+F8 run to line Ctrl+Shift+/ ^+/ activate search (help mode) Ctrl+Shift+I ^+I activate index (help mode) Step 3 add a Qt version Tools > Options > Build & Run > Qt Versions C++ editor Ctrl+Shift+T ^+⇧+T open type hierarchy Macros Ctrl+Shift+I ^+⇧+I open include hierarchy Alt+( ⌘+( start recording macro Ctrl+E, Shift+F2 ^+E, ⇧+F2 open function declaration / Alt+) ⌘+) stop recording macro sdfsdf definition in next split Alt+R ^+R play last macro Step 4 (optional) add a device Tools > Options > Devices > Devices QML / JS editor Image viewer Ctrl+Shift+Space ^+⌥+Space show Qt Quick toolbar Ctrl+[ ⌘+[ switch background Ctrl+] ⌘+] switch outline Form Editor Ctrl+= ⌘+= fit to screen sdfsdf Ctrl++ ⌘++ zoom in Ctrl+H ^+⇧+H lay out horizontally Ctrl+- ⌘+- zoom out Step 5 create a new kit Tools > Options > Build & Run > Kits Ctrl+L ^+L lay out vertically Ctrl+0 ^+0 original size use the compiler, debugger, Qt version and device created before Ctrl+G ^+⇧+G lay out in a grid Ctrl+J ^+J adjust size Alt+Shift+R ⌥+⇧+R preview sdfsdf Bookmarks Ctrl+M ^+M toggle bookmark Ctrl+. ^+. next bookmark Ctrl+, ^+, previous bookmark sdfsdf .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us