Skip to content

VS counts hints into line length #15576

@psfinaki

Description

@psfinaki

Mentioned in this comment.

Indeed, it does:
image

I don't know if it's meant to be like this. There are three metrics there: Line, Character and Column. The Column metric is hidden unless it differs from the Character one.

Recording.2023-07-10.140309.mp4

It's not really clear what are the designed scenarios for that.

Note, C# does the same.
image

So, I see a few explanations to what is going on:

  1. It's by design
  2. It's a bug in Roslyn
  3. There is a setting for this which neither F# nor C# utilizes

Further investigation is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-LangService-HintsF# hints inspired by C# inline hintsBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.Needs-More information

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions