1

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?

1 Answer 1

1

Yes.
Go to:
MyEclipse->Preferences->MyEclipse->Files , and
Editors->JavaScript->Editor->Templates.

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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