Skip to content

Commit

Permalink
Merge pull request #65 from stephanebalasse/main
Browse files Browse the repository at this point in the history
Support 2022.3
  • Loading branch information
tbm98 authored Jan 6, 2023
2 parents c14ce08 + b49e445 commit 7b235e6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

## [Unreleased]

## [2.223.0]
- Support 2022.3
- Update Gradle IntelliJ Plugin version 1.11.0

## [2.222.1]
- Support 2022.2

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
// Kotlin support
id("org.jetbrains.kotlin.jvm") version "1.6.0"
// Gradle IntelliJ Plugin
id("org.jetbrains.intellij") version "1.3.0"
id("org.jetbrains.intellij") version "1.11.0"
// Gradle Changelog Plugin
id("org.jetbrains.changelog") version "1.3.1"
// Gradle Qodana Plugin
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
# -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
pluginGroup=com.github.tbm98.fluttergeneratorsnippets
pluginName=flutter_generator_snippets
pluginVersion=2.222.1
pluginVersion=2.223.0


# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
pluginSinceBuild = 203
pluginUntilBuild = 222.*
pluginUntilBuild = 223.*

# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
platformType = IC
platformVersion = 2020.3.4
platformVersion = 2022.3

# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import com.intellij.codeInsight.template.TemplateActionContext
import com.intellij.codeInsight.template.TemplateContextType

class FlutterContext private constructor() :
TemplateContextType("FLUTTER_GENERATOR_SNIPPETS", "Flutter generator snippets") {
TemplateContextType( "FLUTTER_GENERATOR_SNIPPETS", "Flutter generator snippets") {
override fun isInContext(templateActionContext: TemplateActionContext): Boolean {
return templateActionContext.file.name.endsWith(".dart")
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<idea-plugin>
<id>io.github.tbm98.flutter_generator_snippets</id>
<name>Flutter snippet for generator tool</name>
<name>Flutter Snippet For Generator Tool</name>
<vendor email="[email protected]" url="https://tbm98.dev">tbm98</vendor>

<!-- Product and plugin compatibility requirements -->
Expand All @@ -9,7 +9,7 @@

<extensions defaultExtensionNs="com.intellij">
<defaultLiveTemplates file="/liveTemplates/Flutter_generator_snippets.xml"/>
<liveTemplateContext implementation="com.github.tbm98.fluttergeneratorsnippets.FlutterContext" />
<liveTemplateContext implementation="com.github.tbm98.fluttergeneratorsnippets.FlutterContext" contextId="FLUTTER_GENERATOR_SNIPPETS"/>
</extensions>

</idea-plugin>

0 comments on commit 7b235e6

Please sign in to comment.