As I begin to put more tracing in my code, I understand that it adds a lot of mess. I know that Visual Studio allows you to hide and detect the code, however I would like the group code to be in the tracking code, and then hide it and detect it as desired when I read the code. I suppose he could do this either for each file, or for each class, or for each function.
Is there any way to do this? What are you guys doing?
Adding some clarification
The hidden view of the function allows you to do this, except that when the code is hidden, you cannot determine whether its trace is or not. You also cannot say “hide all trace code” and “show all trace code”, which is useful when reading a function depending on what you are trying to do.
c # visual-studio code-readability tracing
Mark
source share