Skip to content

Uniform code format for Hyst #34

@stanleybak

Description

@stanleybak

I think we should setup a uniform code format for Hyst. There is a super-easy way to automate this. We provide an .xml file describing the format which Eclipse's code formatter can parse (this can be version controlled in the repository). This can be exported from Eclipse's code formatter (I already have one I use myself to make code generation closer to what I expect).

  1. You import this file within Eclipse.
  2. You set Eclipse to automatically format your code every time you save.

I've done this type of setup recently for another C++ project I'm working on, and I've found it actually saves me time when coding, since I just save with ctrl+s instead of playing with formatting when I'm editing things.

What do you think Talyor?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions