Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ark: Emit debug prompts on StdIn in console mode? #4921

Open
lionel- opened this issue Oct 7, 2024 · 0 comments
Open

Ark: Emit debug prompts on StdIn in console mode? #4921

lionel- opened this issue Oct 7, 2024 · 0 comments
Labels
area: console Issues related to Console category. area: debugger Issues related to Debugging area: kernels Issues related to Jupyter kernels and LSP servers lang: r

Comments

@lionel-
Copy link
Contributor

lionel- commented Oct 7, 2024

We've had plans to emit browser prompts on StdIn in notebook mode because the current experience is confusing: posit-dev/ark#572.

But should we do this in console mode too? This would help with:

Things to consider:

  • Completions within debug prompts. Currently R completions are disabled in readline prompts but we'd want those in debug prompts.

  • R code evaluated from an editor during a debug session should be sent directly to the browser prompt instead of being enqueued on the frontend's list of pending inputs.

This special behaviour could be maintained by adding a custom field to the stdin request to indicate this nested prompt is expecting R code.

Also what experience do we want for notebooks? Note that currently stdin prompts do not seem to work in Positron: #4920.

@lionel- lionel- added area: console Issues related to Console category. area: debugger Issues related to Debugging area: kernels Issues related to Jupyter kernels and LSP servers lang: r labels Oct 7, 2024
@lionel- lionel- added this to the Release Candidate milestone Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: console Issues related to Console category. area: debugger Issues related to Debugging area: kernels Issues related to Jupyter kernels and LSP servers lang: r
Projects
None yet
Development

No branches or pull requests

1 participant