[release] prepare v0.18.0 release @9e91b75

9e91b75 test: extract helper function for checking variable value
59e1356 src/goMain: try both gc_details and gopls_gc_details
26d2a33 src/debugAdapter: indicate that conditional breakpoints are supported
8fc4183 src/goLanguageServer: enable survey for the go extension users
6703469 src/debugAdapter: revert cl/253578
d2fbb62 debugAdapter: Fix bugs that cause remote debug to hang
c17c69f src/goModules: exclude vendor paths from inferGopath disable mechanism
0cdccf1 test: increase timeout for debug adapter tests
6a2a004 test: fix breakpoint tests on windows
7d5f58a test: add go directive to fixtures
9e6fac4 src/goInstallTools: prompt again after showing 'release notes'
d57f263 test: adjust tests involving 'check*' when language server is on
560405b src/goInstallTools.ts: handle stderr of go env
8f08cfd src/goEnvironmentStatus.ts: allow to choose go from file browser
263c427 test: test the debug adapter on test launch configurations
51a4b3a test: disconnect from the debug adapter after each test
5b25666 package.json: upgrade vscode-languageclient to use 7.0.0-next.9
a587fea src/goMain.ts: call gc_details command through vscode API
0aea0bf CHANGELOG.md: cherry-pick v0.17.1/v0.17.2 CHANGELOG changes
acf2483 src/util.ts: handle diagnostics errors for all visible files
0c3ec39 docs: improve documentation for debugging CLI applications
7e58c56 snippets: add a placeholder for the for loop index
cfa00f0 test: add debug adapter tests
ec96bd7 src/goStatus.ts: refactor status bar code into goStatus.ts
b2692c9 src/debugAdapter: send terminated event when program exits
70f7a71 src/goLanguageServer.ts: enable language server by default in nightly
39c9a2e build/all.bash: install dependencies without -v
473c0fc vs-code tasks: missed comma in the snippet
89f5d4e goLanguageServer: send the gopls config as initialization options
b6aeab4 goModules: set "go.useLanguageServer" to true if the user installs it
1b82f49 src/goEnvironmentStatus.ts: clear pre-installed terminal PATH mutation
9bf9d64 src/goInstallTools.ts: add GOROOT/bin to PATH when it wasn't found from PATH
50240bf LICENSE: restore LICENSE
dbb38c5 goLanguageServer: correctly reflect modifications to the survey config
690469c src/goStatus.ts: consolidate Go status bar items
9ab1e77 src/goMain.ts: call listeners for active text editor on init
a2c7402 goLanguageServer: add command to toggle gc_details
ab4b257 src/goInstallTools.ts: mutate PATH only when necessary
e0ce53b docs/debugging.md: document lack of symlink support
c65170a docs/stdlib.md: clarify the change in the go.alternateTools section
8e9cae7 src/goInstallTools.ts: return a rejected promise when go isn't found
18cfe6e src/debugAdapter: add 'panic' and 'fatal error' as stopped reasons
f9daaad src/goLogging.ts: add go.logging.level and log PATH mutation
9ebcc1f src/goLanguageServer.ts: include sanitized trace to issue report
9d97bb5 src/debugAdapter: delete unused launch.json
8d0bafa package.json: default 'go.coverMode' to be 'default'
ed434b2 Merge "[latest] v0.17.0"
e2dedc0 [latest] v0.17.0
5c4b766 src/debugAdapter: remove null items in variables response for maps
29cee47 debugAdapter: fix a bug where we are not sending back configuration done response
5879a3e test/gopls: fix completion middleware test
59858d7 src/goDebugConfiguration.ts: add resolveDebugConfiguration back
9a2bc10 src/debugAdapter: send stopped events from continue on breakpoint only
d34fee8 docs/debugging.md: update remote debugging documentation
a5e0287 build/all.bash: build vscode-test-env from the root
c929a2b [latest] v0.16.2
2fe721b [latest] v0.16.1
586c956 [latest] v0.15.2
dc45442 [latest] v0.15.1 release
eab00f7 [latest] v0.15.0 release

Change-Id: If2f9a073a8a86754044e85671d5527b04d7c7ae4
diff --git a/package-lock.json b/package-lock.json
index 6637722..88b653e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
 {
   "name": "go",
-  "version": "0.18.0-dev",
+  "version": "0.18.0",
   "lockfileVersion": 1,
   "requires": true,
   "dependencies": {
diff --git a/package.json b/package.json
index 5bac921..d7cbf1c 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
 {
   "name": "go",
   "displayName": "Go",
-  "version": "0.18.0-dev",
+  "version": "0.18.0",
   "publisher": "golang",
   "description": "Rich Go language support for Visual Studio Code",
   "author": {
diff --git a/src/goInstallTools.ts b/src/goInstallTools.ts
index d4919f5..34b7b4f 100644
--- a/src/goInstallTools.ts
+++ b/src/goInstallTools.ts
@@ -28,6 +28,7 @@
 	Tool,
 	ToolAtVersion,
 } from './goTools';
+import { getFromWorkspaceState } from './stateUtils';
 import {
 	getBinPath,
 	getBinPathWithExplanation,