See edit below.
I want to add code completion and syntax highlighting for a custom JavaScript library in Android Studio so that I can develop my hybrid application in the same IDE without switching time.
Problem: Android Studio is based on the 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 have not yet found a plug-in for supporting the most basic JavaScript in either Android Studio or IntelliJ IDEA CE.
Does anyone have a working JavaScript plugin for Android Studio (no fancy stuff, only a basic code extension is required) or another way to add support for using JavaScript libraries to complete the code?
EDIT:
The existing answer to the question related in the comments does not solve my problem as I found this on the IntelliJ help page for FileWatchers:
JavaScript files generated by file observers are excluded from code completion and refactoring.
As the execution of JavaScript code is critical to my plugin, I'm still looking for a solution. Another problem is that I need to find a way to βexportβ my changes (hopefully as a plugin) so that others can import and use it.
Any ideas on this?
source share