facebook

Problem with code completion and proxy configuration

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #273802 Reply

    myope
    Member

    Every time I use the Code Assist/Completion the IDE tries to connect to the internet.
    It seems that the IDE is gathering some additional information.
    So a popup apears that wants me to fill in username and password for the proxy.
    But I’ve allready configured the proxy. Gerneral -> Network Connections. Also the proxy authentication is enabled.

    It is very annoying!

    Thanks for your help!

    KR
    christoph

    #273810 Reply

    Loyal Water
    Member

    Can you post your installation details here for me. The posting guidelines thread can be found at the top of the forum.

    #273811 Reply

    myope
    Member

    Here you are!

    *** Date:
    Montag, 13. August 2007 15:46 Uhr CEST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_10

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.0 M1
    Build id: 20070629-6.0.0-M1

    *** Eclipse details:
    Eclipse SDK

    Version: 3.3.0
    Build id: I20070625-1500

    Eclipse Platform

    Version: 3.3.0.v20070612-_19UEkLEzwsdF9jSqQ-G
    Build id: I20070625-1500

    Eclipse Java Development Tools

    Version: 3.3.0.v20070606-0010-7o7jCHEFpPoqQYvnXqejeR
    Build id: I20070625-1500

    Eclipse Plug-in Development Environment

    Version: 3.3.0.v20070607-7N7M-DUUEF6Ez0H46IcCC
    Build id: I20070625-1500

    Eclipse Project SDK

    Version: 3.3.0.v20070607-7M7J-BIolz-OcxWxvWAPSfLPqevO
    Build id: I20070625-1500

    Eclipse Graphical Editing Framework

    Version: 3.3.0.v20070620
    Build id: 20070620-1021

    Eclipse RCP

    Version: 3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG
    Build id: I20070625-1500

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    C:\Program Files\eclipse_3.3\\plugins\org.eclipse.platform_3.3.0.v20070613\splash.bmp
    -launcher
    C:\Program Files\eclipse_3.3\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\Program Files\eclipse_3.3\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.0.v20070523\eclipse_1017a.dll
    -startup
    C:\Program Files\eclipse_3.3\plugins\org.eclipse.equinox.launcher_1.0.0.v20070606.jar
    -vm
    C:\Program Files\Java\jre1.5.0_10\bin\client\jvm.dll

    #273831 Reply

    Scott Anderson
    Participant

    Christoph,

    Can you tell us exactly what you’re requesting assistance for when this happens? We try to ship all the XML descriptors the product provides assistance on but if we missed one of them then the secondary behavior is to look on the internet for the file. What type of file are you editing and where are you requesting assistance, specifically? With that information we can likely determine what’s going on and get it addressed.

    #273845 Reply

    myope
    Member

    For example:

    
    package xfiles;
    
    
    import junit.framework.TestCase;
    
    public class EncryptTest extends TestCase
    {
    
        public void testSomething()
        {
            Gregori[Cursor stands here]
        }
    }
    

    Assume I want to use the GregorianCalendar.
    I’ve allready typed Gregori and press CTRL – SPACE for the code completion. For half of a second I can see the DDLB with the possibilities for Gregori. But after this short time the DDLB disappeared and the window for the proxy authentication is shown.

    BUT: When i key in “GregorianC” and press CTRL – SPACE the code completion works. I think it is because in my case there is only one unique possibility for “GregorianC” but two for “Gregori”.

    It is the same behaviour with
    “Intege” CTRL-SPACE
    “String” CTRL-SPACE
    and so on.

    Even after a dot like here:

    Integer a = new Integer(2);
            a.[Cursor stands here]
    

    I’ve tried it with the MyEclipse XML Editor too. It’s the same behaviour.

    Hopefully it’s clearer now.

    #273873 Reply

    Riyad Kalla
    Member

    Hmm, I just had a thought. The *only* reason that the Java Editor would be hitting the internet during autocomplete is if you attached remote Javadoc to your source, and it’s going out trying to get the contents for the Javadoc window and variable names and such.

    You can double-check this by opening your project properties, going to Java Build Path > Libraries then the JRE, expand it and check what you have attached to the rt.jar file. If you are using remote Javadoc, I would suggest attaching local *source* instead. Normally src.zip in any JDK installation you have that matches the major version of the JRE you are using.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Problem with code completion and proxy configuration

You must be logged in to post in the forum log in