-
Notifications
You must be signed in to change notification settings - Fork 676
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
Configurable project list cap #939
Conversation
}, | ||
"omnisharp.maxProjectResults": { | ||
"type": "number", | ||
"default": 100, |
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.
Should we increase this number as part of this change?
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.
we could, perhaps 250
? Thing is you probably want to cap it at a reasonable number cause when you open against i.e. c:\
it would take ages to scan if the limit is too high
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. Just make the adjustment to the description of the option.
"omnisharp.maxProjectResults": { | ||
"type": "number", | ||
"default": 250, | ||
"description": "The amount of projects to be shown in the 'Select Project' dropdown, discovered in the descendant folders of the working folder. Once the limit is reached, the extension will stop searching for projects." |
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.
This should read: "The maximum number of projects to be shown in the 'Select Project' dropdown (maximum 250)"
Thanks - done |
Fixes #875
Introduces a new setting
omnisharp.maxProjectResults
with a default value of100
in place of the old hardcoded100
. User can now set the value to whatever seems fit for their workflow.Naturally, larger value i.e.
5000
would mean longer start up time.