Allow pre formatted Sql


The sql prettifier is pretty nice for visual appeal, but pretty useless for copying the query to your clipboard. I’d like to be able to copy a query and insert it into query analyzer to run it if I need to. I suggest a separate tab or something that would switch the formatted view to a standard code or pre view that can be copied with the correct line breaks.


this already exists, you can choose:

MiniProfiler.Settings.SqlFormatter = new StackExchange.Profiling.SqlFormatters.SqlServerFormatter();


Sam, this works to format the sql for display, but if you select the sql copy/paste it into another app (notepad, ssms, etc), the sql looses it formatting and gets pasted on a single line making it difficult if you want to copy sql to optimize/debug it.