Are you compulsively spamming that “Clear” button on the console after every message? Well, then I have great news for you! Copy the following script, paste it anywhere you like and you will be able to compulsively spam CTRL+Q!
[MenuItem("Extra Tools/Clear Console %q")] // CTRL + Q private static void ClearConsole() { Assembly assembly = Assembly.GetAssembly(typeof(SceneView)); Type type = assembly.GetType("UnityEditor.LogEntries"); MethodInfo method = type.GetMethod("Clear"); method.Invoke(new object(), null); }
Or you can download it from GitHub.
I will be updating the project with some other useful stuff. Stay tuned and let me know if there is anything you would like me to add.
PS: As far as I can tell, there is no command for this in the new shortcut editor in 2019.1