Change the company name in the source code comment: Run terminal. Enter the followingCodePress enter and restart xcode. Replace elf. sundae (AT) gmail.com (only one row)
Defaults write com. Apple. xcode pbxcustomtemplatemedia definitions '{"organizationname" = "elf. sundae (AT) gmail.com ";}'
1. Configuration highlighting scheme: fonts & colors
2. keyboard shortcut: key bindings
3. Code indent: Re-indent selection. (Add the shortcut key Alt + F8)
4. automatic Code Completion: Table (Code on screen), ESC (turn on the automatic Completion list)
5. command + [(shift code left), flower +] (shift code right)
6. double-click a separator (for example, {} () []) that matches a bracket. xcode selects it and all the code between the brackets that match it.
7. Quickly rename the local variable name (right-click-edit all in scope) command + Control + T
8. refactor (right-click reflector ...)
9. common cursor control buttons: (also applicable to text fields such as textedit and Safari URL address bar)
upper, lower, left, and right arrows
Control-: move to the beginning of a row (same as command + left arrow)
Control-E: Move to the end of a row (end, same command + right arrow)
Control-K: delete (kill) the code behind the cursor in the row where the cursor is located, so that you can easily rewrite the code at the end of the line.
10. Switch to the header file or source code file: Command + Option + up arrow. You can quickly switch between the header file and the source code file. The menu is view-switch head/source file. Or click the last control of the Code navigation bar.
11. bookmarks: Add bookmarks (command-D, the same as the shortcut key for adding bookmarks in the browser). You can view the added bookmarks under the groups & files project.
12. command + Shift + E: Display/hide the browser pane on the Code screen
13. code folding: Click the gray vertical line on the left. (View-code folding)
14. code function Note:
// MARK: *** (TAG, with the same function # pragma mark ***),
// todo: * **
// fixme: ***
//!!!: ***
//???: ***
15. Control-2: view the member list of the current file quickly
16. Help: Quick help (option + double-click), document search (option + command + double-click)
+ Update:
17. Modify the left curly braces (the next line of the IF statement) automatically completed by xcode ):
Run terminal, enter
Defaults write com. Apple. xcode xccodesenseformattingoptions-dict blockseparator "\ n"
And then restart xcode.