Skip to content

Commit b49e445

Browse files
committed
TemplateContextType with obsolete manufacturer to be compatible with old version
Update ChangeLog
1 parent 4c9e27f commit b49e445

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
## [2.223.0]
88
- Support 2022.3
99
- Update Gradle IntelliJ Plugin version 1.11.0
10-
- Update Constructor deprecated TemplateContextType
1110

1211
## [2.222.1]
1312
- Support 2022.2

src/main/kotlin/com/github/tbm98/fluttergeneratorsnippets/FlutterContext.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import com.intellij.codeInsight.template.TemplateActionContext
44
import com.intellij.codeInsight.template.TemplateContextType
55

66
class FlutterContext private constructor() :
7-
TemplateContextType( "Flutter generator snippets") {
7+
TemplateContextType( "FLUTTER_GENERATOR_SNIPPETS", "Flutter generator snippets") {
88
override fun isInContext(templateActionContext: TemplateActionContext): Boolean {
99
return templateActionContext.file.name.endsWith(".dart")
1010
}

0 commit comments

Comments
 (0)