Skip to content

When I build a binary in a subdirectory, build error links are not valid/clickable #3068

Answered by firelizzard18
lzap asked this question in Help
Discussion options

You must be logged in to vote

The go build invocation is controlled by delve, not vscode-go. If delve supports a flag or other configuration option to change this behavior, please open a vscode-go feature request to add support for that (if we don't already support it). If delve does not have any such option, then this is a delve issue/request, not a vscode-go one.

When I click on ../../internal/config/config.go:121:37 VSCode is unable to locate this file as it tries to find it two levels above the project directory.

This is a separate issue. Is it fair to say your actual issue is, "When I build a binary in a subdirectory, build error links are not valid/clickable"? If so, then that is potentially a bug that should …

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@firelizzard18
Comment options

Comment options

You must be logged in to vote
3 replies
@lzap
Comment options

@firelizzard18
Comment options

@lzap
Comment options

Answer selected by lzap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants