Skip to main content
On this page

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

CommandWhere
Build & RunCmd+R
BuildCmd+B
StopCmd+.
Select Project / Scheme / Build Configuration / Run DestinationStatus 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 DevicesXcode Project view title bar
kxapp: Restart Code Completion, kxapp: Re-Index ProjectCommand Palette
Install the xcodeproj Ruby gemCommand Palette

Build and debug

SettingDefaultDescription
kxapp.defaultConfigurationDebugConfiguration used when none is selected
kxapp.build.allowProvisioningUpdatesonLet Xcode create or update provisioning profiles for device builds
kxapp.build.extraArgs[]Extra arguments for every xcodebuild command
kxapp.build.revealOutputoffShow the build log when a build starts
kxapp.build.prepareForCodeCompletiononQuietly build once in the background so dependencies get completion before your first build
kxapp.debug.killAppOnStoponEnd the app when the debug session stops
kxapp.rubyPathemptyRuby used to edit project.pbxproj; empty means ruby on PATH

Editors

SettingDefaultDescription
kxapp.plist.defaultSaveFormatpreservePlist save format; preserve keeps the file's format
kxapp.plist.sortKeysOnSaveoffSort dictionary keys alphabetically on save
kxapp.plist.showRootRowonShow a Root row above the top-level keys
kxapp.plist.spacingcompactRow spacing
kxapp.xcassets.deleteUnreferencedFilesaskWhat to do with image files no longer referenced after an edit
kxapp.xcodeproj.defaultModebasicWhich build settings show by default: basic / customized / all
kxapp.xcodeproj.livePreviewonRecompute resolved values while you edit
kxapp.l10n.markSourceEditsForReviewonMark translations as needing review when source text changes
kxapp.l10n.extraMacros[]Extra localization macros to scan when syncing strings

Code completion

SettingDescription
kxapp.swiftPathFolder of a different Swift toolchain; empty means the Xcode selected with xcode-select
kxapp.swiftSourcekitLspSupportedLanguagesLanguages handled by SourceKit-LSP
kxapp.swiftSourcekitLspBackgroundIndexingBackground indexing: auto / on / off
kxapp.swiftSourcekitLspServerArgumentsExtra arguments for SourceKit-LSP
kxapp.swiftSourcekitLspDisableTurn code completion off
kxapp.swiftSourcekitLspTraceServerLog traffic with SourceKit-LSP when tracking down a problem

Next steps