Hey all, I just made a proof of concept of using one's voice to program in eclipse (video https://www.youtube.com/watch?v=Ywmc-D0SqUw) However, I'm fast discovering that developing plugins for Eclipse is a nightmare (to just save the document took three days to figure out), and I'm looking into switching my voice-programming project completely to IntelliJ.
I've followed the tutorial on making a plugin at https://www.youtube.com/watch?v=-ZmQD6Fr6KE and IntelliJ plugin development feels very promising (For example, in IntelliJ I can just use PsiElement, whereas to do the same thing in eclipse I'd have to couple my entire plugin to the JDT, which is an entire other monster).
There's one critical feature that I need to implement, which is much too difficult to do in eclipse, and I hope will be easier in IntelliJ. The feature would help the user express a location in the document. In my current program I say "lab 9 crafter 4 rack" which means "line 9 after fourth right parentheses" but I want to improve the process a bit:
1. User says "lab 9"
2. A little overlay pops up over line 9 (obscuring line 10, but that's fine). The overlay would like this mock: http://i.imgur.com/WOktA1F.gif
It describes regions in the line that the user can refer to.
3. User can say "h" to move the cursor to just before the left parentheses.
I've got other ambitions for the project, such as hooking up voice commands for all the menus and so on, but this is the feature I'm most worried about.
Anyway, if anyone could tell me whether it's possible to make an IntelliJ plugin like this, and give me a rough direction I can start looking into how to make this work, I would greatly appreciate it!