VS Code Cheatsheet
I’m getting hooked to Visual Studio Code more and more thesedays … it’s light and fast! Here’s my cheatsheet when using VS Code.
Frequently used (but forgotten) shortcuts Copy current line up or down: Option + Shift + up/down Delete current line : ⌘ + Shift + K Move current line up or down: Option + up/down Prettify flat JSON: Option + Shift + f Show or hide sidebar: ⌘ + b Quick select the language: ⌘ + k then m Quick open file: ⌘ + p PDF poster here.
Xcode Setup
Using Xcode the right way is as important as sitting on a comfortable chair to endure long hours of coding. This is my personal note to remind me on what to do when I need to do a fresh Xcode install, and its shortcut.
Get rid of those trailing whitespace Method 1: Xcode preferences This is best described by John Sundell’s tweet on why you should enable this option. Very useful if you need to entertain linting tools such as SwiftLint or Codacy.