Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Automatic code completion
Automatic code completion [message #557599] Wed, 08 September 2010 05:06 Go to next message
Eclipse UserFriend
I want to implement this function:

when I write java code,I write the "Start" in one line.
When I push "Enter" key,I want the "End" will be written
in the next line.

How can I finish this function?
Re: Automatic code completion [message #558807 is a reply to message #557599] Tue, 14 September 2010 10:02 Go to previous message
Eclipse UserFriend
duanf wrote:
> I want to implement this function:
>
> when I write java code,I write the "Start" in one line.
> When I push "Enter" key,I want the "End" will be written
> in the next line.
>
> How can I finish this function?
Take a look at org.eclipse.jface.text.IAutoEditStrategy.

Dani
Previous Topic:SWT Table with fixed rows
Next Topic:Adding custom view to the Common Navigator
Goto Forum:
  


Current Time: Tue Jul 01 03:00:23 EDT 2025

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

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

Back to the top