facebook

Turning off code templates

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

    rogue_dev
    Member

    When I type <% ME automatically adds %>

    I do not want this behaviour. I have gone to the JSP templates and not only checked off every template (which had no effect), but I have also removed them. I shutdown and restarted Eclipse. The editor still insists upon adding the %>

    Eclipse 3.2, ME 5.0.1GA(Pro) Java 1.5

    #259840 Reply

    rogue_dev
    Member

    Ok, let me expand on this. How do I turn off ALL automatic code inserts.

    I type in <td> then </ and ME inserts </td>.

    I have turned off automatically make suggestions inserts everywhere I could find it. I have removed every template in JSP and HTML.

    This is a problem because I do not code in a linear fashion. I start a scriplet such as:

    <%
    for ( int c = 0; c < mySize; c++ )
    {
    
    }
    %>

    This completes the block. I then move the cursor to the blank line between the curly braces and I type in

    %>
    
    <%

    which is a prelude to putting in HTML. I should have at this point

    <%
    for ( int c = 0; c < mySize; c++ )
    {
    %>
    <%
    }
    %>

    instead I have

    <%
    for ( int c = 0; c < mySize; c++ )
    {
    %>
    <% %>
    }
    %>

    So I need to delete the automatically inserted %>

    #260116 Reply

    rogue_dev
    Member

    On the plus side, I have managed to turn off spelling checks in JSP files.

    Which makes the editor faster. I WAS getting a very noticable sub-second delay on each keystroke and copy/paste operation….

    🙂

    #265333 Reply

    rogue_dev
    Member

    Anything?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Turning off code templates

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