• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Anyone have a Coding Standards formatting file?

Posts: 113
Mac Mac OS X Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My text editor(VS Code) will let me refer to an Eclipse text formatting XML file to get braces, spaces, etc for java files. Does anyone have a pre-made file that complies with Java Programming Style Guide for the Cattle Drive?

I thought I would ask before trying to muddle through reverse engineering the Eclipse formatter XML schema, and I don't want to install hundreds of megs of Eclipse just to edit a config file.
Posts: 1868
Android IntelliJ IDE MySQL Database Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to say that the standard for formatting source code is EditorConfig (https://editorconfig.org/) which many editors including VS Code, VS, Eclipse, Android Studio, IntelliJ and more support.
I would suggest that you get an EditorConfig file which already is setup for Java in general.
There are probably a few different EditorConfig files out there which are setup for Java, I suggest you see what you can find.

I am in the middle of some other tasks at the moment, but hopefully in an hour or two I can do some searching as well.
What a stench! Central nervous system shutting down. Save yourself tiny ad!
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic