/swift-plugin

Space of the Swift language support plugin for JetBrains IDEs

Cross-platform Swift language support for JetBrains IDEs 2023.2.


discussions · bug tracker · newsletter

This plugin is in an early state and under active development!
It's cross-platform and available for all JetBrains 2023.2 IDEs (currently in EAP).

Important: This plugin will become a freemium or a paid plugin in the future.
For now, this plugin is free to use and does not need a license. Join the Swift plugin newsletter to receive updates about the plugin and its development.

Please join the discussions to shape the future of this plugin.

Available features (all in an early state):

  • Support for the language specification of Swift 5.9 beta
  • Code completion
  • Go to declaration
  • Find usages and reference highlighting
  • Rename refactoring
  • Quick documentation with colored rendering of embedded code blocks
  • Structure view
  • Code folding with custom settings for default code folding
  • Language injection support for string and multiline string literals
  • File templates for common Swift declarations
  • Syntax highlighting
  • Color schema settings
  • ToDo item highlighting
  • Navigation bar support
  • Brace matching for (), {}, []
  • Comment support

Some of the features listed above are based on Apple's sourcekit-lsp and need an installed Swift toolchain. The implementation was tested with the current stable version of Swift.

Known limitations of the already available features:

  • Renaming a function declared in a protocol does not yet rename all implementations of this function.