x
login about faq

How to write an eclipse code template?

Hello,

I want to write a template into a plugin which will give me code/content assist support and work in JSF. I want it to work like the sample below :

  • I'll type "p:button action="#{
  • Then I'll press "Ctrl+Shift+Space" (for example)
  • It'll read the classes in my project and show them as a list in a pop-up window
  • Then I'll select one class. It'll be like below
  • "h:button action="#{MyClass
  • When I type "." , It'll read the methods in my selected class and show them as a list in a pop-up window.
  • Then I'll select a method
  • Finally, It'll end like this "h:button action="#{MyClass.MyMethod}"

Do you have any idea, how can i do this? Any suggestions?

Thanks in advance, Birayalp

more ▼

asked Aug 18 at 04:41 AM

birayalp.sen\'s gravatar image

Birayalp Sen
0 3 3

(comments are locked)
10|600 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x24
x7
x2
x1
x1

asked: Aug 18 at 04:41 AM

Seen: 338 times

Last Updated: Aug 18 at 04:41 AM

powered by AnswerHub - Enterprise Social Q&A