I’m developing an Eclipse plug-in and I’d like to insert code automatically… sort of create a sample application automatically when the user presses a button. How can I go about it please?
Thanks and regards,
Krt_Malta
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to create a project/files, then you have to use the Resource API of Eclipse. For some initial ideas look at http://www.phurnace.com/blog/the-eclipse-resources-plug-in-2.html.
In a similar fashion you could look for existing files and read them.