• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • jEdit
  • Plugin Bugs
jEdit

AStyle beautifier adds an extra line after some comments

jEdit is a programmer's text editor written in Java.

Brought to you by: daleanson, ezust, grepppo, k_satoda, and 5 others
  • Summary
  • Files
  • Reviews
  • Support
  • Tickets ▾
    • Bugs
    • Merge Requests
    • Feature Requests
    • Patches
    • jEditLauncher Bugs
    • Plugin Bugs
    • Plugin Feature Requests
    • Plugin Patches
    • Plugin Central Submission
  • Mailing Lists
  • Donate
  • Git ▾
    • Accents
    • AndroidRemoteControl
    • ClassBrowser
    • CodeHelper
    • Completion
    • ConsoleAutomation
    • CppCheck
    • CtagsSideKick
    • DirtyGutter
    • More...
  • SVN
  • CVS
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

Searches

  • Changes
  • Closed Tickets
  • FTP
  • JavaSideKick
  • ProjectViewer

Help

  • Formatting Help

#289 AStyle beautifier adds an extra line after some comments

open
nobody
None
5
2004-03-09
2004-03-09
Anonymous
No

When I use some comments in some code, AStyleBeautifier
tends to put a new line every time I beautify the
buffer (on save in most cases or often about that time
- I being too lazy to fix it by hand usually :p ) A
code sample is attached and my settings grepped from my
.jedit/properties is below. Not sure about copyrights
on the code as it was a lab exercise from college and I
have run across this before but I do not have the code
for that that I remember nor do I recall the
circumstances for that. This is with the cvs snapshot
of jedit from about the time of the bug report.
Running OS X.3.2 and the latest apple java (1.4.x)
Here are the settings:

astyleplugin.breakClosingHeaderBlocksMode=False
astyleplugin.preprocessorIndent=False
astyleplugin.classIndent=False
astyleplugin.breakClosingHeaderBracketsMode=True
astyleplugin.breakElseIfsMode=False
astyleplugin.parenthesisPaddingMode=False
astyleplugin.breakBlocksMode=False
astyleplugin.emptyLineFill=False
astyleplugin.operatorPaddingMode=False
astyleplugin.forceTabs=False
astyleplugin.bracketFormatMode=Java / K&R
astyleplugin.caseIndent=True
astyleplugin.switchIndent=False
astyleplugin.bracketIndent=False
astyleplugin.maxInStatementIndentLength=40
astyleplugin.minConditionalIndentLength=4
astyleplugin.breakOneLineBlocksMode=True
astyleplugin.formatOnSave=True
astyleplugin.singleStatementsMode=True
astyleplugin.namespaceIndent=False
astyleplugin.blockIndent=False
astyleplugin.labelIndent=False

Discussion

  • Nobody/Anonymous

    Nobody/Anonymous - 2004-03-09
     
    Complex.cpp
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Log in to post a comment.

SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2026 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
×