You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I run dotnet-format (with no solution or anything like that, just using dotnet-format --folder . (my main project is a Unity project, so it doesn't really have .sln or .csproj or anything like this; this is just a minimal example), it returns the following:
I realized that by default that code will not be compiled, but if I do, in fact, #define SOMETHING, then it will; is there an easy way I can tell dotnet-format to format everything, regardless of which particular defines might exist? Alternatively, I can probably call it multiple times with every definition (or combination of definitions of course) -- how do I tell it to add custom definitions?
The text was updated successfully, but these errors were encountered:
Hi,
Given the following code:
when I run dotnet-format (with no solution or anything like that, just using
dotnet-format --folder .
(my main project is a Unity project, so it doesn't really have .sln or .csproj or anything like this; this is just a minimal example), it returns the following:Note that the code within the
#if
is unformatted.I realized that by default that code will not be compiled, but if I do, in fact,
#define SOMETHING
, then it will; is there an easy way I can tell dotnet-format to format everything, regardless of which particular defines might exist? Alternatively, I can probably call it multiple times with every definition (or combination of definitions of course) -- how do I tell it to add custom definitions?The text was updated successfully, but these errors were encountered: