Can I get Swift code completion and syntax highlighting in IntelliJ?

已回答

Hi,

I'm using Google's Flutter framework to build iOS and Android apps in IntelliJ. I can edit the Flutter Dart code and the Android Java code in IntelliJ just fine. However, I couldn't find any Swift plug-in for IntelliJ, so I got no code completion or syntax highlighting for Swift code in IntelliJ. That's why I edit the iOS code in Apple's Xcode.

Now JetBrains actually has a whole Swift IDE - AppCode. So, can I get the Swift code completion and syntax highlighting from AppCode in IntelliJ? And if so, how?


Regards,
Karsten Silz

0

AppCode is a standalone product and unlike WebStrom, PhpStorm and other lightweight IDEs its functionality is not available in IntelliJ IDEA Ultimate (the same is true for CLion).

0

Thank you! At least I know now.

0

Serge Baranov
There is an official plugin for CLion: https://plugins.jetbrains.com/plugin/8240-swift
I can't imagine it's hard to port to IntelliJ, except the fact that AppCode might not be worth buying, if having IntelliJ already.

0

I also need a Swift plugin for IDEA for developing into Apple products. I love my IDEA for my other projects and wouldn't want to use multiple IDE's ever. And since AppCode is now sunsetted, we really just need a basic plugin for Swift syntax highlighting and autocomplete to work. I can live with building and debugging my app in Xcode but writing code there is a pain. 

0

Unfortunately, exactly because of the AppCode sunsetting, we don't plan to develop a Swift plugin for IntelliJIDEA. You can consider creating a feature request in our YouTrack, but it could be shelved for now.

0

请先登录再写评论。