This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Line limit to 80 chars

How to limit line limit to 80 charactres. Do keil has any setting for this which gives an indication of max length on top, or it has to be done manually.

Parents
  • It's not like this is the definite last word on the issue. There are downsides and advantages to all approaches. I have a preference for literal tab characters, you don't.

    What truly matters is that all people on the project stick to the same format.

    I prefer:

    void foo(void) {
            ...
    }
    

    Others prefer:

    void foo(void)
    {
        ...
    }
    

    When I join a project that uses a style I don't like, I keep my mouth shut about it and follow that style. Because doing it the same way as everyone else is better than doing it the best way.

Reply
  • It's not like this is the definite last word on the issue. There are downsides and advantages to all approaches. I have a preference for literal tab characters, you don't.

    What truly matters is that all people on the project stick to the same format.

    I prefer:

    void foo(void) {
            ...
    }
    

    Others prefer:

    void foo(void)
    {
        ...
    }
    

    When I join a project that uses a style I don't like, I keep my mouth shut about it and follow that style. Because doing it the same way as everyone else is better than doing it the best way.

Children
No data