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

[BUG] Autocomplete always adds the first using #298

Closed
RobertOstermann opened this issue Jul 30, 2023 · 0 comments
Closed

[BUG] Autocomplete always adds the first using #298

RobertOstermann opened this issue Jul 30, 2023 · 0 comments
Labels
area-roslyn bug Something isn't working
Milestone

Comments

@RobertOstermann
Copy link

RobertOstermann commented Jul 30, 2023

Describe the Issue

When using the autocomplete feature selecting an option adds a using statement to the top of the file. If there are multiple options with the same name, it is adding the using statement for the top option.

image

image

Steps To Reproduce

Attempt to autocomplete something with multiple options of the same name. In my example I attempted to add the JsonIgnore annotation and even though I selected the second option (Newtonsoft.Json) the using System.Text.Json.Serialization statement was added.

Expected Behavior

The correct using statement should be added.

Environment Information

  • VSCode Version: 1.81.0-insider
  • C# Dev Kit Version: v0.3.18
  • Windows 10 using WSL
@RobertOstermann RobertOstermann added the bug Something isn't working label Jul 30, 2023
@microsoft-issue-labeler microsoft-issue-labeler bot added the area-project Project load, Solution Explorer label Jul 30, 2023
@timheuer timheuer added area-roslyn and removed area-project Project load, Solution Explorer labels Jul 31, 2023
@webreidi webreidi added this to the GA milestone Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-roslyn bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants