scopes: keep all scopes if showEmptyScopes=true (in this case, files in a scope at...
authorSergey Simonchik <sergey.simonchik@jetbrains.com>
Fri, 15 Jul 2016 14:27:13 +0000 (17:27 +0300)
committerSergey Simonchik <sergey.simonchik@jetbrains.com>
Fri, 15 Jul 2016 14:27:45 +0000 (17:27 +0300)
commit16ec7445990c72fa036fa179f4d8d448e56f9b75
tree2e49a9220b36f102c48e7bf44cc5e5f21019cbb8
parentfc8e00f00618aac636204dd30c965f8bc50a846d
scopes: keep all scopes if showEmptyScopes=true (in this case, files in a scope at creation time may differ from files in the same scope at usage time)
previously, "Open Files" scope prevented adding "Current File" if both scopes are empty
platform/lang-impl/src/com/intellij/psi/search/PredefinedSearchScopeProviderImpl.java