Hi All,
I am using IntelliJ Ultimate 13.1.3 (our organization was nice enough to purchase license for the dev team ).
When I installed the AngularJS Plugin (http://plugins.jetbrains.com/plugin/6971), I started seeing issues with the ENTER key.
Specifically, I have a simple hello.jsp that uses AngularJS (attached)
If I place my cursor almost anywhere on the page and hit the ENTER key (even after I navigate around via arrow keys), when I hit ENTER, the cursor jumps to the first Angular-related warning.
For example, I could place my cursor on line 31, move around left and right with arrow keys, then hit ENTER and suddenly my cursor places a line break between lines 73 and 74.
I have tried the following:
- Invalidate Caches and Restart
- Activate/deactive/reactive AngularJS plugin
- Went into Settings-> JavaScript-> Libraries and ensured Angular is there and is enabled (I created this automatically via IntelliJ by letting it pull down from Google CDN/create the JavaScript library.
If I disable the AngularJS Plugin, the issue with the ENTER key goes away.
I've attached my hello.jsp. It can be dropped into IntelliJ 13.x without any other dependencies.
Questions:
1. Has anyone else encountered this? It seems to be just an issue with JSPs oddly enough, if I copy/paste the code into an HTML file the problem goes away?
2. Does anyone know of a workaround? Will I need to wait for a fix to come out for the AngularJS Plugin?
Thanks,
Philip