Bug 340641 - Autocomplete / content assist require internet connection
Summary: Autocomplete / content assist require internet connection
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M7   Edit
Assignee: Ayushman Jain CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-22 07:07 EDT by David Sporn CLA
Modified: 2011-04-25 02:32 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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