Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » adding code fragments at cursor position
adding code fragments at cursor position [message #209014] Thu, 07 July 2005 05:07 Go to next message
Eclipse UserFriend
Originally posted by: guillaume.india.gmail.com

Hello

I would like to add a code fragment at the cursor position. I know that we
can add fields, methods, types... but I want to add lines of code.
I started to look in the org.eclipse.jdt.core.dom to do this with adding
ASTNodes but it seems overly complicated. Is there another way to do it?

thanks for your help

/guillaume
Re: adding code fragments at cursor position [message #209244 is a reply to message #209014] Fri, 08 July 2005 08:53 Go to previous message
Eclipse UserFriend
Originally posted by: guillaume.india.gmail.com

Nobody has an idea. I think that the system of auto-completion uses this
kind of thing because it appends a string after the cursor position. Do
you know how it is done ?

thanks for your help


/guillaume
Previous Topic:When build the Java project in eclipse ide it will gives the Out Of Memory
Next Topic:Automatically adding serialVersionUID's to source files?
Goto Forum:
  


Current Time: Sat May 10 19:13:29 EDT 2025

Powered by FUDForum. Page generated in 0.02812 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top