Smart Integrated Comments with CRLF

Sysprogs forums Forums VisualGDB Smart Integrated Comments with CRLF

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22031
    hvbill
    Participant

    Is there a way to change line endings for the smart integrated comments from LF to CR LF in VisualGDB?

    I’m running 5.4 preview 4.

    #22042
    support
    Keymaster

    Hi,

    We have rechecked this and it looks like VS overrides the line endings passed to it by VisualGDB. We will investigate further and will try to add a workaround, however this will be done after the upcoming Preview 5.

    As a temporary workaround, please let Visual Studio normalize the line endings when you open the files (or configure git to always commit the specified line ending style if you are using it).

    Update: we have found the root cause of it and it traces back to one of the components used internally by Visual Studio [details]. We have tried several workarounds, however they all have considerable negative side effects due to the way VS handles the snippets internally. Hence unfortunately we won’t be able to add any VisualGDB-level workaround for this and would advise relying on Visual Studio or your source control system to automatically normalize line endings, sorry.

    • This reply was modified 6 years, 1 month ago by support. Reason: Pinpointed the root cause
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.