Skip to contents

Reads the selected text in the active RStudio/Positron source editor and opens codeagent_app() with that code pre-loaded as context. Works in both RStudio and Positron (both support rstudioapi).

Usage

codeagent_addin_selection()

Value

Invisibly NULL.