2 Replies Last post: Jul 8, 2013 3:12 AM by Yosef Ali  
Yosef Ali Newbie 4 posts since
Jul 7, 2013
Currently Being Moderated

Jul 7, 2013 5:36 PM

IntelliJ IDEA with Android Methods? how I can get them?



IntelliJ IDEA is powerful IDE for android better then eclipse,


but I want to know how I can Get Android Method such As onPause and onCreate in Eclipse, rigth click and source -> Override... and get all Avtivity Methods or List Activity


this is very importent thing..


Thanks in advance

Mark Vedder Apprentice 1,076 posts since
Dec 10, 2003
Currently Being Moderated
Jul 7, 2013 10:57 PM in response to: Yosef Ali
Re: IntelliJ IDEA with Android Methods? how I can get them?
  • Opening code complete (Ctrl+Space) will show you all methods (and variables) that are in scope.
  • If you want to override a method,
    1. type Alt+Insert
      • or via menu: Code > Generate
      • or right-click and select 'Generate...' from the context menu
    2. Select "Override Methods..." 
      • You can select using the down arrows, or
      • the mouse, or
      • you can just start typing (ov for example) to use inline search which will narrow the list down until just the override methods option shows and then hit enter
    3. Select the method(s) you want to override and hit enter
      • Again, you can use inline search to search for the method
      • If the method is already overridden in the class, it will not show in the list
  • You can also open the "Structure tool window" and configure it to show inherited methods. This will simply show the methods. You can configure it so clicking on a method takes you to it in the editor window.

    More Like This

    • Retrieving data ...