No.... In a large app, is more clear view the logs in parts, clearing in certain points, and sometimes the process is slow and then we not in front of this button
This is a nice idea however the "cost" (time and added complexity) to implement it are much higher than the (small) benefit.
The only way that user code directly interacts with the IDE is through the logs. It is possible to send commands through the logs. This is how LogColor works for example (and there are other cases as well).
However a "clear command" cannot work this way as it will cause the logs to clear in unwanted situations. For example when the IDE connects to the logs and then sees an old clear command.
as you go through the lines to make them into single line selectable items in the log view it should be easy to detect that and clear the log.
there's no need for fancy code sending or something like that just a 5 minute hack like this will work. (just an additional if/then in the ide's log routines)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.