Formatting style of preprocessor directives

Is there any way to set the preprocessor directives style formatting?

I am getting this:

void OnGUI()
    {
        #if UNITY_EDITOR
            GUILayout.Label("Running In Editor");
        #else
            GUILayout.Label("NOT Running In Editor");
        #endif
    }

formatted to this:

   private void OnGUI()
    {
#if UNITY_EDITOR
        GUILayout.Label("Running In Editor");
#else
            GUILayout.Label("NOT Running In Editor");
        #endif
    }

Which really looks like a mess..

1 comment
Comment actions Permalink

It is not possible now. There are the following tickets in YouTrack regarding that:


So, you are welcome to comment and vote for it.

Thanks!

0

Please sign in to leave a comment.