Skip to content

Latest commit

 

History

History
95 lines (68 loc) · 3.7 KB

README.md

File metadata and controls

95 lines (68 loc) · 3.7 KB

Swift Next

Swift syntax package in async/await era

Features

  • Swift 5.6 support
    • Older Swift versions (deprecated or retired syntax) are not supported, and not in plan.
  • Supports Documentation Comment Syntax
  • Supports MARK: TODO: FIXME:
  • Xcode-style Symbol List
  • Ships with all the Swift snippets from Xcode tuned for Sublime Text
  • Compatible with the new regex engine of Sublime Text

Status

  • Finish visual test against all the swift files in apple/swift repository
    • swift-5.6-RELEASE/benchmark
    • swift-5.6-RELEASE/libswift
  • Resolve TODOs left in files
  • Squash corner cases that scope goes wrong
  • Remove commented matches left for debugging purpose
  • Add tests
  • Add build system (if cross-platform is possible?)
  • Support swift-5.7-RELEASE
  • Better documentation markup support

Install

  1. Download this repository
  2. Move extracted directory into: Sublime Text → Preferences → Browse Packages... → "User" directory

Development

Editing Environment

Tips

Minimize multiple words into a regex pattern

$ grex --no-anchors --capture-groups ...

References

If you are to create a syntax definition file for the first time without deep regex background like me, here's everything you need.

Sublime Text

Regular Expression

Swift

Other Fundamental Packages for Swift

License

  • MIT