SimpleChart is a standard Swift Package Manager package, so Xcode and sourcekit-lsp can work directly from the package manifest without extra project generation.
- Open the package directory directly in Xcode, or add the package to an app target and jump into the package sources from there.
- Use Option-click or Quick Help on
SimpleChartsymbols to read the package documentation comments. - Use
Product > Build Documentationto render the DocC catalog locally once the package is open in Xcode.
sourcekit-lsp should work out of the box because the repo is SwiftPM-native.
Recommended setup:
- Run
swift buildonce from the repository root so the package graph and build artifacts are warmed up. - Open the repo root in your editor.
- Let the editor start
sourcekit-lspagainst the package manifest.
You generally do not need a custom .sourcekit-lsp configuration file for this package.
- If symbol navigation looks stale, rerun
swift build. - If Quick Help or completion is incomplete, make sure the editor opened the repo root that contains
Package.swift. - If you are switching Xcode toolchains, restart the editor so
sourcekit-lsppicks up the active Swift toolchain cleanly.