dotnet / dotnet/roslyn

Auto-indent doesn't work in inline diff mode

Open
#74,453 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

**Version Used**:
Both 17.10/17.11

**Steps to Reproduce**:
When inline diff mode, auto-indent doesn't work.

Inline diff mode:

![AutoIndentBroken](https://github.com/user-attachments/assets/1b75e13a-5d85-4f24-92c2-41f7e697760f)

Normal source file:

![AutoIndentWorking](https://github.com/user-attachments/assets/fb8c0316-9363-42f7-b104-644e1e1f710d)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the problem in inline diff mode on versions 17.10 or 17.11, then compare auto-indentation with a normal source file. Trace the editor's auto-indent handling for inline diffs; done means indentation works in inline diff mode as it does in the normal source view.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.