This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Artistic Style: Autoformating code using a text editor  RSS feed

 
Ranch Hand
Posts: 392
8
BSD Debian Open BSD
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In other words how obtain e.g. in Geany(I use it in a Linux box but exist for all known platforms; astyle as well ) an analogous effect  as in Eclipse's  Ctrl+Shift+F (invoke the Auto Formatter)

I was advised from a colleague about Artistic Style  a nice small Auto-formatter for the C, C++, C++/CLI, Objective‑C, C# and Java programming languages and I can confirm that do his work as it should  

The steps to go operational are pretty straightforward:
  • Download the newest version, currently is 3.1
  • Install Artistic Style -> follow the install doc (/astyle/doc/install.html) in the download (make then make install)
  • Add a custom command to Geany:  bash -c "astyle --indent-classes -Y"
  • To customize this thake a glance at the Artistic Style documentation
  • Select an text area and press Ctrl+1 to run the first Geany custom command

  •  
    Yup, yup, yup. Tiny ad:
    RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
    https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!