Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS counts hints into line length #15576

Open
psfinaki opened this issue Jul 10, 2023 · 0 comments
Open

VS counts hints into line length #15576

psfinaki opened this issue Jul 10, 2023 · 0 comments
Labels
Area-LangService-Hints F# hints inspired by C# inline hints Bug Impact-Low (Internal MS Team use only) Describes an issue with limited impact on existing code. Needs-More information
Milestone

Comments

@psfinaki
Copy link
Member

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.

@psfinaki psfinaki added the Area-LangService-Hints F# hints inspired by C# inline hints label Jul 10, 2023
@github-actions github-actions bot added this to the Backlog milestone Jul 10, 2023
@0101 0101 added Impact-Low (Internal MS Team use only) Describes an issue with limited impact on existing code. Needs-More information and removed Needs-Triage labels Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-LangService-Hints F# hints inspired by C# inline hints Bug Impact-Low (Internal MS Team use only) Describes an issue with limited impact on existing code. Needs-More information
Projects
None yet
Development

No branches or pull requests

2 participants