https://github.com/atom-community/ide-sourcekit
Swift language support for Atom-IDE. C, Objective-C, and C++ will be supported when Apple adds them.
https://github.com/atom-community/ide-sourcekit
apple atom-ide ide-sourcekit sourcekit-lsp swift
Last synced: about 1 year ago
JSON representation
Swift language support for Atom-IDE. C, Objective-C, and C++ will be supported when Apple adds them.
- Host: GitHub
- URL: https://github.com/atom-community/ide-sourcekit
- Owner: atom-community
- License: other
- Created: 2019-03-13T21:00:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-09T14:35:34.000Z (over 2 years ago)
- Last Synced: 2025-03-25T15:32:17.443Z (about 1 year ago)
- Topics: apple, atom-ide, ide-sourcekit, sourcekit-lsp, swift
- Language: JavaScript
- Homepage: https://atom.io/packages/ide-sourcekit
- Size: 316 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# IDE-SourceKit package

C, C++, Objective-C, and Swift language support for Atom-IDE, powered by the [SourceKit Language Server](https://github.com/apple/sourcekit-lsp) by Apple (only on Macos or Linux).
## Getting Started
### Installation
Install these the needed packages from: [ide-sourcekit](https://atom.io/packages/ide-sourcekit) and [atom-ide-base](https://atom.io/packages/atom-ide-base).
or using command line:
```
apm install ide-sourcekit
apm install atom-ide-base
```
### Adding `sourcekit-lsp` Path
You need to have [sourcekit-lsp](https://github.com/apple/sourcekit-lsp) on the PATH or add its full path inside the settings of `ide-sourcekit`.
The current installation methods are:
1. If you have installed Xcode 11.4+ or the corresponding Command Line Tools package, the SourceKit-LSP server is included and can be run with xcrun sourcekit-lsp.
2. Download and install the Swift toolchain which includes `sourcekit-lsp`
https://swift.org/download/#releases
Once installed add the location of `sourcekit-lsp` binary to PATH or the settings of `ide-sourcekit`
Note: `sourcekit-lsp` is not available on Windows. See [here](https://forums.swift.org/t/sourcekit-lsp-on-windows/40087/4).
### Reload
Once configured, reload Atom and open your project. Enjoy!
## Features
- Autocomplete
- Document outline
- Find references
- Go to definition
- Hover
- Signature help