Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaywcjlove/xcode-tips
Archive of the collection of Xcode tips I shared on x
https://github.com/jaywcjlove/xcode-tips
tips xcode xcode-tips
Last synced: 19 days ago
JSON representation
Archive of the collection of Xcode tips I shared on x
- Host: GitHub
- URL: https://github.com/jaywcjlove/xcode-tips
- Owner: jaywcjlove
- Created: 2024-09-05T05:15:43.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-08T00:35:10.000Z (3 months ago)
- Last Synced: 2024-10-25T17:18:57.454Z (2 months ago)
- Topics: tips, xcode, xcode-tips
- Homepage: https://wangchujiang.com/xcode-tips/
- Size: 76.2 KB
- Stars: 26
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
[简体中文](./README.zh.md)
### 💡 Switch Edit Window
Use the shortcut ⌘ + J along with the arrow keys ◀▲▼▶ to switch between edit windows.
https://github.com/user-attachments/assets/7b405d04-522e-44cd-9839-04f1cd409004?title=Switch%20Edit%20Window&rehype=video
### 💡 Quick Code Navigation
Hover over the minimap and hold ⌘ to display an index of all method and variable names, allowing quick navigation to them.
https://github.com/user-attachments/assets/d3f57263-a82c-435a-a759-0747fcf1b41d?title=Quick%20Code%20Navigation&rehype=video
### 💡 Code Snippet Generation Function
Select a piece of view code with your mouse, right-click to open the menu, and choose `Refactor` -> `Extract to Method` to generate a function and edit the function name.
https://github.com/user-attachments/assets/9f444b4f-133a-4827-b6c1-267d23b8b8fe?title=Code%20Snippet%20Generation%20Function&rehype=video
### 💡 Format to Multiple Lines
Select a line of code and press Control + m to format it as multiline code.
https://github.com/user-attachments/assets/bcee662f-4213-41f8-befe-daa3b315b31e?title=Format%20to%20Multiple%20Lines&rehype=video
### 💡 Move a line or multiple lines of code up/down
Move selected multiple lines of code or the line where the cursor is located. Move code up: Cmd + Option + [, Move code down: Cmd + Option + ]
https://github.com/user-attachments/assets/c27fd9ac-c1f2-4270-82b2-c43f8dc8def5?title=Move%20a%20line%20or%20multiple%20lines%20of%20code&rehype=video