facebook

JSP Editor, scriptlets, and tabs

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #278684 Reply

    Matt Bucknam
    Participant

    Weird problem.

    Change Window –> Preferences –> General –> Editors –> Text Editors –> check Insert spaces for tabs

    Now whenever you are in a scriptlet between the <% and %> the tab key does not work if there is not at least one character in front of it. You can’t press return and start tabbing — the cursor does not move.

    Turning on visible spaces shows that even w/o the tab setting the JSP editor appears to put spaces in for the leading indent. Then if tabs are on, when you press tab the cursor moves and a tab char is inserted. If tabs are off, when you press tab nothing happens.

    But only inside of a scriptlet tag. Outside the scriptlet tag it behaves normally.

    Seems to happen on vista and 2000. ME v6GA. Also happens in base Eclipse WTP 3.0m2

    #278687 Reply

    Loyal Water
    Member

    Sounds like an Eclipse issue. Have you checked it in the Eclipse bug tracker ?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JSP Editor, scriptlets, and tabs

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