Skip to content

feat(app): Add code action buttons for LLM generated code#143

Merged
gadenbuie merged 12 commits intomainfrom
feat/app/open-file-in-ide-button
Dec 17, 2025
Merged

feat(app): Add code action buttons for LLM generated code#143
gadenbuie merged 12 commits intomainfrom
feat/app/open-file-in-ide-button

Conversation

@gadenbuie
Copy link
Copy Markdown
Collaborator

@gadenbuie gadenbuie commented Dec 17, 2025

Code Actions

Adds Insert at cursor, Insert in new file, and Run in console buttons to LLM generated code chunks in btw_app(), when being run inside RStudio or Positron. They're also included in the source code chunks of btw_tool_run_r() output

image

The buttons are disabled if you run btw_app() in an external browser.

File Open

Also adds a button to open a file in the IDE for the read/write tools.

image

@gadenbuie gadenbuie merged commit 4b1456e into main Dec 17, 2025
10 of 11 checks passed
@gadenbuie gadenbuie deleted the feat/app/open-file-in-ide-button branch March 11, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant