Skip to content

Support sending to console without execution #575

@krlmlr

Description

@krlmlr

Is your feature request related to a problem? Please describe.
fledge calls rstudioapi::sendToConsole(execute = FALSE), this is currently unsupported. Also, we could provide a command that sends to the console without execution, this can be useful when we want to edit the code before executing.

Describe the solution you'd like
I'd like the execute = FALSE variant supported, I think we need to call term.sendText(code, false) in this situation.

Describe alternatives you've considered
I have worked around in fledge for now, would be great to support this out of the box.

Additional context
Comment in original PR: #535 (comment)

VS Code API link: https://code.visualstudio.com/api/references/vscode-api#Terminal

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions