Bug 340641

Summary: Autocomplete / content assist require internet connection
Product: [Eclipse Project] JDT Reporter: David Sporn <david.sporn>
Component: CoreAssignee: Ayushman Jain <amj87.iitr>
Status: VERIFIED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: amj87.iitr, srikanth_sankaran
Version: 3.7   
Target Milestone: 3.7 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David Sporn CLA 2011-03-22 07:07:15 EDT
Build Identifier: 20100917-0705

At the office there is a proxy requiring authentification.

When pressing Ctrl+space to get content assist, the candidate windows appear and immediately require authentification for the proxy. When I choose to *not* enter user name/password (they are cryptics and as such really cumbersome to input, and besides, I don't wan't my Ide going to internet for *that*), it will ask me for it again next time, so that I cannot use the feature at all.

Setting a manual setting in Network connection has no effect, I'm still asked for credentials.

This is the first time I have this kind of problem, so maybe it is related to the corporate proxy.



Reproducible: Always

Steps to Reproduce:
1. In a network with a proxy requiring authentication, start eclipse, create a java classe
2. Start declaring a List : type "private Li" then ctrl+space
3. It ask for credential, press Escape key (two times)
4. Press ctrl+space again, it ask for credential again.
Comment 1 Ayushman Jain CLA 2011-03-22 09:17:26 EDT
Content assist tries to connect to the javadoc location URL specified for a library, in order to fetch the suggestions. Without this, there's no way of suggesting anything for say, a JAR, which has  no source and no doc attached.

If you want to bypass this, you can download the javadoc for whatever version of java u're using, and for all other JARs where javadoc location is specified as the URL. (right click on project or JAR> Javadoc location and specify an archive instead of a URL).
HTH
Comment 2 Ayushman Jain CLA 2011-03-23 01:45:42 EDT
Another way of bypassing proxy would be set the Active Provider to "Direct" in the Network Connections settings.
Btw, you just have to enter the password once and it persists for the rest of your session. So maybe its not too bad to just enter it once. :)

Closing as INVALID, since this is the expected behaviour and not a bug.
Comment 3 Srikanth Sankaran CLA 2011-04-25 02:32:22 EDT
Verified for 3.7 M7