-
Notifications
You must be signed in to change notification settings - Fork 92
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
R: After a debug session commands like n
or s
should be omitted from the history
#2918
Comments
If it was easier to implement, I would not mind if we just never recorded history for I don't think I've ever done |
I think the hard part is to implement custom behaviour during debug sessions (since we do need to record |
Duplicate of #4478 |
As pointed out by @thomasp85, not quite a duplicate! |
In stats scripts there's lots of one-letter variables. I think users would wonder why they can't use Up to print a variable again. |
When ark sends Positron a command to execute ( positron/extensions/jupyter-adapter/src/LanguageRuntimeAdapter.ts Lines 1019 to 1029 in fc1fdd3
I wonder if we can extend this to include |
Oh interesting, the
But even if we set From what I can tell, Positron waits to receive an
It almost feels like Positron should be recording some kind of information about |
Brought up in https://github.com/posit-dev/positron-beta/discussions/148.
On the one hand, as these commands are only used to advance or step in, they don't correspond to real expressions that you can use outside of debugging sessions. On the other hand, users might use the up arrow to enter a command multiple times.
RStudio takes care of both considerations and discards the commands after the debug session stops.
The text was updated successfully, but these errors were encountered: