microsoft / microsoft/TypeScript

Incorrect Indenting Behavior in VS

Open
#38,830 12 comments 0 reactions 2 assignees View on GitHub

@jessetrinity is already working on this.

Since May 28, 2020.

Domain: LS: Smart Indentation Needs Investigation Visual Studio
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

Ported from https://github.com/dotnet/roslyn/issues/44607 by @DanielRosenwasser

This issue has been moved from a ticket on Developer Community.


Found this problem was reported before, appears to have been reported as fixed. But it is happening again… The title info for the original report is:

TITLE: Wrong indenting
DATE: Olaf van der Spek reported 12/7/2018, 12:54:20 PM

Problems is effectively the same. Running VS 2019 v16.6.0. When you select the editor’s setting for “Indenting” which can be one of [NONE|BLOCK|SMART], selecting ‘BLOCK’ the cursor, most of the time, upon present ENTER goes to column 1 on the next line. Appears “INDENTING is behaving as “NONE” is selected.
Not sure when started, bouncing between VS 2017 and 2019, never have seen the problem in 2017, can’t say it ever worked in 2019 for that matter.


Original Comments
Visual Studio Feedback System on 5/27/2020, 03:16 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.


Original Solutions

(no solutions)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.