Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Myeclipse's java code templates like sysout make coding easier, and they can also be customized. But seems it's jsp editor has no such capability.

Is it possible to create and customize some templates like sysout in myeclipse jsp editor, and if yes, how?

share|improve this question

Go to:
MyEclipse->Preferences->MyEclipse->Files , and

There you can see the existing templates that work in a similar manner to the Java templates. If the context is JavaScript then they'll be available when editing JavaScript. To get the code to automatically be inserted when you enter the template name then hit Ctrl+Space, ensure the name is unique and that no other template name starts with the same characters and ensure the Auto Insert flag is also set.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.