+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Eclipse and intellisense

  1. #1
    Join Date
    Oct 2008
    Posts
    81

    Default Eclipse and intellisense


    Is there no autcomplete in Eclipse? I've looked around and haven't found any guides for setting it up. I guess autocomplete doesn't really describe it, I'm more looking for API Intellisense. For instance, I type:

    setContentView(R. [ctrl+space]

    I get nothing when I hit ctrl+space, regardless of how many times I hit it. Alt+\ doesn't do anything, since there's no word to complete.

    Is this just a limitation of eclipse?

    And please, if you're gonna be a purist and say "you should know your api's better" please keep it to yourself. I'm past that. I build software so that other people don't have to write SQL statements etc.

  2. #2
    Join Date
    Oct 2008
    Posts
    1,493

    Default Re: Eclipse and intellisense

    Mine works. Ctrl+Space should definitely pop up the suggestions.

  3. #3
    Join Date
    Oct 2008
    Posts
    81

    Default Re: Eclipse and intellisense

    Damn, now I'm gonna have to figure out why mine isn't working... so you're getting a list of members of the R class when you type "R. [ctrl+space]"?

  4. #4
    Join Date
    Oct 2008
    Posts
    1,493

    Default Re: Eclipse and intellisense

    Quote Originally Posted by JCollum View Post
    Damn, now I'm gonna have to figure out why mine isn't working... so you're getting a list of members of the R class when you type "R. [ctrl+space]"?
    I don't even need to hit the Ctrl+Space. After I hit the period, it'll show a list of all of the members.

  5. #5
    Join Date
    Oct 2008
    Posts
    81

    Default Re: Eclipse and intellisense

    OK I found something; the type proposals show up if I hit Edit -> Content Assist -> Type proposals. For some reason type proposals must not be in my list of proposals out of the box. So something in settings I'd guess. Will report back when I figure it out.

  6. #6
    Join Date
    Oct 2008
    Posts
    81

    Default Re: Eclipse and intellisense

    Window -> Preferences -> Java -> Editor -> Content Assist -> Advanced.

    I had to check Type Proposals and move it to the top. Also put word proposals at the 2nd spot, not sure if that helps.

    What a weird design decision, keeping type-based autocomplete turned off by default.

    Edit: thanks for the sanity check there GasBot.

  7. #7
    Join Date
    Oct 2008
    Posts
    1,493

    Default Re: Eclipse and intellisense

    Which version of Eclipse did you download? Mine was on by default.

  8. #8
    Join Date
    Oct 2008
    Posts
    81

    Default Re: Eclipse and intellisense

    I have Ganymede 3.4.1

  9. #9
    Join Date
    Nov 2008
    Posts
    144

    Default Re: Eclipse and intellisense

    Should be on by default. I didn't even know you could turn it off and I've been using Eclipse since 2.x

    Perhaps a plugin is messing with you settings?

    Also, is it only with the Android-plugin-generated R class? I find that if there is a mistake in the manifest, the plugin fails to generate the R class and it disappears like a ninja...

  10. #10
    Join Date
    Oct 2008
    Posts
    81

    Default Re: Eclipse and intellisense


    I didn't try it with anything else before I tracked down the issue. Not sure what caused it, just glad I found it easily.

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 13
    Last Post: 04-24-2011, 01:11 PM
  2. what version of eclipse do i need?
    By mr.black in forum Developers General Chat
    Replies: 2
    Last Post: 06-19-2010, 07:22 PM
  3. Eclipse
    By dragonrider8844 in forum Developers General Chat
    Replies: 4
    Last Post: 12-04-2008, 01:57 PM
  4. is there anyone kind enough to help me set up the sdk and eclipse
    By dippedinsauce in forum Developers General Chat
    Replies: 11
    Last Post: 11-11-2008, 08:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts