List of Xcode Shortcut keys

來源:互聯網
上載者:User

In my point of view using shortcut keys are much faster then using mouse. So I always prefer to explore more shortcut keys for one software I used most of the time.

 

I am working with Xcode since June 2008 and find lot of hidden keys by myself or from other peoples. So I want to list them down here and update this post when I come to know more (Keep checking for updates !)

Here is the complete list of all advance level shortcut’s!

For Shifting

  1. Alt-⌘-Up to alter between .m and .h file
  2. ⌘-Shift-D, When you want to open a file or a symbol definition that’s in your project or in a framework.
  3. ⌘-Shift-E expand the editor view to full height of the window.
  4. Alt-⌘-Left / Alt-⌘-Right, Navigate among open files back and forth.
  5. Press Tab to accept the current completion.
  6. Escape presents a pop-up list from which you can select from all the available completions (i.e after dot press Escape to list down a complete list).
  7.  

  8. Control-comma to show the list of available completions, Control-period to insert the most likely completion, and Control-Slash & Shift-Control-Slash to move between place holder tokens.
  9. ⌘-double click on a symbol to see the definition of a symbol.
  10. Option-double click on a symbol to see the documentation for that symbol– OR– Right click on any word and select ‘Find Selected Text in API Reference’ to search the API for that word.
  11. Cmd-/ to automatically insert “//” for comments.
  12. Ctrl+Left/Right Arrow to do intra-word text navigation.
  13. Control-1 list down all the project files.
  14. Control-2 to access the popup list of functions/methods/symbols in this file.
  15. Control-3 list down all the include files
  16. Right click on a variable in your function and click edit all in scope (Best one).
  17. ⌘-[ and ⌘-] to indent and unindent selected text. Makes cleaning up source code much easier.
  18. Double-click on the square brackets or parentheses to obtain bracket and parentheses matching.
  19. Control-Shift-R to show the Console
  20. Control-Alt-⌘-R to clear the log
  21. Control-⌘ Left/Right to fold and unfold the function.
  22. Shift-⌘-C, the class browser in Xcode.
  23. ⌘-=, Jump to the next error in the list of build errors. Display the multiple Find panel with ⌘-Shift-F.
  24. ⌘-O, Jump to the Project tab, to the build tab with ⌘-Shift-B and to the debug tab with ⌘-Shift-Y.

Also If you want to know each and every shortcut in Xcode please check this link.Complete Xcode Keyboard Shortcut List
Some useful links for Xcode tips/shortcuts:
http://www.meandmark.com/xcodetips.html

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.