mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
[name hints] settings ui cosmetics
This commit is contained in:
@@ -53,7 +53,7 @@ object JavaInlayHintsProvider {
|
||||
if (params.isEmpty()) return false
|
||||
if (params.size == 1) {
|
||||
if (isBuilderLike(callExpression, method) || isSetterNamed(method)) return false
|
||||
if (!ParameterNameHintsSettings.getInstance().isShowParamNameContainedInMethodName
|
||||
if (ParameterNameHintsSettings.getInstance().isDoNotShowIfMethodNameContainsParameterName
|
||||
&& isParamNameContainedInMethodName(params[0], method)) return false
|
||||
}
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user