Let’s focus on creating our own shortcuts. Let’s take a look at these shortcuts for opening/closing parts in Xcode 12.ĭuring debugging, when we stopped the running code with a breakpoint, we can use ⌘⌃Y to Step Over as well as ⌘Y to enable/disable all breakpoints.It’ll generate headers in Swift for Objective-C files. When search bar is open, press⌘G to enable Swift generated headers. If you’re working with Objective-C and Swift in the same project, you can search in Swift Generated Headers in this search. Everyone knows ⌘⇧O to open file search bar in Xcode.Recently, I learned there are two shortcuts which most developers don’t use (at least I didn’t see anyone using lately). Sometimes I found myself copying and pasting a block of code couple of lines up and down.This allows you to move your focus directly to the next editor. But there is one more shortcut which I find more useful is ⌃`. It shows you a window that you can choose the focused editor by arrows. ![]() So, moving the focus between Assistant and Main Editors as well as tabs has a shortcut ⌘J. Who doesn’t love to work with Assistant Editor in Xcode? Some of us feel disturbed when they reached to mouse while coding.The day I learned the ⌘⇧J shortcut to jump to the current file in navigation, I had a smile on my face. When the project grows, searching time for the file that we’re currently coding in Project Navigator increases.This post is mostly about Xcode and I’ll mention some other tools that I’ve been using for some time and happy with them. Hence, we need to improve our productivity by customizing Xcode and using some external tools. iOS, macOS, watchOS, tvOS developers are stuck in Xcode. ![]() Every tech stack has different needs, therefore, a different set of tools. ![]() We use some tools and also some do customizations on them to increase our productivity.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |