Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Smart typing in editor
Smart typing in editor [message #323991] Tue, 15 January 2008 12:22 Go to next message
Eclipse UserFriend
I'd like to implement smart typing (auto-closing parentheses, curly
braces etc.) in my editor. Is there some infrastructure I can reuse or
should I implement everything from scratch?

I've googled but all I've found is
www.eclipse.org/eclipse/platform-text/3.1/plan.html ("typing" section).
Has this plan been realized?

Cheers,
Dimitrios
Re: Smart typing in editor [message #324118 is a reply to message #323991] Thu, 17 January 2008 12:00 Go to previous messageGo to next message
Eclipse UserFriend
Dimitrios Kolovos wrote:

> I'd like to implement smart typing (auto-closing parentheses, curly
> braces etc.) in my editor. Is there some infrastructure I can reuse or
> should I implement everything from scratch?

There is infrastructure around that allows you to write those things
yourself - like the Java editor does. If you write a textual editor then
you can use the protected LineEnd/StartAction.

Dani

>
> I've googled but all I've found is
> www.eclipse.org/eclipse/platform-text/3.1/plan.html ("typing"
> section). Has this plan been realized?
>
> Cheers,
> Dimitrios
Re: Smart typing in editor [message #324145 is a reply to message #324118] Thu, 17 January 2008 18:02 Go to previous message
Eclipse UserFriend
Thanks a lot for the tip!

Cheers,
Dimitrios

Daniel Megert wrote:
> Dimitrios Kolovos wrote:
>
>> I'd like to implement smart typing (auto-closing parentheses, curly
>> braces etc.) in my editor. Is there some infrastructure I can reuse or
>> should I implement everything from scratch?
>
> There is infrastructure around that allows you to write those things
> yourself - like the Java editor does. If you write a textual editor then
> you can use the protected LineEnd/StartAction.
>
> Dani
>
>>
>> I've googled but all I've found is
>> www.eclipse.org/eclipse/platform-text/3.1/plan.html ("typing"
>> section). Has this plan been realized?
>>
>> Cheers,
>> Dimitrios
Previous Topic:Missing projects in Project Explorer
Next Topic:Resource change event not firing
Goto Forum:
  


Current Time: Sat Jul 12 09:57:25 EDT 2025

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

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

Back to the top