Skip to content

Indentation (tabs or spaces) #4810

@JohannesLorenz

Description

@JohannesLorenz

Looking at the current code base, indentation is made using tabs, which also conforms to our coding conventions. The conventions, however, don't name the length for each tab. You can usually check line breaks or constructor initializer lists to see what tab length was used in the past.

  • src/core/Instrument.cpp: 4
  • plugins/LadspaEffect/LadspaSubPluginFeatures.h: 4
  • src/core/ProjectRenderer.cpp: 8
  • plugins/GigPlayer/GigPlayer.cpp: 8

The most files seem to use 4, though.

Note: We can do automatic conversions using #4690 .

Please vote (multiple votes allowed):

  • 🎉 Use tab lenght of 4
  • ❤️ Use tab length of 8
  • 🚀 Change tabs into spaces (length 4)
  • 👎 Other option, specify

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