You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[folding] Multiple FoldingProviders are called... #48526
The doc says that only one folder provider is called, in fact multiple are called and their results are merged.
* Multiple folding can be registered for a language. In that case providers are sorted
* by their [score](#languages.match) and the best-matching provider is used. Failure
* of the selected provider will cause a failure of the whole operation.
*
Activity
jrieken commentedon Apr 24, 2018
To make it worst, it will fail the whole operation if one fails...
aeschli commentedon Apr 30, 2018
made improvements to the spec. in 1.23 (and master)
Keeping open to fix that a failing provider is gracefully handled.
Improve registerFoldingRangeProvider doc (for #48526)
Improve registerFoldingRangeProvider doc (for #48526)
[-]Multiple FoldingProviders are called...[/-][+][folding] Multiple FoldingProviders are called...[/+][folding] gracefully handle errors in provider (fixes #48526)