Enhance workspace viewer#1022
Conversation
|
I'm trying to give those attached packages and loaded namespaces commands so that clicking them will trigger a quick pick of topics for that package. But it does not seem to be easily achievable with the existing help manager. @ManuelHentschel Any thoughts? |
|
Thanks for the PR, this is super cool :) I will have a look at this in a few hours - the main thing I'd like to check is the liveshare functionality |
Resolved. Now clicking the |
|
I tried with LiveShare and everything seems to work nicely :) Small nitpick - would it make sense to have the 'Global Environment' node expanded instead of closed by default? At present, it requires a click upon startup. This would be closer to the RStudio implementation of showing the global env by default |
It is expanded by default. See https://github.com/REditorSupport/vscode-R/pull/1022/files#diff-dc026a6295ecf05710e5e88e39d5a1a77d2d67c0a8e21b3ec2e23a6b97b985a1R37. |
|
Now if |
I thought about this. To avoid overhead, we don't want to write the package description to If we put the package description in the tooltip, then we need to forcefully populate |
Done via ac44caa. |


What problem did you solve?
Closes #1018
This PR renames the global environment watcher to workspace watcher and includes
search()andloadedNamespaces()in the writing ofworkspace.jsoninstead of the previousglobalenv.json. The following are improved:package:fooitems in Attached Namespaces or items in Loaded Namespaces will show quick pick of help topics of that package.(If you have)Screenshot
Kapture.2022-03-04.at.20.58.33.mp4
(If you do not have screenshot) How can I check this pull request?