Skip to content

Don't save debugger completion history for evaluations that return errors #278115

@DanTup

Description

@DanTup

By default, completion in the Debug Console requires pressing <tab> to complete. Because I'm used to pressing <enter> I often send incomplete/invalid expressions. However these are still recorded to the history and then show in future invocations (which means the "top" entry is not the complete variable name that I want, but a previous mistyping):

Image

I think it would be better if expressions are only recorded to the history if they evaluate successfully and do not return an error ("success":false).

Metadata

Metadata

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesdebug-consolefeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions