![]() After some consideration I decided to make an exception and include a custom key combo in this list, just because I think it is so useful. I often need to delete an entire line - Xcode offers an editor command for this, but unfortunately it is not bound to a key combo in the default key bindings. Xcode automatically takes care of indentation o/ Delete Entire Line ( ⌘ + D) Moving single lines or entire blocks around in your code is immensely useful, for example when organising code that belongs together. ![]() It’s hard to imagine working without code completion - I use it all of the time to explore APIs, and to save time when typing. Let’s begin with editing - this is one of the most basic activities, so every little improvement will boost your productivity! Code Completion ( ⌃ + Space) I’ve collected a list of my favourite keybindings and mouse commands - hope you’ll find them useful as well! All keybindings listed here use Xcode’s default keybinding - with one notable exception. Nevertheless, it pays off to know your way around Xcode and be proficient in the core editing and navigation commands to increase your productivity. While you could certainly use just one editor like VS Code for all your source code editing tasks, as iOS / macOS / watchOS / tvOS developers, we’re somewhat bound to use Xcode, as it includes so much more tools than just the source code editor. The reasoning behind their recommendation is simple: once you’ve memorised all keyboard shortcuts, your productivity will soar. In The Pragmatic Programmer, the authors recommend choosing one editor, and using it for all editing tasks. Simply being able to edit code doesn’t cut it - you need to become proficient. ![]() As developers, we spend a considerable amount of time in our IDE, so it’s worth becoming an expert in using it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |