Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » Implementing a formatter
Implementing a formatter [message #68648] Fri, 11 April 2008 00:56 Go to next message
Eclipse UserFriend
hi all,

I have to implement a formatter and I found more than one choice to do that

I found two method to do that : getContentFormatter in the source
viewer and sources->format (CTRL+ALT+F) so with a action etc....

what the difference?? is CTRL+ALT+F use getContentFormatter?? or is it
two thing totaly separed?

thanks

a++
Re: Implementing a formatter [message #68664 is a reply to message #68648] Fri, 11 April 2008 06:19 Go to previous message
Eclipse UserFriend
Originally posted by: euthanasia_waltz.yahoo.co.jp.jp

Are you talking about PDT?
Do you intend to implement your own formatter for PDT?
If so, you should implement formatter by extending
org.eclipse.php.ui.phpFormatterProcessor extension point. PDT invokes your
format(IDocument document, IRegion region) method. See extension point
description.
Previous Topic:Hanging on windows, why? tips for avoiding?
Next Topic:short tags
Goto Forum:
  


Current Time: Sat Jul 19 15:52:00 EDT 2025

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

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

Back to the top