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

VsCode quick fix "Create File" function failed to Create file successfully #3141

Closed
xiankq opened this issue Feb 12, 2021 · 1 comment
Closed
Labels
in editor Relates to code editing or language features in lsp/analysis server Something to be fixed in the Dart analysis server is bug
Milestone

Comments

@xiankq
Copy link

xiankq commented Feb 12, 2021

Describe the bug
When importing a file that does not exist, using the quick fix "create file" did not automatically create the file, and there was no abnormal prompt

To Reproduce
Steps to reproduce the behavior:
1.Introduce non-existent files in dart code
2.Use "quick fix"
3.Use "create file"

Expected behavior
Let "create file" successfully create this file

Screenshots

Versions (please complete the following information):

  • VS Code version:1.53.2
  • Dart extension version:dart 3.19.2 flutter 3.19.0
  • Dart/Flutter SDK version:dart 2.10 flutter 1.22.6
@xiankq xiankq added the is bug label Feb 12, 2021
@DanTup DanTup added this to the v3.20.0 milestone Feb 16, 2021
@DanTup DanTup added in editor Relates to code editing or language features in lsp/analysis server Something to be fixed in the Dart analysis server labels Feb 16, 2021
dart-bot pushed a commit to dart-lang/sdk that referenced this issue Feb 16, 2021
Fixes Dart-Code/Dart-Code#3141.

Change-Id: I44d7f20962512988ff1d54c7b38b6a144f973a58
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/185140
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
@DanTup
Copy link
Member

DanTup commented Feb 17, 2021

This is fixed by dart-lang/sdk@c8c49c7. The fix is in the analysis server, so will arrive in a future Dart/Flutter SDK update rather than a Dart-Code update.

Thanks for the report!

@DanTup DanTup closed this as completed Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in editor Relates to code editing or language features in lsp/analysis server Something to be fixed in the Dart analysis server is bug
Projects
None yet
Development

No branches or pull requests

2 participants