MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
rogue_dev
Post subject: Turning off code templates  PostPosted: Oct 04, 2006 - 04:36 PM
Veteran Member
Veteran Member


Joined: Aug 19, 2004
Posts: 115

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
 
 View user's profile Send private message  
Reply with quote Back to top
rogue_dev
Post subject:   PostPosted: Oct 04, 2006 - 05:03 PM
Veteran Member
Veteran Member


Joined: Aug 19, 2004
Posts: 115

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:
Code:
<%
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
Code:
%>

<%

which is a prelude to putting in HTML. I should have at this point
Code:
<%
for ( int c = 0; c < mySize; c++ )
{
%>
<%
}
%>

instead I have
Code:
<%
for ( int c = 0; c < mySize; c++ )
{
%>
<% %>
}
%>

So I need to delete the automatically inserted %>
 
 View user's profile Send private message  
Reply with quote Back to top
rogue_dev
Post subject:   PostPosted: Oct 10, 2006 - 02:59 PM
Veteran Member
Veteran Member


Joined: Aug 19, 2004
Posts: 115

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

:-)

_________________
Java 1.6.0 - Eclipse 3.2.1 - MyEclipse 5.1GA(Pro)
 
 View user's profile Send private message  
Reply with quote Back to top
rogue_dev
Post subject:   PostPosted: Jan 30, 2007 - 04:10 PM
Veteran Member
Veteran Member


Joined: Aug 19, 2004
Posts: 115

Anything?

_________________
Java 1.6.0 - Eclipse 3.2.1 - MyEclipse 5.1GA(Pro)
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits