Go doesn't recognize workspace because of capital change #3180
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go, VS Code & VS Code Go extension are you using?
Version Information
go version
to get version of Go from the VS Code integrated terminal.gopls -v version
to get version of Gopls from the VS Code integrated terminal.code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders.Go: Locate Configured Go Tools
command.Share the Go related settings you have added/edited
Default setting.
Describe the bug
If you change the lettercase of whatever letter (no other modification beside changing the lettercase) in your project path, Go will stop checking for error and there is yellow squiggly line under "package main" that tells me this error:
No active builds contain D:\Zill_Laiss\programming\backend\Go\go-workspace\main.go: consider opening a new workspace folder containing it
.I deleted the folder and created a new one with the exact same name, it gave me the same result. To get around this, I must create a new project with different name (by adding or removing one letter). So either no name changing forever or move all the projects within that folder to another one.
What I expect is that Go is not case sensitive when it comes to its pathing. I don't see why it should be in the first place.
Bug level: Annoyance
Steps to reproduce the behavior:
Screenshots or recordings
Not needed.
The text was updated successfully, but these errors were encountered: