Releases: REditorSupport/vscode-R
Releases Β· REditorSupport/vscode-R
v2.5.3
Enhancements
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
- c76d3df: Bump terser from 5.7.0 to 5.14.2 (#1154) (dependabot[bot]) #1154
- da579cc: Remove encoding param from knitting (#1167) (Elian H. Thiele-Evans) #1167
- e7b60a7: Reload help pages on refresh (#1188) (Manuel Hentschel) #1188
- b4d15c9: Upgrade to vscode-languageclient 8.0.2 (#1173) (Kun Ren) #1173
- 708004a: release 2.5.3 (Kun Ren)
v2.5.2
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) orcmd+click
(macOS) to send it to R terminal by default. A new settingr.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
- ebb8677: Update publish action (#1101) (Kun Ren) #1101
- 4db097d: Create issues.yml (#1061) (Elian H. Thiele-Evans) #1061
- b6e0a92: Remove nesting: guard clauses (#1110) (Lucas) #1110
- 3ed8483: Hide preview env values to prevent accidental deletion (#1117) (Kun Ren) #1117
- cb51776: Add file creation to file/newFile (#1119) (Elian H. Thiele-Evans) #1119
- 7fd2762: Bump jquery.json-viewer from 1.4.0 to 1.5.0 (#1123) (dependabot[bot]) #1123
- 8f5f781: Update data viewer column resizing (#1121) (Kun Ren) #1121
- 94acedb: Click code in help views (#1138) (Manuel Hentschel) #1138
- 7012e85: Adapt to lintr 3.0 (#1141) (Kun Ren) #1141
- cf7836d: Whitespace in typescript files (#1142) (Manuel Hentschel) #1142
- 1f692eb: Add
Create .linr
command (#1112) (eitsupi) #1112 - e5b8f0c: Add .yarnrc (ManuelHentschel)
- 3af24dd: Upgrade to ag-grid-community 28.0.0 (#1144) (Kun Ren) #1144
- 208330b: Fix tree item bug (#1150) (Elian H. Thiele-Evans) #1150
- bcb63e9: release 2.5.1 (Kun Ren)
- f868888: Disable publish to openvsx (Kun Ren)
- 72acc75: release 2.5.2 (Kun Ren)
v2.5.0
Announcement
- vscode-R has been transferred to
REditorSupport
as the publisher in the VS Code Marketplace. The unique identifier has been updated toREditorSupport.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
andjsonlite
) 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 ofrequireNamespace()
to fail early if necessary packages are unavailable. (#1086)
Commits
- 1ebb8f2: add R package build task - build source and build binary like RStudio (#1029) (Yunuuuu) #1029
- 91e9c06: Use bindingIsActive (#1031) (Kun Ren) #1031
- b003a0e: Fix console err (#1034) (Kun Ren) #1034
- 6547330: guard against evaluation of active bindings (#1038) (Miles McBain) #1038
- dc9b33a: Upgrade ag-grid-community to v27.1.0 (#1049) (Kun Ren) #1049
- 89e9633: Hide smart knit env values to prevent accidental deletion (#1060) (Elian H. Thiele-Evans) #1060
- 02cd835: Add
r.session.data.pageSize
(#1068) (Kun Ren) #1068 - 672d5e3: Bump ansi-regex from 3.0.0 to 3.0.1 (#1070) (dependabot[bot]) #1070
- 9029ddd: Bump minimist from 1.2.5 to 1.2.6 (#1069) (dependabot[bot]) #1069
- d7f769b: Update rGitignore.ts (Kun Ren)
- 626aac8: Add lsp settings to support disabling prompt and additional libPaths (#1071) (Kun Ren) #1071
- 3a0351e: More choices for code chunk snippet (#1082) (JooYoung Seo) #1082
- 6280d58: Take out http (#1084) (JooYoung Seo) #1084
- f32c3c7: Take out http from link snippet (#1085) (JooYoung Seo) #1085
- f463b82: Bump cross-fetch from 3.1.4 to 3.1.5 (#1087) (dependabot[bot]) #1087
- 79be43a: Bump ejs from 3.1.6 to 3.1.7 (#1088) (dependabot[bot]) #1088
- 4296e32: Use
loadNamespace
(#1086) (Kun Ren) #1086 - a46d910: Prompt when no templates found (#1089) (Kun Ren) #1089
- af5ef98: Update publisher id (#1093) (Kun Ren) #1093
- 539838a: R language server and help supports additional libPaths (#1097) (Kun Ren) #1097
- 449b1f0: Move r.libPaths in setting (Kun Ren)
- be8e92f: Fix lintr complain (Kun Ren)
- c183639: Update r.libPaths (#1098) (Kun Ren) #1098
- 0a41494: release 2.5.0 (Kun Ren)
v2.4.0
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 tor.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
- aaf809d: Use spawn (#985) (Kun Ren) #985
- 5f7b9e8: Fix commented pipe bug (#988) (Craig Gower-Page) #988
- Add problemMatching to task (#989) #989 (Craig Gower-Page)
- f5d857e: R markdown templates (#984) (Kun Ren) #984
- a621bf8: Fix resolveTask (#994) (Kun Ren) #994
- 26c0887: Preserve selected text (#1001) (Kun Ren) #1001
- 4ba871c: Fix incorrect syntax highlighting for variables starting with "function" (#992) (Craig Gower-Page) #992
- 52aa54e: Provide optional 'code' argument to r.runSelection command (#1017) (J.J. Allaire) #1017
- d9b99b2: Add Shiny snippets (#1012) (JooYoung Seo) #1012
- ff60e42: Add lambda to function-declarations (#1025) (Kun Ren) #1025
- 38b9f44: Enhance workspace viewer (#1022) (Kun Ren) #1022
- e290901: Share httpgd url for LiveShare (#1026) (Kun Ren) #1026
- a3ebb33: Add some useful Rmd snippets (#1009) (JooYoung Seo) #1009
- 3016cd2: release 2.4.0 (Kun Ren)
v2.3.8
v2.3.7
Note
- After v2.3.4, httpgd plot viewer requires
httpgd
1.2.0 or later. If the plot viewer shows 404 error, installing the latest release ofhttpgd
should resolve the problem. (#972)
Enhancements
- Data viewer supports Apache Arrow Table and
r.session.data.rowLimit
setting is added to limit the number of rows to show. (#945, thanks @eitsupi) - R gitignore file is updated and "R: Create gitignore" also supports multi-root workspace. (#949, thanks @eitsupi).
- Httpgd plot viewer has a delay before refreshing to avoid redrawing too often. (#956)
- Shell commands used in tasks use strong quoting. (#964, thanks @shrektan)
- User will be prompted to install
languageserver
if the package is missing. (#965, @shrektan) - DCF syntax is updated to support syntax highlighting of
.lintr
. (#970, thanks @eitsupi) - Column headers show the class and type of each column in tooltips. (#974, thanks @eitsupi)
- Extension is activated if the workspace folder contains
*.{rproj,Rproj,r,R,rd,Rd,rmd,Rmd}
at any level of sub-folders. (#979)
Fixes
- Fix typo in command line arguments. (#954, thanks @achey2016)
- R Markdown commenting uses HTML-style comments outside code blocks. (#958)
- R Markdown rendering process gets
LANG
environment variable to properly handle unicode characters. (#961, thanks @shrektan)
Commits
- 24a47c9: correcting typo on command argument (slient instead of silent) (#954) (Anne Cheylus) #954
- 8b1cb58: update the .gitignore file for R (#949) (eitsupi) #949
- ff977b7: Add delay before refreshing plots (#956) (Manuel Hentschel) #956
- 9275ca1: Fix rmd comment (#958) (Manuel Hentschel) #958
- 25b3dda: Add row limit setting of data viewer and support Apache Arrow Table (#945) (eitsupi) #945
- 423cbd6: Bump node-fetch from 2.6.1 to 2.6.7 (#962) (dependabot[bot]) #962
- 41ba420: set the LANG env when rendering rmarkdown (#961) (Xianying Tan) #961
- 55d6d67: should use Strong quote for shell commands (#964) (Xianying Tan) #964
- 00a89f9: add note about httpgd package version (#972) (eitsupi) #972
- 097791d: update dcf syntax and add support ".lintr" file (#970) (eitsupi) #970
- f8e29d9: prompt to install languageserver is not available (#965) (Xianying Tan) #965
- f7b3df0: [data frame viewer] Add type of column to headerTooltip (#974) (eitsupi) #974
- 66255d9: Upgrade ag-grid-community to 26.2.1 (#975) (Kun Ren) #975
- 1ec6b5a: Activate extension on subfolder (#979) (Kun Ren) #979
- a8c801a: release 2.3.7 (Kun Ren)
v2.3.6
Enhancements
- Added raw string syntax. (#922)
- Added support for both single and double brackets in code-server's URI template. (#934, thanks @benz0li)
Fixes
- Fixed syntax highlighting so that variables and function parameters are highlighted more consistently. (#939)
- R processes are now properly terminated on extension deactivation. (#941, thanks @albertosantini and @Yunuuuu)
Commits
- fbe7b5e: Add raw string tokens (#922) (Manuel Hentschel) #922
- 88e7aac: Support both single and double brackets in code-server's URI template (#934) (Olivier Benz) #934
- 9feabde: Rename .Rprofile (#938) (Kun Ren) #938
- b36afc8: Use taskkill for win32 (#936) (Kun Ren) #936
- 0f59ed2: Fixed
"punctuation.section.parens.end.r"
under"function-parameters"
(#931) (RedCMD) #931 - d968dec: Fix syntax file (#939) (Kun Ren) #939
- bf4098a: Use
taskkill
for win32 (#941) (Kun Ren) #941 - 53976b7: release 2.3.6 (Kun Ren)
v2.3.5
Enhancements
- Added
devtools
tasks to command palette. (#880, thanks @alex-gable) - Improved help pages readability. (#915, thanks @18kimn)
Fixes
- Fixed R Markdown knit and preview without opening a workspace folder. (#914)
- Fixed
DESCRIPTION
syntax highlighting forAuthors@R
field. (#920) - Fixed an issue about leaking child processes. All spawned child processes (e.g. help server, language server, R Markdown preview) are cleaned up on exit. (#918)
Commits
- a5725e8: adding devtools tasks to command palette (#880) (Alex Gable) #880
- 350ae71: RMD - don't set undefined wd (#914) (Elian H. Thiele-Evans) #914
- 1ce8ee2: Use
SIGKILL
to kill help server (#912) (Kun Ren) #912 - 22eb07b: readability adjustments for help pages (#915) (Nathan Kim) #915
- 2e82af4: Fix dcf syntax (#920) (Kun Ren) #920
- 96ed474: Clean-up child processes on dispose (#918) (Kun Ren) #918
- 4a09b7f: release 2.3.5 (Kun Ren)
v2.3.4
Enhancements
- Quotes in
r.rpath.*
settings are now removed. (#884) - Alternative CRAN mirrors such as RStudio Public Package Manager and the ropensci universe are supported. (#876)
Fixes
- Fixed a Uri handling bug in Windows. (#888)
- Fixed a bug in restarting help server when library has changed. (#893)
Commits
- c14e31a: Remove quotes from rpath if necessary (#884) (Manuel Hentschel) #884
- 5a39903: Try different CRAN URLs (#885) (Manuel Hentschel) #885
- ddf9e76: Use
Uri.file
instead ofUri.parse
(#888) (Kun Ren) #888 - bda99c7: Update bug_report.md (Manuel Hentschel)
- 684616c: Clean up of help related files (#887) (Manuel Hentschel) #887
- f3194d0: Use httpgd NPM package (#823) (Florian Rupprecht) #823
- be509a8: Fix helpserver issue (#893) (Manuel Hentschel) #893
- cd8d30d: release 2.3.4 (Kun Ren)
v2.3.3
Enhancements
- The information of attached R session now appears in the label and the tooltip of the status bar item. (#836)
- A new setting
r.rmarkdown.knit.command
is added to support customized knit command if not specified in the document. (#841, #850, thanks @xoolive) - A terminal profile for R is added via the new terminal API. (#851)
- The help topics are now automatically updated when R packages are installed, removed, or upgraded. (#863)
Fixes
- Fixed the problem with PowerShell on Windows when installing packages. (#846)
- Fixed the handling of single quote in roxygen comments and the roxygen block is now automatically exited after two empty lines. (#847)
- Backtick is added to the list of quote characters for syntax highlighting. (#859, thanks @jan-imbi)
- Fixed detecting the YAML frontmatter in R Markdown documents. (#856)
- Fixed attaching an R session with an open httpgd device that also triggers the plot viewer. (#852)
- Fixed the chunk coloring in R Markdown preview. (#867)
- Fixed the delimiter used in the output of the background knit process. (#868)
Commits
- 28bb068: Add R info to status bar item text and tooltip (#836) (Kun Ren) #836
- 33e9998: get knit command from settings (#841) (Xavier Olive) #841
- 9bc721a: Fix package installation (#846) (Manuel Hentschel) #846
- 903c300: Add support for indented Roxygen (#847) (Manuel Hentschel) #847
- c929046: Syntax highlighting for indented roxygen (#850) (Manuel Hentschel) #850
- 9c39403: Use new terminal API (#851) (Manuel Hentschel) #851
- f99fdd7: Add backtick to list of quote characters for syntax highlighting. (#859) (Jan Meis) #859
- 290caa3: Fix detecting yaml frontmatter (#856) (Kun Ren) #856
- b47e93b: Auto refresh help (#863) (Manuel Hentschel) #863
- 4be0d04: Handle plot on attach (#852) (Kun Ren) #852
- 97e304c: Fix rmd preview chunk colouring (#867) (Elian H. Thiele-Evans) #867
- 4ff09b4: Update lim (#868) (Kun Ren) #868
- 3eec155: release 2.3.3 (Kun Ren)