See edit below.
I want to add code completion and syntax highlighting for a custom JavaScript library in Android Studio so I can develop my hybrid app within one IDE without switching all the time.
The problem is: Android Studio is based on IntelliJ IDEA Community Edition. Therefore it does not support JavaScript out of the box as this is a feature of their Ultimate Edition. So far I haven't found any plugin yet to support the most basic JavaScript neither in Android Studio nor in IntelliJ IDEA CE.
Does anyone have either a working JavaScript plugin for Android Studio (no fancy stuff. only basic code completion needed) or another possibility to add suport for using JavaScript libraries for code completion?
EDIT:
The existent answer to the question linked in the comments does not solve my problem as I found this on IntelliJ's help page for FileWatchers:
JavaScript files generated by File Watchers are excluded from code completion and refactoring.
As JavaScript code completion is crucial to my plugin, I'm still searching for a solution. An additional problem is, that I have to find a way to "export" my changes (hopefully in form of a plug-in) so others can import and use it.
Any ideas on that?
I'm afraid there is (currently) no way you can get JavaScript support in Android Studio. I didn't find any community JavaScript plugins which could be used in the Intellij Idea CE (and, therefore, Android Studio). The only option you have is multi-IDE setup; use WebStorm for JavaScript and Android Studio for Android.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With