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: Auto add missing imports dont work well #715

Closed
TheElegantCoding opened this issue Dec 5, 2023 · 1 comment · Fixed by #733
Closed

🐛 BUG: Auto add missing imports dont work well #715

TheElegantCoding opened this issue Dec 5, 2023 · 1 comment · Fixed by #733
Labels
- P3: minor bug An edge case that only affects very specific usage (priority)

Comments

@TheElegantCoding
Copy link

Describe the Bug

in my vscode config i have this line of code, this let me save the file and let vscode auto import the missings imports, but this dont work well

{
  "editor.codeActionsOnSave": {
    "source.fixAll": true,
    "source.addMissingImports": true
  },
}

as you can see in the photo, this add the import in the top of the line not where it should go

image

Steps to Reproduce

{
  "editor.codeActionsOnSave": {
    "source.fixAll": true,
    "source.addMissingImports": true
  },
}
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Dec 5, 2023
@Princesseuh Princesseuh added - P3: minor bug An edge case that only affects very specific usage (priority) and removed needs triage Issue needs to be triaged labels Dec 5, 2023
@Princesseuh
Copy link
Member

Thank you for this issue! Mapping imports is always a bit tricky, ha.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- P3: minor bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants