facebook

No auto complettion available??

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #272511 Reply

    u_and_me002
    Member

    I 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!

    #272527 Reply

    Loyal Water
    Member

    Your 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.

    #272562 Reply

    u_and_me002
    Member
    
    package 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???

    #272582 Reply

    Loyal Water
    Member

    Thats 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.

    #272623 Reply

    u_and_me002
    Member

    All done.. but nothing works!! this is driving me crazy!!!!!!!! should I re-install??

    #272634 Reply

    Loyal Water
    Member

    I 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.

    #272638 Reply

    u_and_me002
    Member

    I’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!

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: No auto complettion available??

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