Pre-release versions of vscode-go include experimental features. These features may be individually enabled or disabled via the setting go.experiments.
Go Companion includes an experimental test explorer implementation based on gopls‘s test discovery. This requires gopls v0.17.0 or newer. If Go Companion is present and vscode-go is a pre-release version, vscode-go will prefer Go Companion’s test explorer, disabling its own, unless the experiment is set to off. The experimental test explorer provides more robust test discovery by using gopls, including static discovery of some subtests. It also implements:
files.exclude or goExp.testExplorer.exclude.goExp.testExplorer.discovery to “off”.goExp.testExplorer.showFiles, goExp.testExplorer.nestPackages, and goExp.testExplorer.nestSubtests.