Copy the code text from MS Visual Studio 2022 and keeping the source color and formatting

Noah Aas 1,210 Reputation points
2024-05-30T07:04:13.29+00:00

Hello!

Tools --> options --> Text Editor --> Advanced --> Copy rich text

https://learn.microsoft.com/en-us/visualstudio/ide/reference/options-text-editor-advanced?view=vs-2022

Works in VS2019 well. In 2022 not.

Something is missing. Does anyone see it or know the cause?

3---TEXST---Ashampoo_Snap_Mittwoch, 29. Mai 2024_07h19m16s_007_

Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
{count} votes

Answer accepted by question author
  1. Viorel 125.7K Reputation points
    2024-05-30T07:14:02.5166667+00:00

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.