5 favorite AppCode shortcuts by Krzysztof Zabłocki
Today we are going to share with you another 5 favourite AppCode shortcuts from a well-known iOS community member. This series of blog posts, in which we ask well-known personalities in the iOS development world who uses AppCode a simple question “What are your 5 favorite AppCode shortcuts?”, started with Orta Therox and Paweł Dudek. And today we are happy to present you answers from Krzysztof Zabłocki!
Let us now introduce you to 5 favorite shortcuts from Krzysztof. We’ll also point out these shortcuts as they come in the Default keymap.
I. Syntax Aware Selection (
I use this quite a lot when refactoring, it makes it much easier to extract method or variable and enables me to work effectively without using a mouse.
By the way, the same shortcut was mentioned by Paweł Dudek as well.
II. Show usages (
Can’t live without it, gone are days of using cmd+shift+f to find references in Xcode, show usages is context aware and so much better.
III. Quick Fix (
I write my code TDD way so this is must-have.
Paweł Dudek was also mentioning this shortcut in TDD context.
IV. Rename (
⇧F6) and Override/Implement (
Both rename and override are very common usage case for me, I constantly refactor my code and having confidence to do so is really helpful.
V. Introduce Variable (
⌥⌘V) / Extract Method (
Must have for being able to perform constant refactorings of my code.
P.S. And a bit more…
For navigating and learning my way around new code:
⌥⌘B-> Go to definition(s), which for me is showing all subclass implementations:
⌥⌘N-> Inline, which makes it easier to understand bigger piece of code.
⇧⌘T-> Jump to test, which is very helpful.
That’s it! Thank you Krzysztof for sharing this with us.
Develop with pleasure,
The AppCode Team
Subscribe to Blog updates
Thanks, we've got you!
Writing Code Documentation in AppCode
Code documentation can save you a lot of time and headaches. On the other hand, it also takes a lot of effort to write and maintain it. In this article, we will look at the AppCode features that can help you create detailed and well-structured code documentation and keep it updated after code refact…
Polish Your Code with AppCode’s Inspections and Intentions
AppCode is constantly analyzing your code to find parts that can be improved. It provides sets of code inspections and intention actions for each supported language for this exact purpose. Inspections locate unused or redundant code, syntax errors, probable bugs, spelling mistakes, obsolete or redun…
Navigation in AppCode
Navigating through files and source code, especially in complex projects, can eat up a lot of time, which is why it is essential to learn how to move around quickly in your IDE. AppCode provides plenty of navigation features that can help you move faster. In this blog post, we’ll take a look at some…
Server-side Swift in AppCode
In this short article we’ll take a look at various AppCode features that are useful for server-side Swift development, as now you can open standalone SPM projects in AppCode on macOS. Check out and open the project On the Welcome screen, click the Get from VCS button and enter the address of the Fe…