Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Windows: Open single file crashes plugin  #1306

@avoidik

Description

@avoidik

Hello,

Attempt to open single go-file finished with plugin failure.

Activating extension `lukehoban.Go` failed:  Cannot read property 'substr' of undefined
Here is the error stack:  TypeError: Cannot read property 'substr' of undefined
	at Object.getCurrentGoPath (C:\Users\vja\.vscode\extensions\lukehoban.go-0.6.66\out\src\util.js:301:34)

Full error log:
https://pastebin.com/8Vyti4kK

Environment variables

echo %GOROOT%
C:\tools\go\
echo %GOPATH%
C:\Users\vja\go\
echo %PATH%
...;c:\Users\vja\go\bin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions