Repository navigation
Use session package context and clean Rd hover text in embedded R - #907
Open
renkun-ken wants to merge 3 commits into
Open
renkun-ken wants to merge 3 commits into
renkun-ken wants to merge 3 commits into
Conversation
This was referenced Nov 28, 2026
renkun-ken
force-pushed
the
codex/embedded-session-packages
branch
from
November 30, 2026 05:53
ad5993f to
2266aaa
Compare
renkun-ken
force-pushed
the
codex/embedded-session-packages
branch
from
November 30, 2026 16:13
2266aaa to
d6d6faf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Embedded clients may supply the installed packages and attached search order of the execution session that owns a document. Package-name suggestions, namespace exports, unqualified functions, signatures, and help then reflect that context. Changes in the catalogue invalidate stale provider caches while retaining open and unsaved editor buffers. The default standalone server keeps its existing library behavior.
Clean terminal overstrikes from the plain Rd help fallback, including cached help, before returning editor hover text. Preserve actual underscores, Markdown code, and document ranges.
Verification
library(data.t)offered the package anddata.table::returned exports. Attaching and detaching changed unqualified completion, and attachment order selected the expected masked function.Stacked on #905. The extension-side integration is tracked in vscode-R #2003.