Settings reference
Shortcuts, common commands and every build, debug, editor and code completion setting.
Search for kxapp in VS Code's settings (Cmd+,) to see them all. These are the ones you're most likely to need; the defaults suit most projects.
Shortcuts and common commands
| Command | Where |
| Build & Run | Cmd+R |
| Build | Cmd+B |
| Stop | Cmd+. |
| Select Project / Scheme / Build Configuration / Run Destination | Status bar or the Xcode Project view |
| Run Without Debugging, Run Without Building, Attach to Running App… | Command Palette |
| Clean Build Folder, Show Build Log, Refresh Devices | Xcode Project view title bar |
| kxapp: Restart Code Completion, kxapp: Re-Index Project | Command Palette |
| Install the xcodeproj Ruby gem | Command Palette |
Build and debug
| Setting | Default | Description |
| kxapp.defaultConfiguration | Debug | Configuration used when none is selected |
| kxapp.build.allowProvisioningUpdates | on | Let Xcode create or update provisioning profiles for device builds |
| kxapp.build.extraArgs | [] | Extra arguments for every xcodebuild command |
| kxapp.build.revealOutput | off | Show the build log when a build starts |
| kxapp.build.prepareForCodeCompletion | on | Quietly build once in the background so dependencies get completion before your first build |
| kxapp.debug.killAppOnStop | on | End the app when the debug session stops |
| kxapp.rubyPath | empty | Ruby used to edit project.pbxproj; empty means ruby on PATH |
Editors
| Setting | Default | Description |
| kxapp.plist.defaultSaveFormat | preserve | Plist save format; preserve keeps the file's format |
| kxapp.plist.sortKeysOnSave | off | Sort dictionary keys alphabetically on save |
| kxapp.plist.showRootRow | on | Show a Root row above the top-level keys |
| kxapp.plist.spacing | compact | Row spacing |
| kxapp.xcassets.deleteUnreferencedFiles | ask | What to do with image files no longer referenced after an edit |
| kxapp.xcodeproj.defaultMode | basic | Which build settings show by default: basic / customized / all |
| kxapp.xcodeproj.livePreview | on | Recompute resolved values while you edit |
| kxapp.l10n.markSourceEditsForReview | on | Mark translations as needing review when source text changes |
| kxapp.l10n.extraMacros | [] | Extra localization macros to scan when syncing strings |
Code completion
| Setting | Description |
| kxapp.swiftPath | Folder of a different Swift toolchain; empty means the Xcode selected with xcode-select |
| kxapp.swiftSourcekitLspSupportedLanguages | Languages handled by SourceKit-LSP |
| kxapp.swiftSourcekitLspBackgroundIndexing | Background indexing: auto / on / off |
| kxapp.swiftSourcekitLspServerArguments | Extra arguments for SourceKit-LSP |
| kxapp.swiftSourcekitLspDisable | Turn code completion off |
| kxapp.swiftSourcekitLspTraceServer | Log traffic with SourceKit-LSP when tracking down a problem |
Next steps