-
Notifications
You must be signed in to change notification settings - Fork 138
On hover symbol documentation pop-up is not showing up #775
Description
I apologize in advance for the vagueness of this issue. I did try to debug this for several hours and now, on the verge of giving up, I am posting this.
All of a sudden (i.e., with VSCode update 1.60.0), the on hover documentation pop-up is not working anymore. For example, hovering over quantile(1:100) produces:
Whereas until now it used to produce:
I am running the following version of VSCode:
Version: 1.60.0
Commit: e7d7e9a9348e6a8cc8c03f877d39cb72e5dfb1ff
Date: 2021-09-01T10:56:36.444Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin arm64 20.6.0
The extension version is v2.2.0, but the same behavior is also present with the manually installed extension at 1c643ad.
I removed all extensions from VSCode, cleared all leftover folders I was aware of (see below), and performed a clean install with only the R extension enabled.
rm -rf ~/Library/Preferences/com.microsoft.VSCode.helper.plist
rm -rf ~/Library/Preferences/com.microsoft.VSCode.plist
rm -rf ~/Library/Caches/com.microsoft.VSCode
rm -rf ~/Library/Caches/com.microsoft.VSCode.ShipIt/
rm -rf ~/Library/Application\ Support/Code/
rm -rf ~/Library/Saved\ Application\ State/com.microsoft.VSCode.savedState/
rm -rf ~/.vscode*
On the clean installed, I cleared all user settings and ensured I only use the settings necessary for the R extension:
{
"r.rpath.mac": "/usr/local/bin/R",
"r.rterm.mac": "/opt/homebrew/bin/radian",
"r.session.levelOfObjectDetail": "Detailed",
"r.sessionWatcher": true,
"r.bracketedPaste": true,
"r.lsp.diagnostics": false,
"r.plot.useHttpgd": true,
"r.plot.defaults.fullWindowMode": true,
"r.workspaceViewer.clearPrompt": false,
"r.workspaceViewer.removeHiddenItems": true,
"r.rterm.option": [
"--no-save",
"--no-restore"
]
}Finally, my .Rprofile contains:
# Config for plotting.
if (interactive() && Sys.getenv("RSTUDIO") == "") {
Sys.setenv(TERM_PROGRAM = "vscode")
if ("httpgd" %in% .packages(all.available = TRUE)) {
options(vsc.plot = FALSE)
options(device = function(...) {
httpgd::hgd(silent = TRUE)
.vsc.browser(httpgd::hgd_url(history = FALSE), viewer = "Beside")
})
}
source(file.path(Sys.getenv(if (.Platform$OS.type == "windows") "USERPROFILE" else "HOME"), ".vscode-R", "init.R"))
}
# https://github.com/Ikuyadeu/vscode-R/issues/419
options(radian.auto_match = FALSE)Can you please help me understand how to get back the documentation pop-up?

