Vscode R Versions Save

R Extension for Visual Studio Code

v2.6.0

1 year ago

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

  • e660081: Fix empty code examples (#1194) (Manuel Hentschel) #1194
  • 129820f: Avoid code highlighting in DESCRIPTION files (#1199) (Manuel Hentschel) #1199
  • 402e4e8: Avoid .R file lock on windows (#1192) (Manuel Hentschel) #1192
  • a481265: devTasks (#1200) (Manuel Hentschel) #1200
  • 7ddd0d5: Add generated .js files to .gitignore (ManuelHentschel)
  • e3ede0d: Bug report template: Spelling and formatting (#1206) (Florian Rupprecht) #1206
  • ad20fdc: Implement c_cpp_properties.json file generator fixes #1201 (#1205) (Florian Rupprecht) #1205
  • Strict TypeScript Fix #1208 (#1209) #1209 (Florian Rupprecht)
  • b006ca1: Remove unused NPM dependencies (#1216) (Florian Rupprecht) #1216
  • 161e16a: Support KaTeX in help page viewer (#1213) (Kun Ren) #1213
  • 5ee9de8: Fix help (Kun Ren)
  • c680e64: Fix help katex support (#1217) (Kun Ren) #1217
  • 5f6089a: Use asExternalUri instead (Kun Ren)
  • ff2f1bc: Fix use of asExternalUri (Kun Ren)
  • 8af2cdc: Add isRendering to RMarkdownPreview (#1219) (Kun Ren) #1219
  • 5727e0e: release 2.6.0 (Kun Ren)

v2.5.3

1 year ago

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

  • 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

1 year ago

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

  • 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

2 years ago

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

  • 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

2 years ago

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

  • 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

2 years ago

Fixes

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

Commits

  • 37a94b8: Avoid rpath quoting (#981) (Kun Ren) #981
  • 6e23451: release 2.3.8 (Kun Ren)

v2.3.7

2 years ago

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 of httpgd 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

2 years ago

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

2 years ago

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 for Authors@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

2 years ago

Enhancements

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 of Uri.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)