This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Support for attaching to a local process and detaching without killing it!!
-
@BetaXOi & Joel Hendrix (@jhendrixMSFT)
- When debugging, support attaching to a local Go process and detaching gracefully without killing the process.
This uses the attach command of delve. Feature Request 1599 implemented with PR 2125.
Please note the feature of attaching to a local process using process id only works when the process is started by running the compiled code i.e the executable and not by using the command
go run
. This is a limitation from delve. - When debugging, support attaching to a local Go process and detaching gracefully without killing the process.
-
- A new command
Go: Restart Language Server
to restart the language server which previously was possible only by reloading the VS Code window. Feature Request 2500 implemented with PR 2530
- A new command
-
Rebecca Stambler (@stamblerre)
- Enable diagnostics feature from
gopls
by default and add the feature to provide to clickable Godoc links for import statements. PR 2518
- Enable diagnostics feature from
-
- Add a new option
incrementalSync
togo.languageServerExperimentalFeatures
setting. If true, the language server will accept incremental document synchronization. PR 2493
- Add a new option
-
- Resolve
${workspaceRoot}
and${workspaceFolder}
for the-vetTtool
flag provided ingo.vetFlags
setting. Feature Request 2527 implemented with PR 2528
- Resolve
-
- Resolve
${workspaceRoot}
and${workspaceFolder}
for the values provided to thego.alternateTools
setting. Feature Request 2543 implemented with PR 2544
- Resolve
-
- Ensure Go binary is in the PATH when running Go tools. Fixes Bug 2514 with commit d93a0aec
- Use
gotype-live
to provide diagnostics as you type only when the user is not usinggopls
and is not in module mode. This is becausegopls
supports this feature out of the box and the tool doesnt support modules. Fixes Bug 1950 with commit d1bf95c5