mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Infer parameter types from file-local function usages during code completion
This commit is contained in:
@@ -53,6 +53,10 @@ public class TypeEvalContext {
|
||||
return myAllowDataFlow || element.getContainingFile() == myOrigin;
|
||||
}
|
||||
|
||||
public boolean allowLocalUsages(@NotNull PsiElement element) {
|
||||
return myAllowStubToAST && myAllowDataFlow && element.getContainingFile() == myOrigin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create the most detailed type evaluation context for user-initiated actions.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user