[ultimate] IDEA-346716 Spring beans auto-injection via completion: scroll jumps to the top

KTIJ-28883 Do not suggest a live template for Kotlin quick fix if there are no available variables

GitOrigin-RevId: 65642a313c337517083830878b72a8b678230233
This commit is contained in:
Evgenii Zakharchenko
2024-02-22 11:10:23 +01:00
committed by intellij-monorepo-bot
parent c5a80136b6
commit 4deae98f45
6 changed files with 62 additions and 14 deletions

View File

@@ -55,4 +55,11 @@ public interface CreateFieldRequest extends ActionRequest {
* @return whether the field must be a compile-time constant
*/
boolean isConstant();
/**
* @return should start live template after a new field was created.
*/
default boolean isStartTemplate() {
return true;
}
}