I’ve created a new template in “Window” –> “Preference” –> “MyEclipse” –> “JSP” –> “JSP Template”. I set the name to “<javascript”, set the contents to a declaration of “<script>xxxxxx</script>”, and set the Context to “All JSP”.
What I expected is that after I input “<javascript” in the JSP editor and press the content assistant shortcut key, the “<javascript” will be replaced by “<script>xxx</script>”. Unfortunately, “<script>xxxxx</script>” is inserted but the “<javascript” is still remained. Now the codes are like “<javascript<script>xxxxx</script>”.
Did I do something wrong?