For the given .editorconfig
content, [Assets/NRSDK/*]
and [Assets/VLCUnity/*]
are separate section headers. They don't combine. Use [{Assets/NRSDK/*,Assets/VLCUnity/*}]
as the section header or duplicate the name/value pairs for both sections.
It appears that generated_code = true
, while used by code analyzers, may not be recognized or honored by dotnet format
. (Maybe that should be a feature request.)
The format
subcommand has an --exclude
switch. The switch can appear multiple times in the same command line.
The following should work:
dotnet format --exclude Assets/NRSDK --exclude Assets/VLCUnity