dotnet / dotnet/vscode-csharp

Smart indent does not work between method bodies

Open
#5,768 0 comments 0 reactions 1 assignee Claimed by @Cosifne View on GitHub
Bug Triaged
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
18h 40m
Merged PRs (30d)
31

Description

Affected Branch:
Affected Build: csdevkit-win32-x64-0.0.527-alpha.vsix
Affected Product Language:

Steps to reproduce:

1. Open a C# document with more than one method
2. Click the blank line between the two methods

Expected behavior:

The caret is placed at the indentation level of the two methods.
When a character is typed, the character appears at the correct indentation level.
Actual behavior:

The caret is placed at the left margin.
When a character is typed, the character is not correctly indented.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.