Auto-formatting application

Does anyone know of a (preferably free) program for windows which auto-formats java code? Adding skeleton javadoc comments would be nice too but not necessary.
I've tried beautyJ but can't get it to work. Thanks.

jcreator doesnt (as far as i can tell), bluej... well I could hardly get that doing anything, and jgrasp seems to indent only methods. i'm probably just fussy and or dumb :P
any others?

Similar Messages

  • Turn OFF TextEdit auto-formatting?

    I absolutely detest auto-formatting, especially bullet list items.
    Anyone know how to turn this "feature" off?

    Oh cool, it appears that by copying and pasting from another doc/email TextEdit assimilated technologies from the other document's application.
    Resistance is futile.

  • Stop Numbers form auto-formatting imported data

    I use a program to track my time, and it exports as a tab-delimited text file. This should be perfect, just import the data into a Numbers table and bada-bing, right?
    Unfortunately, Numbers is taking it upon itself to auto-format the data as it comes in. For example, there are 2 columns in the report that get auto-formatted. The event start column is exported in the form: dd/mm/yyyy hh:mm, and this is handled fine. The duration column is exported in the form: hh:mm, yet is auto formatted as dd/mm/yyyy hh:mm by Numbers.
    Does anyone know a way to stop Numbers from doing this? My only quick workaround is to import the report in Excel first, then open the Excel xsls file in Numbers (and at that point, why bother using Numbers at all?).
    HELP!

    No need to use two applications!
    --[SCRIPT dateTime2duration.app]
    Enregistrer le script en tant que Script, Application ou Progiciel : dateTime2duration.xxx
    déplacer l'application créée dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Sélectionner les cellules à convertir
    menu Scripts > Numbers > dateTime2duration
    Le script insère les durées correspondantes.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    +++++++
    Save the script as a Script, an Application or an Application Bundle: dateTime2duration.xxx
    Move the newly created application into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Select cells to convert.
    menu Scripts > Numbers > dateTime2durationNumbers
    The script insert the corresponding durations.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    --=====
    Yvan KOENIG (Vallauris FRANCE)
    14 mai 2009
    --=====
    on run
    set {dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
    set localOffset to (time to GMT)
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    repeat with x from colNum1 to colNum2
    tell column x
    repeat with y from rowNum1 to rowNum2
    try
    set theDate to (value of cell y)
    if class of theDate is date then
    tell (theDate - localOffset)
    set {hh, mm, ss} to {(its hours) as text, its minutes, its seconds}
    end tell
    set value of cell y to hh & "h" & mm & "m" & ss & "s"
    end if -- class…
    end try
    end repeat -- y
    end tell -- column x
    end repeat -- x
    end tell -- Numbers …
    end run
    --=====
    on getSelParams()
    local r_Name, t_Name, s_Name, d_Name, col_Num1, row_Num1, col_Num2, row_Num2
    set {d_Name, s_Name, t_Name, r_Name} to my getSelection()
    if r_Name is missing value then
    if my parleAnglais() then
    error "No selected cells"
    else
    error "Il n'y a pas de cellule sélectionnée !"
    end if
    end if
    set two_Names to my decoupe(r_Name, ":")
    set {row_Num1, col_Num1} to my decipher(item 1 of two_Names, d_Name, s_Name, t_Name)
    if item 2 of two_Names = item 1 of two_Names then
    set {row_Num2, col_Num2} to {row_Num1, col_Num1}
    else
    set {row_Num2, col_Num2} to my decipher(item 2 of two_Names, d_Name, s_Name, t_Name)
    end if
    return {d_Name, s_Name, t_Name, r_Name, row_Num1, col_Num1, row_Num2, col_Num2}
    end getSelParams
    --=====
    on decipher(n, d, s, t)
    tell application "Numbers" to tell document d to tell sheet s to tell table t to return {address of row of cell n, address of column of cell n}
    end decipher
    --=====
    set { d_Name, s_Name, t_Name, r_Name} to my getSelection()
    on getSelection()
    local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
    tell application "Numbers" to tell document 1
    repeat with i from 1 to the count of sheets
    tell sheet i
    set x to the count of tables
    if x > 0 then
    repeat with y from 1 to x
    try
    (selection range of table y) as text
    on error errMsg number errNum
    set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
    return {theDoc, theSheet, theTable, theRange}
    end try
    end repeat -- y
    end if -- x>0
    end tell -- sheet
    end repeat -- i
    end tell -- document
    return {missing value, missing value, missing value, missing value}
    end getSelection
    --=====
    on decoupe(t, d)
    local l
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to ""
    return l
    end decoupe
    --=====
    on parleAnglais()
    local z
    try
    tell application "Numbers" to set z to localized string "Cancel"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    Yvan KOENIG (from FRANCE jeudi 14 mai 2009 14:01:29)

  • Is there any way to turn off the auto formatting in Pages?  I just want to type a letter and add pictures and titles, and Pages keeps changing font sizes and doesn't let me "Do it my way".  I HATE this!

    Is there any way to turn off the auto formatting in Pages?  I'm using a blank document, so I figured I could write my letter and add pictures any way I wanted to.  But NO!  Pages keeps changing the font size!  I typed a large heading as a title, and when I try to change to a smaller font for the body of the letter, it changes the size back to the larger size!  I am getting SO FRUSTRATED!  I've spent over an hour trying to get the stupid program to let me just type my letter!  Can anyone help?

    The only one left is the "unsubmitted text" dialogue, which would not be a problem if I were not a Facebook user; after updating the "Richard is..." field (which does not require a manual submit to actually send) I get the above message. This is obviously Safari just not realising that the info has been sent and is therefore (I imagine) one for Apple themselves to answer!!
    You're welcome Rich. Glad to help.
    Not being a Facebook User, I'm not sure how to respond to the error situation. However, this would be something to report to Apple as a bug via the Safari Menu. First, open to the page in question, then select "Report Bugs to Apple".
    Mahalo for the and Aloha from Big Island.

  • Error message when I try to print: unsupported document-format"application/vnd.cups-command. I recently had my hard drive replaced in my early 2010 21" iMac. Can anyone help?

    Error message when I try to print: unsupported document-format"application/vnd.cups-command". I recently had my hard drive replaced in  my early 2010 21" iMac. Anyone know anything about this? Thanks in advance.

    What system are you running?  Have you tried going to the Canon website to download and install the latest drivers for that model?
    Are you running Time Machine?

  • How can I turn off auto formatting whilst working in the SQL Worksheet?

    Friends,
    Hope you can help with a quick question.
    Is it possible to stop the auto formatting of SQL statements in the SQL worksheet?
    e.g. When I type select * from dual it auto formats to becomes SELECT * FROM DUAL when I hit return.
    I am using SQL Developer 2.1.1.64
    Thanks in advance

    Preferences - Code Editor - Completion Insight - uncheck Change case as you type
    Have fun,
    K.

  • CS3 - Auto Format doesn't compact blank lines?

    In Flash 8 on OS X, using Auto Format used to remove blank
    lines. I can't seem to find a way to enable this in CS3. Is it
    possible?

    Additional three thoughts: First, is there anything I can do while still in MS Word to enable Acrobat to see the check boxes easier? Different font? Same font, but different "character"? Etc. Second, if there is no way the check boxes can be recognized and converted, is there a way to do an after-the-fact search-and-replace, searching for the check boxes and replacing them with clickable boxes. By the way, I don't need to capture data; I just need for people to be able to fill out the form on their computer and print it. Third, if Acrobat can't do this, is there third-party form software that recognizes check boxes?

  • Excel auto formats cell in CSV flat file.

    Hi,
    I am using an etext template to generate a CSV file (comma separated) and that piece works fine. But as soon as you open the generated file in Excel, it changes the format of one of the columns to a date! And once you have opened it in Excel, saving it changes the column value, so now I have wrong data!
    The field value is : 8050-09-7 (Alpha)
    When opened in Excel, it becomes: 9/7/8050 (Excel auto formats it)
    If I save the file as a .xls file and not a .csv file, it works, but now when I open it, the entire row shows up in one line in Excel and each field is not in each cell.
    The user wants to see the output first, verify the data and save it as a CSV file and export it to a vendor software.
    Any ideas?
    Thanks,
    Shaf

    Hi Steven,
    I think I understand what you are trying to say.
    My data is getting generated initially as XML; I merge it with my eText template to get the final output. If I save the output as .txt, its fine. But users have a hard time reading comma delimited lines, though it will work fine for the customers.
    <G_COMPONENTS>
    <ID>12215</ID>
    <PRODUCT_ID>379-9006-00</PRODUCT_ID>
    *<CAS_NUMBER>8050-09-7</CAS_NUMBER>*
    <CHEMICAL_NAME>GUM ROSIN</CHEMICAL_NAME>
    <SUPPLIER>Name</SUPPLIER>
    <PERCENT_WEIGHT>0</PERCENT_WEIGHT>
    <PERCENT_VOLUME>0</PERCENT_VOLUME>
    </G_COMPONENTS>
    Thanks,
    Shaf

  • Hyperlinks won't auto format in Chrome or Outlook

    Hi,
    Wondering if anyone can help me as this is driving me crazy.
    For some reason when I type a website, email or anything that should be a hyperlink it does not auto format after I hit the space bar.  I have noticed this in Google Chrome and Outlook for Mac.  I have checked the preferences already in Outlook and the checkbox to auto format internet extensions links is checked. Also I checked in Word if I had the same issue and I don't. Hyperlinks will auto format.
    So now I'm thinking I've somehow hit some shortcut across the Mac Preference settings but don't know what it is!?!  I work in email marketing so this link issue is drving me nuts!!
    Please help.

    Can anyone help here???
    I've got further info. This is not an isolated thing with my Mac..everyone in the office experiences the same thing. In Outlook for Mac, Hotmail on Chrome, Hotmail in Firefox...hyperlinks don't automatically format when we hit the space bar or return? We are all operating in HTML format when in Outlook. We've reviewed all our System Preferences and individual program preferences to say 'Auto format internet extensions and links'.
    It hasn't always been like this.  Could it be due to an OS update?

  • How do I turn off text auto-formatting in Keynote?

    How do I turn off text auto-formatting in Keynote?

    You may uncheck some preferences in the Pages > Preferences menu item.
    You may also define your own custom default template.
    But you certainly are aware of that because it's described in the PDF User Guide delivered with every copy of iWork.
    Yvan KOENIG (from FRANCE mercredi 27 août 2008 18:06:16)

  • Bug in Auto Format

    I copy a large chunk of code into a new project in CS3 and
    press the Auto Format button, the result was that some of the '('
    character disappear
    the code before:
    aoX = (aR * 0.607) + (aG * 0.174) + (aB * 0.201);
    the corrupted code after
    aoX=aR * 0.607 + aG * 0.174 + aB * 0.201;
    Be careful
    Yair

    The promlem that Auto Format remove even it change the math
    before
    public function demo(val:int):int
    return ((val - 5) * 7);
    after
    public function demo(val:int):int
    return val - 5 * 7;
    if val = 7
    before result = 14
    after result = -28
    I have got weird result after I run an algorithm of painting
    and thats was the reson
    ANY WAY auto format should not delete any code and specially
    parens
    Yair

  • New version of Flash, same auto format bugs

    When Flash CS3 came out, the first thing I noticed when I sat
    down to use it for the first time was that the ActionScript Auto
    Format was unusable because of bugs that were present in it. One of
    the bugs was that it would actually REMOVE parenthesis from certain
    lines of code, and next to object initializations. This made it
    unusable because it would constantly break programs. So pretty
    much, in CS3 you had this Auto Format feature (that worked
    wonderfully in previous versions of Flash) that was just there and
    couldn't actually be used by anyone who was going to do any sort of
    serious programming. This was pretty hard to believe being that
    Auto format worked fine in previous versions of Flash (I can't
    remember if it was in 8 or after 8 it broke).
    So I take my time, go to the Flash CS3 bug reporter, and
    report the bug.
    Fast forward a few years. CS4 comes out. I immediately buy
    the upgrade. What's the first thing I look at? The Auto formatter.
    To my dismay, it still contains the exact same bugs it did when CS3
    came out years ago. I almost felt like asking for a refund. I don't
    think it's too high of an expectation for a bunch of obvious bugs
    to be fixed.
    Then I have to ask myself, am I the only person on planet
    earth who uses the ActionScript Auto format? I used to love it to
    just clean up my code and indent it. I mean right now, it's just
    like "there". I don't see how anyone can actually be using it in
    its current state. Adobe should either get rid of it or fix it,
    preferably fix it.
    I guess my question is, to anyone really, or preferably
    Adobe, what's going on here? Is this ever going to be fixed? It's
    not really fair that a feature that used to work perfectly has been
    broken in the last two major versions of Flash. Is there any
    possible way for Adobe to send down a fix for this, or is there a
    way for the user to fix it on their own?
    Thanks in advance.

    Never mind, I chose this option:
    http://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player.exe
    It finally allowed me to install. It is working. Adobe, I am disappointed that this update was so frustrating to install. Shame on you.

  • Migrating from older Flash Pro versions causes Auto Formatting to malfunction

    I have recently upgraded my Flash CS4 to Flash CS5 on my MAC, and Flash CS5 to Flash CS5.5 on my PC, these upgrades are causing the Flash Auto Formatting feature to malfunction, it somehow becomes a tool that breaks my code and causes errors while exporting, instead of simply re-arranging the lines.
    This is happening with all my codes and all my projects, not a specific line of code.
    Anybody has a clue how to fix this? Is there some sort of an Adobe update for this?
    Thanks folks!

    Nope it is just badluck, i just answered this on another thread but google it im sure there is a way to fix this, i am sure of it.
    but next time FINISH your projects before moving computers or flash versions because you might encounter this.
    I have no problems with changing versions but changing computers OS is pretty understandable to cause errors.
    hope this helped.

  • Pages: how do I turn off auto formatting and auto indenting!

    I've got Pages 5.2.2 and for the life of me can't figure out how to turn off auto formatting!
    When I hit return to move text to a new line, Pages automatically indents the new line, creating a new paragraph which is not what I want at all.
    I'm using a blank template and have not altered the default settings at all.  Any geniuses out there who can help?

    If not already present, turn on your document rulers via View > Show Rulers. Does a ¯ symbol appear by itself, or is it accompanied by  an inverted triangle below it? The first symbol indicates that you have a First Indent set to other than 0. The inverted triangle says that you also have the Left indent set to the First indent amount.
    In Pages, if a First indent is set, any hard return will invoke a new paragraph with an auto-indent corresponding to the First Indent amount. First lines will be indented, and subsequent lines are flush left margin (unless Left indent is not 0). In word processing, we only do hard returns when we deliberately want a new paragraph. If you want to force an end of a sentence, without forming a new paragraph, with/out auto-indent effect, use either shift+enter, or control+enter.
    The First, and Left indent settings in Pages v5.2.2 are here:
    Toolbar > Format > Text > Layout

  • Turn Off Auto format that drops last line of a paragraph to next page

    When I am writing multi-page papers, I will occasionally experience an auto-format annoyance where, if the paragraph I have written ends with just half a life of text on the next page, pages automatically drops the last full line of text down to the next page as well. I suppose pages does not want the short line to be lonely, but it leaves a large gap at the bottom of the page - particularly when the lines are double-spaced. I often have page limits on my assignments and am trying to squeeze as much in as possible int he space I am permitted, so losing these lines of text can be a great annoyance. How do I turn this feature off? Thanks.

    Welcome to Apple Discussions
    Walt

Maybe you are looking for

  • Illustrator CS6 is ignoring my Ctrl, Shift and Space keys.

    Using CS6 on Windows 7 and Illustrator has decided not to acknowledge my Ctrl key, Shify key or space bar. This makes using shortcuts impossible. I have tried resetting Illustrator and even deleted the App data files but it didn't help. I found peopl

  • Thank you to petes1234

    Dear Petes1234 I have finally completed an application and been able to distribute it using a zip file. I would like to thank you especially as you have helped me greatly and continually since I started posting here. That is not saying that other hav

  • Smart view 11.1.2

    HI Guru's i am using office 2003. i have install smart view and i using http://<servername>:19000/workspace/SmartViewProviders in the shared connections URL . but i am not able to connect . i am getting following message Connection to shared services

  • [SOLVED] WINE 1.3.27 (today) and EVE Incarna

    Today, after updating WINE from 1.3.26 to 1.3.27 -- EVE Incarna encounters a wine fatal error and closes, after less than 10 secs loading. What happens: The EVE Incarna startup screen loads first, then crashes with a wine fatal error. Last edited by

  • Illustrator CS2 file crashes

    I created a file yesterday in Illustrator CS2 on the MAC and today it crashes when I try to open it?? Help! I need to open this file, OR I'VE LOST A FULL DAYS WORK.