| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
9年前发布

wimat,帮你一键格式化 swift 代码的 Xcode 插件

Swimat

wimat,帮你一键格式化 swift 代码的 Xcode 插件

Preview

62df810fjw1f118zh6p8mg211o0lgq8h.gif

Installation

There has two way to install

  • Use Alcatraz to install and manage Plug-ins.
  • Clone this repo, build and restart Xcode.

If you encounter any issues you can uninstall it by removing the ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Swimat.xcplugin folder.

Usage

In the menu open [Edit] -> [Swimat] -> [Format] or press hot-key(command+option+shift+L).

Configuration

There are preferences in [Edit] -> [Swimat] menu you can set:

  • Indent type(tab, 2 space, 4 space)
  • Auto format when save swift file

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Jintin/Swimat.

License

The module is available as open source under the terms of the MIT License.

项目地址: https://github.com/Jintin/Swimat

 本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1455716676245.html
Apple Swift开发