I want to use assist code on the Eclipse.

by taehun zzang » Wed, 24 Feb 2010 09:22:56 GMT


Sponsored Links
 Hi nice meet you guys.

when I use Eclipse first time I can use it.
but suddenly it doesn't support assist code.
I think I did set up anything.

Usually when i coding java code. but xml is okay.

How can I fix it?

Have nice day.

--



I want to use assist code on the Eclipse.

by Bob Kerns » Wed, 24 Feb 2010 18:45:56 GMT


 I think you mean Code Assist? I've noticed (over many Eclipse
revisions) that when Eclipse starts to get bloated, Code Assist stops
working.

I don't know if it's getting some internal error, or just running out
of memory to do its stuff.

Either way, the solution I use is to exit Eclipse, and restart. It's
also faster after you do this!

I've also seen it fail when my Windows desktop manager was getting
bloated shortly before running out of Window handles. Logging out and
back in would probably fix that, but I've always opted for a reboot.




--


Sponsored Links


I want to use assist code on the Eclipse.

by ANithian » Thu, 25 Feb 2010 12:42:42 GMT


 When I have run into this problem, I check the following:
Window...Preferences...
Select from the left:
  * Java
        Editor
          Content Assist
            Advanced
Make sure the first four are checked:
Other Java Proposals
SWT Template Proposals
Template Proposals
Type Proposals

Apply, okay etc. In your Java source, try and invoke the code assist..
if it doesn't appear automatically, force it by Ctrl+Space to force
auto complete.

Hope that helps
Amit





--



I want to use assist code on the Eclipse.

by taehun zzang » Fri, 26 Feb 2010 10:23:14 GMT


 It's work.
thanks a lot.

Have got day Anithian, and Bob

--



Other Threads

1. When dexing the classes to apk format file, it is said out of memory error

Hi, experts
       I ever wrote a project using android, the whole package
includes about 500 java files. With last android version, I ran it
successfully and got the right result.
       Now, I change to use the latest version: android-sdk-
windows-0.9_beta.zip. I don't make any changes in the build file, I
get a OOME(out of memory error) like the following:

       dex:
     [echo] Converting compiled files and external libraries into bin/
classes.dex...
    [apply]
    [apply] UNEXPECTED TOP-LEVEL ERROR:
    [apply] java.lang.OutOfMemoryError: Java heap space
    [apply]     at java.io.DataInputStream.<init>(DataInputStream.java:
42)
    [apply]     at com.android.dx.util.ByteArray
$MyDataInputStream.<init>(ByteArray.java:365)
    [apply]     at
com.android.dx.util.ByteArray.makeDataInputStream(ByteArray.java:260)
    [apply]     at
com.android.dx.cf.direct.StdAttributeFactory.parseLocalVariables(StdAttributeFactory.java:
567)
    [apply]     at
com.android.dx.cf.direct.StdAttributeFactory.localVariableTable(StdAttributeFactory.java:
519)
    [apply]     at
com.android.dx.cf.direct.StdAttributeFactory.parse0(StdAttributeFactory.java:
180)
    [apply]     at
com.android.dx.cf.direct.AttributeFactory.parse(AttributeFactory.java:
96)
    [apply]     at
com.android.dx.cf.direct.AttributeListParser.parse(AttributeListParser.java:
141)
    [apply]     at
com.android.dx.cf.direct.AttributeListParser.parseIfNecessary(AttributeListParser.java:
115)
    [apply]     at
com.android.dx.cf.direct.AttributeListParser.getList(AttributeListParser.java:
106)
    [apply]     at
com.android.dx.cf.direct.StdAttributeFactory.code(StdAttributeFactory.java:
302)
    [apply]     at
com.android.dx.cf.direct.StdAttributeFactory.parse0(StdAttributeFactory.java:
141)
    [apply]     at
com.android.dx.cf.direct.AttributeFactory.parse(AttributeFactory.java:
96)
    [apply]     at
com.android.dx.cf.direct.AttributeListParser.parse(AttributeListParser.java:
141)
    [apply]     at
com.android.dx.cf.direct.AttributeListParser.parseIfNecessary(AttributeListParser.java:
115)
    [apply]     at
com.android.dx.cf.direct.AttributeListParser.getEndOffset(AttributeListParser.java:
96)
    [apply]     at
com.android.dx.cf.direct.MemberListParser.parse(MemberListParser.java:
213)
    [apply]     at
com.android.dx.cf.direct.MemberListParser.parseIfNecessary(MemberListParser.java:
108)
    [apply]     at
com.android.dx.cf.direct.MethodListParser.getList(MethodListParser.java:
54)
    [apply]     at
com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:
529)
    [apply]     at
com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:
393)
    [apply]     at
com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:
375)
    [apply]     at
com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:
238)
    [apply]     at
com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:109)
    [apply]     at
com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:85)
    [apply]     at
com.android.dx.command.dexer.Main.processClass(Main.java:297)
    [apply]     at
com.android.dx.command.dexer.Main.processFileBytes(Main.java:276)
    [apply]     at com.android.dx.command.dexer.Main.access$100(Main.java:
56)
    [apply]     at com.android.dx.command.dexer.Main
$1.processFileBytes(Main.java:228)
    [apply]     at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:
134)
    [apply]     at
com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:
190)
    [apply]     at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:
122)

    Do I need to make the heap space larger? If so, how can I make it
larger? Thanks!

Regards!
Tao

--~--~---------~--~----~------------~-------~--~----~

2. adding Scroll bar

Hi
       How to add Scroll Bar to TextView..... ?
--~--~---------~--~----~------------~-------~--~----~

3. Replacement for MapView's OnLongPressListener

4. Can't call startActivity() - real easy, please help

5. ACTION_PICK_ACTIVITY: anyone have this working?

6. Problem with running emulator - my program won't show up

7. IPsec support in Android