You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WorkspaceFiles allows an end-user to specify a set of files which, when
modified, will trigger a full reload of any views currently open in a
session. This is especially important for users who use custom
GOPACKAGESDRIVERS, as previously, you were forced to restart the
language server in order to get up-to-date diagnostics in some certain
instances.
For golang/go#59625
Change-Id: Iba7a6137cb0b88a59318217a9a28d079100192a4
Reviewed-on: https://go-review.googlesource.com/c/tools/+/640076
Auto-Submit: Robert Findley <[email protected]>
Reviewed-by: Alan Donovan <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Robert Findley <[email protected]>
Copy file name to clipboardExpand all lines: gopls/internal/doc/api.json
+13
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,19 @@
99
99
"Hierarchy": "build",
100
100
"DeprecationMessage": ""
101
101
},
102
+
{
103
+
"Name": "workspaceFiles",
104
+
"Type": "[]string",
105
+
"Doc": "workspaceFiles configures the set of globs that match files defining the logical build of the current workspace.\nAny on-disk changes to any files matching a glob specified here will trigger a reload of the workspace.\n\nThis setting need only be customized in environments with a custom GOPACKAGESDRIVER.\n",
0 commit comments