Repository navigation
-
Speed up server startup by caching the startup S3 and member metadata bundles
on disk across sessions, and by probing attached startup packages without
loadinglanguageserverin the child process. A bundle is reused only when
every package in its dependency graph is unchanged on disk and free of load
hooks, and it is keyed by the library paths in use (#852). -
Fix
Namespace exceeds snapshot budgeterrors when preparing member metadata
for R6-heavy packages such asprocessx,httrandtestthat. R6 private
and super member tables are now stored once per class instead of being copied
into every method (#853). -
Fix the same
Namespace exceeds snapshot budgeterror for packages installed
with source references (R_KEEP_PKG_SOURCE=yesorkeep.source.pkgs = TRUE),
such astestthat. Source references are now stripped from function syntax,
so member snapshots no longer depend on how a package was installed (#858). -
Fix an undefined-behaviour sanitizer report on CRAN (null pointer passed to
memset()) when indexing empty parse data (#850). -
Speed up XML-backed providers (inlay hints, semantic tokens, folding ranges,
document symbols, type hierarchy, and code actions) by rewriting XPath queries
to avoid broad node-set scans and using namespace-freexml2lookup wrappers
(#847, #846). -
Expand semantic token coverage across both parse-data and XML paths while
retaining R 4.0 compatibility (#845): emitkeywordtokens for control-flow
keywords,\lambdas, and unqualifiedreturn()calls (#839); broaden
operatorcoverage including=>,=,::/:::,@,~,?,:,
infix%...%, comparison, logical, and arithmetic operators (#840); emit
parametertokens for named call arguments and scoped formal parameter
references while respecting local shadowing (#842); attachreadonlyand
defaultLibrarymodifiers to built-in constants (NULL,TRUE,FALSE,
unshadowedT/F,Inf,NaN,NA*), ellipsis symbols, and the_pipe
placeholder (#843); and split{roxygen2}#'comments into documentation
comment,@tagmacro, and@paramparameter tokens (#844). -
Show short value, type and shape previews in member completion. The
completion_label_detailssetting enables inline signatures and tips for
both members and ordinary symbols; completion lists stay compact by default
(#857). -
Keep inline completion responsive before full parsing, inspect package
signatures without invoking active or unforced bindings, and preserve initial
label annotations during resolution unless the client supports changing them
(#857). -
Share equivalent ordered package-resolution and member-metadata requests
across documents, reuse recent successful results, and stop abandoned workers
when temporary documents close. Retain isolated workers and invalidate reuse
after package, library, or resolution-setting changes (#836, #834). -
Skip temporary diagnostics through symlink aliases, including macOS
/var
and/private/var, even after temporary files or directories are deleted
(#835, #833). -
Resolve relative file definitions and document links against the owning
workspace folder, including nested folders added or removed during a session
(#829). -
Keep quoted local names and parameters in capped completion results by
comparing decoded symbol names with the typed prefix. Preserve quoting,
escaped names and completion edits when many packages are installed (#828, #827). -
Retry failed or incomplete startup S3 metadata preparation with a cooldown,
and recover missing startup catalogs asynchronously for open source documents.
Isolate provider tests from installed packages and startup worker timing while
retaining real workspace/index coverage and conservative S3 precedence (#828, #827). -
Prepare member metadata with indexed namespace function matching and direct
eviction of unprotected cache entries, preserving exact identities, LRU order
and memory limits (#826). -
Coalesce repeated member refreshes: queued work is promoted and running work
finishes before one fresh validation, instead of restarting on every save.
Changed document, workspace and package contexts still replace obsolete work (#826). -
Split debug task timings into total, queued and running time using the elapsed
clock. Redact common credential variables from the debug session header (#826). -
Preserve manual line breaks, delimiters, literal tokens and blank lines when
formatting on Enter. Indent incomplete control-flow and function headers
without adding unmatched braces, respect tab indentation, and reject custom
style edits that would change source tokens or line positions (#832, #771, #697). -
Keep numeric and string request IDs distinct during cancellation, background
formatting and response dispatch. Normalize equivalent numeric IDs across
their integer and double representations (#826). -
Discover sourced files inside computed callees, including immediately invoked
anonymous functions, without evaluating project expressions. Refresh older
workspace-index caches so unchanged files recover these dependencies (#826). -
Keep argument-value completion working with namespace-qualified default
helpers and missing arguments. Escape suggested string literals so quotes,
backslashes and newlines retain their original values (#826). -
Preserve quoted symbol identity and complete ranges in definitions,
references, highlights and rename, including multiline names with Unicode.
Quote nonsyntactic replacement names and exclude shadowed local calls from
workspace function CodeLens counts (#826). -
Rename explicit roxygen
@paramnames together with their function parameters,
preserving descriptions and documentation attached to other functions (#831, #806). -
Decode raw strings and escaped class, slot and member names in type hierarchy
and class member symbols without evaluating declarations (#826). -
Restart pending parses and refresh diagnostics when documents move between
workspace folders. Restore saved package content after closing an unsaved
buffer with workspace indexing disabled (#826). -
Reduce repeated copying during default extraction and rename edit creation,
invalidate pending disk snapshots once per edit, and share one UTF-8 byte
index across each CLI diagnostic batch (#826). -
Lint client-only and new file buffers through temporary text sources when
their paths do not exist on the server. Preserve accessible local or owning
workspace configuration, inline exclusions and terminal-newline checks
without caching temporary filenames (#830, #688). Refresh diagnostics when a local
source path appears or disappears, even when the open buffer text is unchanged. -
Improve test suite robustness across older
callrversions and R builds that
rejectNAfile timestamps (#838, #837).
Closed issues:
- New documents always start a fresh R process for package resolution (follow-up to #754) (#834)
- Temp-directory guard in schedule_diagnostics() never matches on macOS (/var vs /private/var) (#833)
- CRAN check failures in 0.3.21 on Fedora and macOS arm64 (#827)
- Rename roxygen
@paramtags at same time as argument names (#806) - Inappropriate format on type for
if ()blocks (#771) - Issue with newline within function (#697)
- lintr diagstic support in Docker / remote servers (just by file content) (#688)
- Outline view disappears after adding new section headers in R scripts (#685)
- custom style guide in README (#664)
- Daignostics failed on all .R files (#448)
Merged pull requests:
- Strip source references from member function syntax (#858)
- Add compact member tips and optional inline completion details (#857)
- Bind R6 private environments dynamically to avoid snapshot bloat (#853)
- Cache startup metadata bundles and avoid loading namespace in package probe (#852)
- Speed up coverage workflow with O(N) trace pre-merge and balanced sharding (#851)
- Avoid passing null pointer to memset on empty syntax data (#850)
- Use empty_ns() wrappers for xml2 XPath and child lookups (#847)
- Apply xpath-style findings for efficiency, robustness (#846)
- Keep semantic token parsing compatible with R 4.0 (#845)
- Split {roxygen2} #' comments into documentation, macro, and parameter semantic tokens (#844)
- Emit readonly defaultLibrary semantic tokens for built-in constants and placeholders (#843)
- Emit parameter semantic tokens for named arguments and scoped formal references (#842)
- Expand operator semantic token coverage across parse data and XML paths (#840)
- Emit keyword semantic tokens for control-flow keywords and return() (#839)
- Skip setting an NA stamp on certain R builds (#838)
- Make test more robust to old callr (#837)
- Reuse package resolution across short-lived documents (#836)
- Fix temporary diagnostic filtering through symlink aliases (#835)
- Preserve line breaks and delimiters when formatting on Enter (#832)
- Rename roxygen parameter tags with function arguments (#831)
- Fix lintr diagnostics for files unavailable on the server (#830)
- Fix relative file paths in multi-root workspaces (#829)
- Fix quoted completion ranking and startup S3 recovery (#828)
- Fix language-feature edge cases and speed up member preparation (#826)