yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project
MIT License
6.88k stars 809 forks source link

Indentation options are not applied to files being part of Packages #1461

Open grzegorzkrukowski opened 3 months ago

grzegorzkrukowski commented 3 months ago

We are using this in our project settings:

options:
  usesTabs: false
  indentWidth: 2
  tabWidth: 2

It works for all the files added to a root project, but we cannot find a way to set the same settings to all files being part of our Packages - all of them are using the user default settings, instead of project settings.

There is an indentation setting for each file in Packages - but I cannot find a way to modify it using XcodeGen.

I found a similar issue for a single file https://github.com/yonaskolb/XcodeGen/issues/1273 - but here it would be great to have something for all files being part of the given Package.

yonaskolb commented 2 months ago

We don't touch the individual files in a package, so I'm not sure this is possible. Is it possible to configure by hand in the project in a single place without using XcodeGen?