|
|
|
Maybe my rule table I linked to from IDEA-16149 was not intuitive.
You are suggesting the same thing as I did. However, even though I realized that this is against IDEA philosophy (philosophy that I agree to BTW), recently I got tired of "waiting" for IDEA to catch up with me. Programming by intention only works well if the feedback is immediate. With 7.0 as it stands it is no longer the case (by far!). Eventually more framework specific analysis in the context of large applications will make that instant feedback really hard if not impossible. So I am afraid that that philosophy may not be the ideal anymore. But I guess this would be another philosophical discussion More to the topic, I believe the "magical" aspect on this is limited. It is right there. This should be obviously optional in a spring plugin configuration. In the end, I won't die if I have to type it in. I agree that this is less important than the inspection since I want to detects errors before I can type faster. However it is making IDEA a little more like Eclipse... I agree about the slow speed of highlighting. It forces me to wait until the QuickFix becomes available.
Perhaps some inspections could start with current bean, then other beans visible in editor, then the rest? This is probably non-trivial since there might be various bean inter-dependencies for some inspections. I do understand (and agree with) the table from IDEADEV-22977, it's just that I expect code completion (for "scope" attribute) to only complete a scope name, and not automatically modify child elements as well. |
||||||||||||||||||||||||||||||||||||
I think that such automatic element insertion is a bit non-intuitive. In my personal opinion "elementary" actions like typing and code completion should behave predictably, and not do "extra smart" things like automatically inserting content.
However, perhaps there is a solution that satisfies both of us? If the warning about <aop:scoped-proxy/> was displayed on the value of the scope attribute, you could directly invoke the QuickFix after typing/completing the custom scope name. It would only be one Alt-Enter.