Skip to content

Releases: REditorSupport/vscode-R

v2.7.2

06 Mar 15:07

Choose a tag to compare

Enhancements

  • Upgrade vscode-languageclient to 8.1.0 (#1315)
  • Workspace viewer will be cleaned-up when the attached R session exits. (#1318, #1321)
  • A new command r.view is added to view selected objects. (#1319, thanks @yeyun1999)
  • Workspace viewer commands that require an attached R session are now disabled when no R session is attached. (#1323)

Fixes

  • Workspace viewer now has a fallback message instead of causing error if session watcher is disabled. (#1317)

Commits

v2.7.1

15 Feb 16:09

Choose a tag to compare

New Features

  • A new setting r.source.echo is added to support sending source(file, echo = TRUE) by default. (#1286, thanks @jakub-jedrusiak)
  • A new setting r.removeLeadingComments is added to remove leading comments when sending code to terminal. (#1245, thanks @gowerc)

Enhancements

  • Help page previews from .Rd files are now generated asynchronously. (#1273)
  • Column name is also displayed in the column tooltip in a data viewer. (#1278, thanks @eitsupi)
  • Upgrade ag-grid-community to v29.0.0 (#1290)

Fixes

  • Fixed broken tests (#1302)

Commits

v2.7.0

04 Dec 16:53

Choose a tag to compare

New Features

  • New syntax highlighting support for NAMESPACE and .Rbuildignore. (#1221, thanks @nx10)
  • Support help preview in package development. (#1259, #1266)

Enhancements

  • The extension is re-published to Open VSX Registry. (open-vsx#591).
  • The WebView panel now supports htmlwidgets using Web Workers. (#1261, thanks @anthonynorth)
  • Code block detection now includes parentheses, which is more consistent with RStudio behavior. (#1269)

Fixes

  • View() no longer stops with tibble() that contains objects that do not
    implement asJSON() method. (#1255)
  • Fixed the regex for detecting problems reported by testthat from tasks. (#1257, thans @gowerc)
  • Fixed syntax highlighting in help preview under R 4.2.x. (#1268)

Commits

v2.6.1

31 Oct 04:21

Choose a tag to compare

Enhancements

  • A new setting r.plot.devArgs is added to allow customizing png device arguments (e.g. width and height) for the PNG plot viewer. (#1235)

Fixes

  • Fixed opening requested file externally when viewer is disabled. (#1209)
  • Support trailing slash in code-server's URI template. (#1241)

Commits

v2.6.0

11 Oct 17:06

Choose a tag to compare

New Features

  • A new command "R: Generate C/C++ Configuration" is added to support auto-generating c_cpp_properties.json in an R package with C/C++ code for C/C++ Extension to provide IntelliSense. (#1205, thanks @nx10)

Enhancements

  • Support showing KeTeX formula in help viewer. (#1213)

Fixes

  • Fixed empty line at the end of help pages as clickable example. (#1194)
  • Avoid code highlighting in DESCRIPTION files in help viewer as code examples. (#1199)
  • Saving a rmd file no longer triggers the preview to refresh if it is still rendering. (#1219)

Commits

v2.5.3

06 Sep 13:56

Choose a tag to compare

Enhancements

  • Reload help pages on refresh. (#1188)
  • Upgrade to vscode-languageclient 8.0.2. (#1173)

Fixes

  • Remove encoding from knitting so that renderers that do not have an encoding parameter (e.g. quarto::quarto_render()) now work properly. (#1167)

Commits

v2.5.2

15 Jul 02:10

Choose a tag to compare

New Features

  • R help viewer now highlights code sections on hover and user can click the code to copy it to the clipboard, or press ctrl+click (Windows and Linux) or cmd+click (macOS) to send it to R terminal by default. A new setting r.helpPanel.clickCodeExamples is added to allow customizing the click behavior. (#1138)
  • A new command Create .lintr is added. (#1112)

Enhancements

  • R and Rmd files are added to Create: New File. (#1119)
  • Improved data viewer column resizing. (#1121)

Fixes

  • Hide environment values in R Markdown preview to prevent accidental deletion (#1117)
  • Opening and closing a list item in the workspace viewer treeview now works properly. (#1150)

Commits

v2.5.0

14 May 07:06

Choose a tag to compare

Announcement

  • vscode-R has been transferred to REditorSupport as the publisher in the VS Code Marketplace. The unique identifier has been updated to REditorSupport.r. (#690)
  • R in Visual Studio Code topic is added to the VS Code documentation.

New Features

  • A new setting r.libPaths is added to support additional library paths to be appended to .libPaths() when R background processes (R language server and help server) are launched. It could be useful for projects with renv enabled where required packages (e.g. languageserver and jsonlite) to use vscode-R are only installed in other location. For more details, checkout the wiki. (#1071, #1097, #1098)

Enhancements

  • The R package build task is separated into Build and Build Binary tasks. (#1029, thanks @Yunuuuu)
  • Hide smart knit environment variables to prevent accidental deletion. (#1060)
  • A new setting r.session.data.pageSize is added to support adjusting the page size of the data viewer. The default is now 500. (#1068)
  • The check for languageserver package installation is improved and the prompt could be disabled. (#1071)
  • The R Markdown code chunk snippet supports language choice. (#1082, thanks @jooyoungseo)
  • It will prompt instead of showing empty choice when no R Markdown templates are found. (#1089)

Fixes

  • Guard against evaluation of active bindings in the global environment. (#1038)
  • The http prefix is unnecessary and removed from several code snippets. (#1084, #1085, thanks @jooyoungseo)
  • R Markdown knit and preview scripts now use loadNamespace() instead of requireNamespace() to fail early if necessary packages are unavailable. (#1086)

Commits

v2.4.0

07 Mar 17:01

Choose a tag to compare

New Features

  • Added "R Markdown: New Draft" command to choose a template for a new R Markdown document. (#984)
  • Added Attached Namespaces and Loaded Namespaces to the workspace viewer. (#1022)

Enhancements

  • spawn is consistently used to run R scripts and commands. (#985)
  • Added a problemMatcher for testthat output from Test task. (#989, thanks @gowerc)
  • Code chunk snippets now preserve selected text. (#1001)
  • Added more useful Shiny and R Markdown snippets. (#1009, #1012, thanks @jooyoungseo).
  • Provides optional code argument to r.runSelection command for other extensions to execute interactive R code. (#1017, thanks @jjallaire)
  • Supports lambda function declaration in syntax higlighting. (#1025)

Fixes

  • Fixed code detection with mixed quotes. (#988, thanks @gowerc)
  • Fixed syntax highlighting for variables starting with function. (#992, thanks @gowerc)
  • Fixed R task definition and resolveTask. (#994)
  • Fixed auto port forwarding for httpgd plot viewer in LiveShare session. (#1026)

Commits

v2.3.8

07 Feb 23:58

Choose a tag to compare

Fixes

  • Fixes languageserver detection failure on Windows by avoiding rpath quoting. (#981)

Commits