-
Notifications
You must be signed in to change notification settings - Fork 305
Cleanup | SqlDiagnosticListener Classes #3232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you using any kind of linter for these changes? I see an editorconfig file checked into the repo, but I don't have much experience with c# linting. Is there a good way to leverage that across IDEs so that we can all follow the same style?
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3232 +/- ##
==========================================
- Coverage 72.76% 72.70% -0.06%
==========================================
Files 303 303
Lines 59527 59712 +185
==========================================
+ Hits 43317 43416 +99
- Misses 16210 16296 +86
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@mdaigle Sort of... The tooling I use raises a lot more suggestions/hints than plain VS, but it's not raising line length suggestions. Partly because the entire codebase would light up brighter than a christmas tree, partly because I don't know if it's even a supported feature, partly because it may already be turned off in .editorconfig, and partly because I don't really like line length being an enforced thing - I try to follow no lines >120 characters, but sometimes it's only over by a few characters and splitting it would make it less readable. In that situation I don't really want to be forced to split it, I don't want to have it be permanently lit up, and I don't want to have to put (possibly tooling-specific) warning suppressions in the code. It's all very subjective :) |
Description: Based on the reception of my last cleanup PR, i don't know how this one will be received. This PR just tidies up the SqlDiagnosticListener classes after they were merged.
Testing: Once more, no real functional behavior change. Just a bit of tweaks to syntax and a change that doesn't impact anything external (the name thing).