SublimeAnarchy
SourceKit can crash more than just Xcode
Details
Installs
- Total 131
- Win 0
- Mac 85
- Linux 46
Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Sublime Text 3 plugin for developing with the Open Source Version of Swift
This plugin is specifically designed to work with the Anarchy Tools build system and package manager.
Features
- Swift 3 Syntax highlighting
build.atpkg
Syntax hilighting- Building with
atbuild
- Highlighting build errors in the source files
- Build log (terminal output) in an output panel in Sublime with output coloring and clickable file names
Some features currently only work on OSX:
- SourceKit autocompletion
- SourceKit documentation fetching (kind of buggy, blame SourceKit)
Roadmap
- SourceKit as you type error display
- Package manager support
- Showing just an interface of a Swift file without implementation
- Jump to definition
- Find callers
Setup
Use the default Sublime method of overriding configuration from the menu. Available configuration options:
sourcekit_path
path tosourcekitd
(default:/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/lib/sourcekitd.framework/sourcekitd
)sourcekit_sdk
path to the sdk SourceKit shall use (default:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
)atbuild_path
path to theatbuild
binary from Anarchy Tools (default:/usr/local/bin/atbuild
)atpm_path
path to theatpm
binary from Anarchy Tools (default:/usr/local/bin/atpm
)
How to use
The syntax highlighter should work out of the box (make sure you don't have another swift syntax hilighter installed), for the build process to work you'll need to open a Sublime project file.
Example content of Project.sublime-project
:
{
"folders": [
{
"path": ".",
"folder_exclude_patterns": [ ".atllbuild", "bin" ],
}
]
}
Put that into your project root and use the menu entry Project->Open Project...
to open the project (or double-click in your filesystem browser or even open with subl <ProjectFile>
from the command line.)
If the project is open just use the Command Palette to execute some Anarchy Tools commands (all prefixed with AnarchyTools:
). To speed up rebuilding the last target you built use the shortcut CMD-SHIFT-A
(OSX) or CTRL-SHIFT-A
(Linux) to re-execute the last chosen task.