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

AddOpen code fix doesn't offer full qualification anymore #15911

Open
Tracked by #15408
psfinaki opened this issue Sep 1, 2023 · 0 comments
Open
Tracked by #15408

AddOpen code fix doesn't offer full qualification anymore #15911

psfinaki opened this issue Sep 1, 2023 · 0 comments
Labels
Area-LangService-CodeFixes Code fixes associated with diagnostics Bug Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone

Comments

@psfinaki
Copy link
Member

psfinaki commented Sep 1, 2023

This should actually offer two things:

  1. Add open directive (open System)
  2. Fully qualify the namespace (System.Console.WriteLine)

image

Now, this happens because the code fix only shows the first suggestion of all that it generated.

@psfinaki psfinaki added Bug Area-LangService-CodeFixes Code fixes associated with diagnostics Needs-Triage labels Sep 1, 2023
@github-actions github-actions bot added this to the Backlog milestone Sep 1, 2023
@0101 0101 added Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code. and removed Needs-Triage labels Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-LangService-CodeFixes Code fixes associated with diagnostics Bug Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code.
Projects
Status: New
Development

No branches or pull requests

2 participants