Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 188.8.131.52 release ready!
Owner and Founder. Opencart
As we know, we all are very fond of shortcuts in our life, to reduce our energy and time. Today we will learn how to duplicate and delete lines in Xcode using shortcut keys.
Let’s check below the procedure to duplicate and delete lines in Xcode
Step1: Open below directory in Finder with Cmd + Shift + G
Step2: Open IDETextKeyBindingSet.plist with a text editor.
Step3: Add the below code in IDETextKeyBindingSet.plist file:
Step4: Open Xcode and go to Xcode preferences -> Key Bindings -> Text tab -> Scroll till you see Duplication
Step5: Click on Duplicate Current Line, add a shortcut for it, eg. Cmd + D (use unique key binding which is not used for any other shortcut).
Duplicate Current Line
Cmd + D
In my case, I have used Option + D for Delete any line, Option+Shift+D for the duplicate current line, and Control+Option+D for duplicates of more than 1 line.
Each table in this section lists the commands in an Xcode application menu and the keyboard shortcuts associated with each command. Menu Command Shortcuts (By Menu), This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, by Yong Bakos. Xcode Keyboard Shortcuts. Here’s a list of the most common shortcuts used in Xcode:
Build: ⌘ + B
Run: ⌘ + R
Test: ⌘ + U
Stop: ⌘ + .
Clean: ⌘ + ⇧ + K
Clean the build folder: ⌘ + ⇧ + ⌥ + K
Open quickly: ⇧ + ⌘ + O
Code completion: ⌃ + Space
Hope this blog helped you to understand how to create custom shortcuts in Xcode.
For more details regarding delete and duplicate lines, check here.
You can check our blog also on the Xcode Simulator feature.
Thanks for reading 🙂
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
When I think in getting solutions for my Ecommerce Platform, I think of Webkul. They have been such a blessing in our business. We have spent thousands of dollars in support and modules from them. We love their support team. They work very closely with us, and they always go the extra mile when we need help.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.