Search code examples
visual-studionotepad++

Visual Studio stack trace in notepad++


This is probably just a setting I'm not seeing, but when I get a stack trace out of Visual Studio's exception helper dialog, it has \r\n after each "line" in the call stack. When I copy this and paste it into Notepad++, it shows up as literally \r\n, visible in the document. Of course I'd like these to be interpreted as CR LF, so everything's on a different line.

Anyone know how to do this?


Solution

  • I know this question is old, but maybe someone will find the solution helpful.

    Open find and replace, and go to the replace tab

    In the find box type \\r\\n

    In the replace box type \r\n (both without quotes)

    Make sure the Extended search mode is selected in the bottom left.

    Finally, hit replace all.

    Screenshot of my window.