GithubHelp home page GithubHelp logo

Comments (6)

rmkeezer avatar rmkeezer commented on July 28, 2024 1

Since we are using catkin cmake instead of make, the build system is a bit different. For now, we can use clang-format to format any one file or a bash file to format all files.

from igvc-software.

jgkamat avatar jgkamat commented on July 28, 2024

If you want, you can use justin's tool called stylize to format only the files changed since the merge from master (which is what we use). You can write a small shell script to format all files if you want that intead as well.

from igvc-software.

barulicm avatar barulicm commented on July 28, 2024

Our ROS projects should follow the ROS style guidelines to be consistent with other ROS code out there.
There is a clang-format style definition for the ROS guidelines available here.

from igvc-software.

rmkeezer avatar rmkeezer commented on July 28, 2024

I was using the robojackets formatting that Robocup are using: https://github.com/RoboJackets/style-configs
I'm not a fan of using ros style guide since they are quite a bit different from what our current code is.
2 space indents
braces on their own line
120 column limit
But if everyone is ok with using the ROS style guidelines, we'll use that.

from igvc-software.

rmkeezer avatar rmkeezer commented on July 28, 2024

I'll open up a poll

from igvc-software.

rmkeezer avatar rmkeezer commented on July 28, 2024

ROS style is being used for now but may be changed in the future. Auto-formatting is moved and detailed in issue #192

from igvc-software.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.