dotnet/roslyn

Copy Paste Indent Level Wrong

Open

#28,868 opened on Jul 26, 2018

View on GitHub
 (8 comments) (0 reactions) (0 assignees)C# (20,414 stars) (4,257 forks)batch import
Area-IDEBugDeveloper Communityhelp wanted

Description

When I copy and paste the commented method over the uncommented method the braces and inner data end up at the wrong indentation level. See attached video and before/after screenshot.

This issue has been moved from https://developercommunity.visualstudio.com/content/problem/299080/copy-paste-indent-level-wrong.html VSTS ticketId: 653311 These are the original issue comments: (no comments) These are the original issue solutions: (no solutions)

Contributor guide