安裝swift插件小程序
shift + cmd + p
install package
swift
在新的編譯模式中添加{ "cmd": ["/usr/bin/xcrun", "swift", "$file"]}swift
{ "cmd": ["/usr/bin/xcrun", "swift", "$file"]}
保存事後, 從新打開一個swift文件,cmd + b 編譯一下,成功學習