Fix 30419 and 80649 - Allow Setting the Number of Recent Tasks #82757
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.