in src/main/java/ru/adelf/idea/dotenv/extension/DotEnvReferencesSearcher.java [28:40]
private static void addPropertyUsages(@NotNull DotEnvProperty property, @NotNull SearchScope scope, @NotNull SearchRequestCollector collector) {
final String propertyName = property.getKeyText();
if (StringUtil.isNotEmpty(propertyName)) {
/*SearchScope additional = GlobalSearchScope.EMPTY_SCOPE;
for (CustomPropertyScopeProvider provider : CustomPropertyScopeProvider.EP_NAME.getExtensionList()) {
additional = additional.union(provider.getScope(property.getProject()));
}
SearchScope propScope = scope.intersectWith(property.getUseScope()).intersectWith(additional);*/
collector.searchWord(propertyName, scope, UsageSearchContext.ANY, true, property);
collector.searchWord("process.env." + propertyName, scope, UsageSearchContext.ANY, true, property);
}
}