SublimeAnarchy
SourceKit can crash more than just Xcode
Details
Installs
- Total 133
- Win 0
- Mac 86
- Linux 47
Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | 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 |
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.