-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
Fix 30419 and 80649 - Allow Setting the Number of Recent Tasks #82757
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Just a few changes then we'll be good to go.
src/vs/workbench/contrib/quickopen/browser/quickopen.contribution.ts
Outdated
Show resolved
Hide resolved
edfc774
to
cdb6d34
Compare
@alexr00 Can you please review this PR again? Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thank you for taking on this change and finishing it!
This PR fixes #30419 and #80649
This creates a new setting section called
quickOpen
underFeatures
and allows the user to specify the number of recent tasks in the quick open history to keep track of.Not sure if it was a good idea to add a default parameter to the LRUCache
set
method, but it was the cleanest and quickest way to keep the ordering of the quick open tasks from most recent - least recent while using an LRUCache.