Skip to content

Latest commit

 

History

History
812 lines (520 loc) · 23.6 KB

CHANGELOG.md

File metadata and controls

812 lines (520 loc) · 23.6 KB

Change Log

Latest updates

You can check all of our changes from Release Page

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)

Fixes:

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

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)

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)

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)

Enhancements:

Fixes:

  • Fixed a Uri handling bug in Windows. (#888)
  • Fixed a bug in restarting help server when library has changed. (#893)

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)

Enhancements:

  • .vsc.browser() now handles file:// urls. (#817)
  • r.session.levelOfObjectDetail gains a Normal value for the session watcher to write only first level structure of global objects for performance. (#815)
  • Session watcher now supports workspace folder as symlinks. (#827)

Fixes:

  • Httpgd plot viewer respects the view column specified by r.session.viewers.viewColumn.plot setting (#816)
  • View is completed replaced so that tibble::view() could trigger data viewer (#818)
  • Help cache is disabled between sessions (#819)

Enhancements:

  • Proxied requests are now supported to work with code-server. (#275, #803)

Fixes:

  • unsafe-eval is re-enabled in WebView Content Security Policy to make htmlwidgets such as plotly work. (#805)
  • The help viewer now respects r.session.viewers.viewColumn.helpPanel. (#804)
  • The working directory of the knit background process is now consistent with the knit working directory so that .Rprofile and renv setup are respected. (#807)

Enhancements

  • R Markdown preview now supports background rendering with progress bar, customizable working directory, and smart knit button. (#765)
  • {rstudioapi} emulation is enabled by default. (#769)
  • A new setting r.session.objectLengthLimit is added to limit the output of the names of global objects with many named elements which might cause significant delay after inputs. (#778)
  • NA and Inf could now be correctly displayed in the data viewer. (#780)
  • User-specified R Markdown output format is now respected. (#785)

Fixes

  • The security policy of WebView is relaxed to support {flextable} widgets. (#771)
  • The R Markdown background rendering process could be properly terminated now. (#773)

New Features

  • VS Code settings are now accessible from R and all vscode-specifc R options (vsc.*) now have corresponding VS Code settings. (#743)

Enhancements

  • Check conflict extension mikhail-arkhipov.r on activation. (#733)
  • Add icons to WebViews. (#759)

Fixes

  • Fix date filter in data viewer. (#736)
  • Fix htmlwidget resource path in WebView. (#739)
  • Use .DollarNames with default pattern. (#750)
  • Fix syntax highlighting for c() in function args. (#751)
  • Handle error in capture_str(). (#756)

Important changes

  • The project is migrated to REditorSupport organization on GitHub. (#98)
  • The R language service (completion, document outline, definition, etc., formerly implemented in vscode-r-lsp) is now integrated into vscode-R (#695). The vscode-r-lsp extension will be unpublished from the VS Code marketplace at some point.
    • Search r-lsp extension, uninstall it and vscode-R will start the R langauge service automatically.
    • The language service still depends on the R package languageserver. Make sure the package is installed before using vscode-R.
    • To opt-out the language service, set "r.lsp.enabled": false in your user settings.
  • R session watcher is now enabled by default. (#670)
    • r.previewDataframe and r.previewEnvironment will use the session watcher if enabled.
    • To opt-out, set "r.sessionWatcher": false in your user settings.

New Features

  • Preview R Markdown documents via background process with auto-refresh and dark theme support. (#692, #699)

Enhancements

  • Several enhancements of the workspace viewer. (#672)
  • The plot viewer now supports customizable CSS file via r.plot.customStyleOverwrites and r.plot.togglePreviewPlots now cycles through mutlirow/scroll/hidden. (#678, #681)
  • The data viewer is now based on ag-grid with better performance and better support for filtering and dark theme. (#708)
    • The data viewer might not work with existing R sessions started before the extension update. A restart of sessions is needed to use the new data viewer.
  • Command r.showPlotHistory is removed in favor of the httpgd-based plot viewer. (#706)
  • The plot viewer now supports full window mode. (#709)

Fixes

  • LiveShare API bug fix and enhancements. (#679)
  • Fix syntax highlighting of integers in scientific notation. (#683)

Highlight

  • Thank you for join new collaborator: Elian H. Thiele-Evans(@ElianHugh)

  • Use .DollarNames for object with class in completion #660

  • Update R syntax #647
  • Fix replacing base::.External.graphics #625

Thank you for your contributions.

  • @jolars
    • Don't run chunks with eval = FALSE #653 (Fix #651)
  • @nx10
    • Integrate httpgd #620

Highlight

  • Clarify error messages
  • Being more conservative to call object.size() in task callback
  • Send code to debug repl
  • shim the rstudioapi if it has already been loaded

Thank you for your contributions.

  • @krlmlr
    • Update vscode engine #586
    • Satisfy markdownlint #587
  • @danielbasso
    • Initial Workspace Viewer str() functionality #583

1.6.5

  • Add links to help pages in hover #578
  • Move r.runSource and r.knitRmd to editor/title/run #573 (Fix #572)
  • Fix so code can be run after creating terminal #567
  • Add option to keep terminal hidden after running code #566
  • Scroll to bottom after running a command #559 (Thank you @samkimhis)
  • Refactoring and implementation of webviewPanelSerializer #556
  • add option vsc.hover.str.max.level #545
  • Change workspace tooltip #544 (Thank you @ElianHugh)

1.6.4

  • Better error message when reading aliases (#518)
  • Keep promises and active bindings in globalenv (#521)
  • Refactor extension.ts (#525)
  • Write aliases to file (#526)
  • add sendToConsole to rstudioapi emulation (#535)
  • Add function to open help for selected text (#531)
  • Add initial pipeline completion support (#530)
  • Add updatePackage command (#532)
  • Add option to preserve focus when opening help view (#541)

1.6.3

  • Add browser WebView command buttons #494
  • Enable find widget in WebViews #490
  • Disable alwaysShow for addin items #491
  • Only show R menu items in R view #493
  • Modify pre-release action #492 (Fix #484)
  • Improve release action #505 (Fix #503)
  • Improve help view #502 (Follow up to #497)

Thank you for contributors works 1.6.3

  • @ElianHugh
    • Implement R workspace viewer #476 (Fix #416)
    • Conditionally show view #487
  • @tdeenes: Find in topic (help panel) #488 (Fix #463)
  • @jsta: typo fix #500

1.6.2

  • Improve style of help pages #481

    • All help pages: center headings
    • Normal functino help pages: hide (rather useless) header bar
    • All help pages: hide image placeholders
    • Manuel Pages: hide page-internal links
    • Manual Pages: suppress mismatching header styles embedded in the html
  • Reorganize helppanel, add ? function #477

  • Modify config #467

  • Fix bug that would leave background R processes running #475

  • Fix whole of style (Extends #361) (#474)

Thank you for contributors works 1.6.2

  • @markbaas: Fix The Ctrl+Enter shortcut does not work properly when a non-comment line in a function definition contains the "#" character. #462 (Fix #443)
  • @kar9222:
    • Update README #480 (Fix #465)
    • RMarkdown: Add run & navigation commands. More customization. Refactor. #465

1.6.1

This version includes minor fix to stable new functions

  • Add GitHub Action for release #449

  • Highlight all chunks #453

  • Fix checking workspaceFolders in rHelpProviderOptions #456

  • Fix typo in help panel path config #457

  • @kar9222 Thank you for contribution

    • Update README: Add options(vsc.helpPanel = ...) #461
    • Rmd fenced block syntax highlighting for julia, python, etc #460
  • New feature r.runFromLineToEnd #448 (Thank you @Dave-cruzz)

1.6.0

  • Integrate help view from vscode-R-help #433 (Implemented by the new collabolator @ManuelHentschel)
  • Add terminal information to chooseTerminal error #447
  • Send code at EOF appends new line #444
  • Friendly error message when trying to launch addin picker and vsc.rstudioapi = FALSE #441
  • platform independent content string splitting #436
  • Add runAboveChunks command #434

1.5.2

  • Enhance R markdown support #429 (Fix #428, #49, #261)
  • Fix and enhance navigateToFile #430
  • Improve handling html help #427 (Fix #426, #380)

1.5.1

  • Rename init functions #425 (Fix #424)
  • Fix issues in rstudioapi emulation #422 (Fix #421)

1.5.0

  • RStudio Addin Support #408 (Implemented by the new collabolator @MilesMcBain)

  • Recommend radian in README #420

1.4.6

  • Remove Run in Active Terminal from README #413 (Fix #412)
  • Remove command Run Selection/Line in Active Terminal #409 (Fix #306)
  • Check url in browser #406 (Fix #371)

1.4.5

  • Remove shortcuts Ctrl + 1, 2, 3, 4, 5 #401 (Fix #368)

    These conflicted with default Visual Studio Code keyboard shortcuts. If you would like to restore them, see the instructions in the Wiki.

  • Restore R_PROFILE_USER #392 (Fix #391)

  • Fix so rTerm is undefined when deleting terminal #403 (Fix #402)

1.4.4

  • Fix vulnerability issues

1.4.2

  • New R options and functions to control session watcher behavior #359

    To work with existing self-managed, persistent R sessions as the extension is upgraded, source the init.R again before attaching.

    source(file.path(Sys.getenv(if (.Platform$OS.type == "windows") "USERPROFILE" else "HOME"), ".vscode-R", "init.R"))
  • Remove single quote from doesLineEndInOperator #357 (Fix #356)

1.4.1

  • Fix View empty environment #350 (Fix #349)
  • Change runSelectionInActiveTerm effect to warning #351
  • Improve getBrowserHtml #353
  • Use fs.watch instead of vscode.FileSystemWatcher #348 (Fix #347, #352, #236, #179, #272, #330)

1.4.0

Feature improvement

  • Add syntax highlight for DESCRIPTION and .Rproj #342 (Thank you @qinwf)
  • A lot of works (Thank you @gowerc)
    • Enable default R location to be used on mac/linux if none is supplied #340
    • Added functionality to switch to an existing R terminal #338
    • Expose send text delay as a parameter #336
    • Supress auto-opening quote in roxygen comment #328
  • Add r.runSelectionRetainCursor #325

Project engineering

  • Convert language files to Json #333 (Thank you @gowerc)
  • Define lint in package.json and use it in GitHub Actions #344

1.3.0

  • Change so setting changes take effect immediately (Fix #301)
  • Fix package volunerability
  • Improve .Rprofile
  • Remove --no-site-file from default r.rterm.option

1.2.8

  • Use eslint in GitHub Actions
  • Add R Markdown surround and frontmatter comments (Fix #260)

1.2.7

  • Add new wiki page !
  • Use Windows registry to find R path
  • Fix handling grouped_df in dataview_table
  • Use GitHub Actions for linting

1.2.6

  • Fix showWebView

1.2.5

  • Check untitled document and save result before running command

1.2.4

  • Add configurable command runner functions (Thank you @MilesMCBain)
  • Change .Platform$GUI to vscode on session start
  • Fixed the function snippet (Fixed #230) (Thank you @stanmart)
  • Add statement of languageserver features to bug report template (Fixed #210)
  • Inject R Markdown features into Markdown grammar (Fixed #220, #116, #48, #36)

1.2.3

  • Fixed the function snippet (Fixed #230) (Thank you @stanmart)
  • Update activationEvents
  • Add more logging to session watcher
  • Avoid duplicate handling of response update
  • Add syntax highlighting for R code in Rcpp comment #225

1.2.2

  • View improvement (Thank you @renkun-ken)
    • Fix dataview_table handling single row data
    • Show WebView triggered by page_viewer in Active column
    • Fix WebView Uri replacing
    • Add row hover and select
    • Improve session watcher initialization
    • Use dev.args option when creating png device before replay
    • Show plot history

1.2.1

  • Extend View (Thank you @renkun-ken)
  • Fix session watcher init.R path on Windows (Fixed #176)

1.2.0

  • R session watcher (Thank you @renkun-ken). Usage is written on the README.md
    • Attach Active Terminal (by command or clicking status bar item)
    • Auto attach on R session startup: if init.R is sourced in .Rprofile, starting an R session will notify vscode-R to automatically attach to it.
    • Provide hover to global symbol in attached session
    • Show plot file on the fly
    • Show WebView to present htmlwidgets and shiny apps
    • Show WebView for data.frame and list object when calling View()

1.1.9

  • Fix bracketed paste on Windows (fix #117)
  • Fix function call closing bracket highlight (Thank you @kiendang)

1.1.8

  • Use word under cursor for previewDataframe, nrow (fix #137)
  • Change license MIT -> AGPL-3.0

1.1.6

  • Fix behaviour when workplacefolders is Undefiend (Thank you @masterhands)
  • Show r.term.option value in settings UI
  • Refactoring

1.1.5

  • Replace deprecated function (Refactoring)
  • Add alwaysUseActiveTerminal setting (fix #123)

1.1.4

  • Fixed spelling, improved formatting #129 (Thank you @wleoncio)
  • Automatically comment new lines in roxygen sections (fix #124)
  • Fix send code for newlines on Windows (fix #114)
  • Add auto-completion of roxygen tags (fix #128)
  • Change cursorMove to wrappedLineFirstNonWhitespaceCharacter (fix 126)

v1.1.3

  • RMarkdown knit support (fix #121) (Thank you @dominicwhite)

v1.1.2

  • Fix send code for newlines and Radian #114 #117

v1.1.1

  • Fix Preview Environment for variable x (fix #111) by @andycraig
  • Fix Preview Environment for multi-class objects (fix #111) by @andycraig
  • Fix danger package dependency

v1.1.0

  • Fix for R markdown config
  • Fix for valunerability

v1.0.9

  • Fix check for Excel Viewer extension

v1.0.7

  • Add web pack for performance by @andycraig

v1.0.6

  • Add runSelectionInActiveTerm command #104 (fix #80 #102) (Thank you @andycraig)

v1.0.4

  • Shortcuts with R functions #101 (fix #100) (Thank you @MaTo04)

v1.0.3

  • Fix Preview Dataframe command #67(fix #97) (Thank you @andycraig)

v1.0.2

  • Remove excel dependency

v1.0.1

  • Fix Dependency
  • Refactoring

v1.0.0

  • Sorry, supporting this extension is ended. Please looking forward to coming new one (microsoft/RTVS#1295).

v0.6.2

  • fix wordPattern to avoid .
  • fix run selection

v0.6.1

  • Added detection of bracket and pipe blocks #82 (fix #26) (Thank you @andycraig)
  • Fix dependency

v0.6.0

  • Remove lintr function. If you want to use lintr, please install R LSP Client

v0.5.9

  • Fix for security dependencies

v0.5.8

  • Fix Run Selected has strange behavior #42 (Thank you @Ladvien)

v0.5.7

  • Disabled lintr for default setting that is already implemented by LSP
  • Fix Commented lines are not ignored when determining code blocks #61 (Thank you @Ladvien)

v0.5.6

  • Fix some dependencies for perform and developments

v0.5.5

  • Add package dev commands #58 (Thank you @jacob-long)

v0.5.4

  • fix snippets
  • R term name to R interactive (fix #46)
  • Send code from Rmd chunk to terminal (fix #49)
  • Depend R language server extension

v0.5.3

  • fix default r.rterm.option again to ["--no-save", "--no-restore", "--no-site-file"]

v0.5.2

  • fix default r.rterm.option to ["--no-save", "--vanilla"]

v0.5.1

  • Support code region by #region and #endregion

v0.5.0

  • Support package lint

v0.4.9

  • Add shebang support for R syntax highlight #33(Thank you @dongzhuoer)
  • Added block detection and execute whole block #32(Thank you @Ladvien)
  • Proposed fix for Load Chunk problems #27 #31(Thank you @Ladvien)
  • Update some snippets from VS

v0.4.8

  • Fix Windows key map
  • Add some snippets from VS

v0.4.7

  • Fix syntax
  • Fix Readme
  • Fix icon

v0.4.6

  • Added Environment Viewer command

v0.4.5

  • Fix syntax little
  • Set icon dark and light
  • Improve data viewer perform(Thank you @Lavien)
  • Remove extra package

v0.4.4

  • Add Run Source icon

v0.4.3

  • Added Data viewer Command(Thank you @Lavien)

v0.4.2

  • Add Source with echo
  • Fix keybind

v0.4.1

  • Add more shortcut key

v0.4.0

  • Add shortcut key
  • Fix README.md

v0.3.9

  • Fix problem lintr was running other language's files

v0.3.8

  • Improve Run Selection/Line (Thank you @Ladvien)
    • Added cursorMove after line execution #13
    • Don't pass Rterm comments #14

v0.3.7

  • run lintr on did save automaticaly

v0.3.6

  • fix Terminal #7

v0.3.5

  • fix syntax

v0.3.4

  • add "builtin function" from RBox

v0.3.3

  • New syntax color from R Box
  • fix typo(Thank you @Shians) #12

v0.3.1

  • fix Run Selection/Line only executes the first line of file when nothing was selected #9

v0.3.0

  • update lintr behavar

v0.2.9

  • fix lintr on Mac

v0.2.8

  • add command R: Run Selection/Line

v0.2.7

  • add setting r.source.focus #5

v0.2.6

  • add setting
    • r.lintr.executable #2
    • r.rterm.option #2
    • r.source.encoding (Thank you @ondrejpialek) #4
  • save before R:Run Source command #5
  • update snippets

v0.2.5

  • add Run Selected and Run Source command

v0.2.4

  • fix for Windows

v0.2.3

  • support lintr option cache and linters

v0.2.2

  • support lintr on Mac and Linux

v0.2.0

  • support lintr on Windows

v0.1.4

  • use new icon

v0.1.3

  • fix R term's perform

v0.1.2

  • fix packages

v0.1.1

  • Create .gitignore

v0.0.9

  • Fix Run R perform

v0.0.8

  • R Markdown Snippets as Markdown

v0.0.7

  • Support R Markdown

v0.0.6

  • R Integrated Terminal

v0.0.5

  • Rdocumentation Snippets

v0.0.4

  • R Snippets

v0.0.3

  • Support R documentation

v0.0.1

  • Initial release

TODO

  • Output Plot
  • Debug
  • Language Server
  • Intellisense