Permalink
Browse files

Improved documentation popup and other various fixes

Documentation works in more cases now. Changed frameworks to
extra_framework_paths and added extra_compilerargs to settings.
Linking to external frameworks should work now. Updated README
accordingly.
  • Loading branch information...
johncsnyder committed Mar 19, 2016
1 parent 06cedfe commit 1487b6237c9089a0eab967f7c5b47bdf87b6dd08
Showing with 229 additions and 196 deletions.
  1. +22 −0 LICENSE
  2. +0 −22 LICENSE.md
  3. +24 −9 README.md
  4. +166 −158 SwiftKitten.py
  5. +17 −7 SwiftKitten.sublime-settings
View
22 LICENSE
@@ -0,0 +1,22 @@
The MIT License (MIT)
Copyright (c) 2016 John Snyder.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
View

This file was deleted.

Oops, something went wrong.
View
@@ -80,15 +80,15 @@ are only needed once and requesting them via SourceKitten can take a while
frameworks from autocompletion results (See `exclude_framework_globals` in
package settings).
*Now*: the framework cached is persistant between sessions. It is saved to
The framework cache is persistant between sessions. It is saved to
Sublime's cache folder on saving a view, and is loaded next time SwiftKitten
is loaded.
#### external frameworks
Please provide a list of pathes to external frameworks in settings under
`frameworks`. These are passed to SourceKitten via compilerargs.
Please provide a list of paths to external frameworks in settings under
`extra_framework_paths`. These are passed to SourceKitten via compilerargs.
@@ -118,19 +118,29 @@ Copy this file to `[Packages]/User` to customize the settings.
{
/*
Path to SourceKitten binary.
See `https://github.com/jpsim/SourceKitten`.
*/
"sourcekitten_binary" : "/usr/local/bin/sourcekitten",
/*
SDK and frameworks to link with.
SourceKitten will find the default sdk (OS X) if
left blank.
sdk to link with. SourceKitten will find the
default sdk (OS X) if left blank.
*/
"sdk" : "",
"frameworks" : [],
/*
Extra framework search paths.
To enable autocompletion for external frameworks,
add the path to the directory containing the
framework here.
*/
"extra_framework_paths" : [],
/*
Extra compiler arguments to SourceKitten.
*/
"extra_compilerargs" : "",
/*
Exclude globals from specific frameworks in auto-
@@ -179,6 +189,11 @@ Copy this file to `[Packages]/User` to customize the settings.
Additionally, settings can be overridden in a sublime project file.
It is recommended to add the following to user or Swift syntax specific preferences:
```js
"auto_complete_triggers": [ {"selector": "source.swift", "characters": "."} ]
```
Oops, something went wrong.

0 comments on commit 1487b62

Please sign in to comment.