Change the number of items stored in the recently used list in Visual Studio Code
It seems that this is currently a hardcoded limit of 10 - here is the source line on GitHub. You may want to open an issue so that there will maybe created a setting for that.