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.
Change-Id: Iba7a6137cb0b88a59318217a9a28d079100192a4
Copy file name to clipboardExpand all lines: gopls/internal/doc/api.json
+13
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,19 @@
92
92
"Status": "",
93
93
"Hierarchy": "build"
94
94
},
95
+
{
96
+
"Name": "workspaceFiles",
97
+
"Type": "[]string",
98
+
"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. By default, this will look\nfor changes to every go.mod / go.work file in your workspace.\n",
0 commit comments