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
{{ message }}
This repository was archived by the owner on Jul 28, 2022. It is now read-only.
didOpenLanguage=flag.String("didOpenLanguage", "", "(HACK) If non-empty, send 'textDocument/didOpen' notifications with the specified language field (e.x. 'python') to the language server for every file.")
32
-
jsonrpc2IDRewrite=flag.String("jsonrpc2IDRewrite", "none", "(HACK) Rewrite jsonrpc2 ID. none (default) is no rewriting. string will use a string ID. number will use number ID. Useful for language servers with non-spec complaint JSONRPC2 implementations.")
33
-
glob=flag.String("glob", "", "A colon (:) separated list of file globs to sync locally. By default we place all files into the workspace, but some language servers may only look at a subset of files. Specifying this allows us to avoid syncing all files. Note: This is done by basename only.")
34
-
trace=flag.Bool("trace", true, "trace logs to stderr")
28
+
proxyAddr=flag.String("proxyAddress", "127.0.0.1:8080", "proxy server listen address (tcp)")
29
+
pprofAddr=flag.String("pprofAddr", "", "server listen address for pprof")
didOpenLanguage=flag.String("didOpenLanguage", "", "(HACK) If non-empty, send 'textDocument/didOpen' notifications with the specified language field (e.x. 'python') to the language server for every file.")
33
+
jsonrpc2IDRewrite=flag.String("jsonrpc2IDRewrite", "none", "(HACK) Rewrite jsonrpc2 ID. none (default) is no rewriting. string will use a string ID. number will use number ID. Useful for language servers with non-spec complaint JSONRPC2 implementations.")
34
+
glob=flag.String("glob", "", "A colon (:) separated list of file globs to sync locally. By default we place all files into the workspace, but some language servers may only look at a subset of files. Specifying this allows us to avoid syncing all files. Note: This is done by basename only.")
35
+
trace=flag.Bool("trace", true, "trace logs to stderr")
35
36
)
36
37
37
38
typecloneProxystruct {
@@ -79,6 +80,20 @@ func main() {
79
80
log.Fatalf("Invalid jsonrpc2IDRewrite value %q", *jsonrpc2IDRewrite)
80
81
}
81
82
83
+
// Ensure the path exists, otherwise symlinks to it cannot be resolved.
0 commit comments