- This topic has 6 replies, 2 voices, and was last updated 18 years ago by
u_and_me002.
-
AuthorPosts
-
u_and_me002MemberI am a newbie to MyEclipse. I am trying to develop a website, in my source classes ctrl + space is not giving auto complete suggestion while in jsp pages it does. What would be the reason? Is there any particular configuration is available for this?? It had earlier, but I was experementing something and then it is missed it seems… pls help meeeeee
thanx!
July 10, 2007 at 9:45 am #272527
Loyal WaterMemberYour saying that the autocomplete feature is not working for your .java files ? Can you paste the entire java class here that you are trying to autocomplete.
July 11, 2007 at 12:38 am #272562
u_and_me002Memberpackage com.lisec.taglibrary; import javax.servlet.jsp.*; import javax.servlet.jsp.tagext.*; import java.sql.*; import java.util.*; public class ItemTemplate extends BodyTagSupport { private String dataField; private String headerText; public ItemTemplate() { } /** * @return the dataField */ public String getDataField() { return dataField; } /** * @param dataField the dataField to set */ public void setDataField(String dataField) { this.dataField = dataField; } /** * @return the headerText */ public String getHeaderText() { return headerText; } /** * @param headerText the headerText to set */ public void setHeaderText(String headerText) { this.headerText = headerText; } public int doStartTag() { DataGrid parent=(DataGrid)findAncestorWithClass(this,DataGrid.class); parent.addHeaderTitle(headerText); parent.addDataColumn(dataField); return SKIP_BODY; } public void release() { dataField = null; headerText = null; } }
This is just one class. Whichever .java class I create, none of these having ctrl+space feature to fill up!
Suppose I say
java.sql.
then I press ctrl + space , it says, no default proposals and on the status bar, ‘No completions available’.Is there any settings to be done???
July 11, 2007 at 10:55 am #272582
Loyal WaterMemberThats strange. Can you take the cursor into on the the methods and try ctrl + space there. Also, can to go to Windows > Preferences > Java > Editor > Content Assist and make sure *Enable Auto Activation* is checked.
July 12, 2007 at 12:59 am #272623
u_and_me002MemberAll done.. but nothing works!! this is driving me crazy!!!!!!!! should I re-install??
July 12, 2007 at 6:00 am #272634
Loyal WaterMemberI guess you should go ahead and reinstall. You should download the Full Stack installer and install MyEclipse to a brand new loaction.
Let me know if the problem persists.
July 12, 2007 at 6:45 am #272638
u_and_me002MemberI’ve re-installed and it was telling some registry entry cannot be deleted!!
But when I re-installed in the same location.. still the same problem exists and it didnt ask me the activation code again!
Now let me try to re-install in a brand new location as you said!
-
AuthorPosts