-
Notifications
You must be signed in to change notification settings - Fork 797
Go: Fill struct is missing. #3101
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Milestone
Comments
Change https://go.dev/cl/552735 mentions this issue: |
"Go: Fill struct" command was retired #2107 Sorry for interrupting your workflow. We considered to leave |
OK,Thank you ! @hyangah |
gopherbot
pushed a commit
to golang/tools
that referenced
this issue
Dec 31, 2023
This change simplifies the interface to "suggested fix" functions so that the general case and single-file case are more alike. The argument types have changed thus: (file.Handle, protocol.Range) -> (pkg *cache.Package, pgf *parsego.File, start, end token.Pos) and the results thus: []protocol.TextDocumentEdit -> (*token.FileSet, *analysis.SuggestedFix) The extra FileSet result is needed because Pos values in the SuggestedFix are not necessarily mapped by pkg.FileSet(). The logic of the singleFile wrapper moved into ApplyFix, so it is now trivial, but unfortunately we can't get rid of it yet because it breaks an import cycle from the analyzer packages to cache. We first need to stop using analyzers for quick fixes. Also: - rename suggestedFixFunc -> Fixer - add various missing comments. - merge the two parts of stubMethodsFixer. (This was preparatory work while trying to understand the associated issue.) Updates golang/vscode-go#3101 Change-Id: I4602f7e22730a9037707e13f08b52d5cb7c714d6 Reviewed-on: https://go-review.googlesource.com/c/tools/+/552735 Reviewed-by: Robert Findley <rfindley@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Alan Donovan <adonovan@google.com>
Booo |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Type: Bug
The Go: fill struct is missing when i use mac os remote ssh a ubuntu server.
Extension version: 0.40.1
VS Code version: Code 1.85.1 (Universal) (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:48:06.308Z)
OS version: Darwin arm64 21.6.0
Modes:
Remote OS version: Linux x64 5.4.0-117-generic
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: