override fun checkAutoPopup()

in src/main/java/ru/adelf/idea/dotenv/completion/NestedVariableTypedHandlerDelegate.kt [11:22]


    override fun checkAutoPopup(charTyped: Char, project: Project, editor: Editor, file: PsiFile): Result {
        if (file !is DotEnvFile) {
            return super.checkAutoPopup(charTyped, project, editor, file)
        }
        return when(charTyped) {
            '$' -> {
                AutoPopupController.getInstance(project).scheduleAutoPopup(editor)
                return Result.CONTINUE
            }
            else -> super.checkAutoPopup(charTyped, project, editor, file)
        }
    }