Last active
January 10, 2020 13:20
-
-
Save fatherjack/57486f936e7afdfc9f489ba99b25a63a to your computer and use it in GitHub Desktop.
ReplaceRules sp_server_diagnostics formatter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===== | |
For VSCode extension replacerules <https://marketplace.visualstudio.com/items?itemName=bhughes339.replacerules> | |
This needs to be placed in the settings.json file | |
dont forget to add a trailing comma to the content that you find there | |
and also close the final curly brace correctly | |
===== | |
"replacerules.rules": { | |
"Format sp_diagnostics results 01": { | |
"find": "><", | |
"replace": ">\n<" | |
}, | |
"Format sp_diagnostics results 02": { | |
"find": " ", | |
"replace": "\n\t" | |
} | |
}, | |
"replacerules.rulesets": { | |
"Format SP_DIAGNOSTICS": { | |
"rules": [ | |
"Format sp_diagnostics results 01", | |
"Format sp_diagnostics results 02" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment