Bring IntelliJ IDEA's Intention Actions to Xcode

Originator:ddribin
Number:rdar://7215136 Date Originated:10-Sep-2009 11:12 PM
Status:Duplicate/3481240 Resolved:16-Sep-2009 04:51
Product:Developer Tools Product Version:
Classification:Enhancement Reproducible:
 
IntelliJ IDEA has a really neat features called "Intention Actions":

  <http://www.jetbrains.com/idea/features/code_assistance.html#Various_Intention_Actions>

The idea is that the editor detects some condition, such as an undefined method or missing import statement, and it provides assistance.  There's a huge list of supported intention actions:

  <http://www.jetbrains.com/idea/documentation/intentions.jsp>

Some useful ones for Objective-C would be:

* Detect methods implementations that have no declaration.  Offer to create the declaration either publicly in the .h file or privately in a class extension inside the .m file.

* Detect classes that need to be imported and offer to add the #import line.

There's no doubt a lot more possibilities, as can be seen from the IntelliJ documentation.  This was one of the most useful features of Idea, and I'd love to see it in Xcode.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!