Forrest logo
back to context overview

astyle

List of commands for astyle:

  • astyle:tldr:033ad astyle: Apply the allman style with broken braces.
    $ astyle --style=allman ${filename}
    try on your machine
    explain this command
  • astyle:tldr:0dea8 astyle: Apply a custom indent using spaces. Choose between 2 and 20 spaces.
    $ astyle --indent=spaces=${number_of_spaces} ${filename}
    try on your machine
    explain this command
  • astyle:tldr:3c85c astyle: Apply the default style of 4 spaces per indent and no formatting changes.
    $ astyle ${source_file}
    try on your machine
    explain this command
  • astyle:tldr:93394 astyle: Apply the Java style with attached braces.
    $ astyle --style=java ${filename}
    try on your machine
    explain this command
  • astyle:tldr:9fa0c astyle: Apply a custom indent using tabs. Choose between 2 and 20 tabs.
    $ astyle --indent=tab=${number_of_tabs} ${filename}
    try on your machine
    explain this command
back to context overview