DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Skip logger statements while formatting
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jan 2009
Wink Skip logger statements while formatting - 01-21-2009, 04:57 AM

Hi,

I am using eclipse formatter (org.eclipse.jdt.core.formatter) with my project specific profile. Whenever I click ctrl+shift+F or source code format it also formats (wraps) logging statements like:

getLogger().logDebug("string...................... ........................................")

How can I edit my format profile (XML file) so that the formatter doesn't wrap logger statements. (ie it skip all stmts starting with something like logger)

Thank in advance
-AKJ
Reply With Quote
Reply

Tags
code formatter, eclipse, wrap

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New file formatting mkjackson Eclipse 1 11-07-2008 08:13 PM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com