Completion for Swift projects via SourceKit with the help of SourceKitten
*.xcodeprojup the directory tree.
curlon your machine
First install SourceKittenDaemon. Make sure that it's in the
exec-pathof your Emacs.
And then you can install
company-sourcekitin the following ways:
M-x package-install company-sourcekit
Make sure this repository is in your
load-path, and then:
(require 'company-sourcekit) (add-to-list 'company-backends 'company-sourcekit)
company-sourcekit-use-yasnippet- Use yasnippet for completion expansion. By default this is enabled if yasnippet is detected.
company-sourcekit-verbose- Log company-related messages to
sourcekit-available-ports- A list of ports that
sourcekittendaemonis allowed to listen on.
sourcekit-sourcekittendaemon-executable- Location of the
sourcekit-curl-executable- Location of the
sourcekit-verbose- Log sourcekittendaemon-related messages to
.xcodeprojfile and determine the best configuration options to pass to sourcekit.
Is most welcome. Please use a feature branch and format your code with