Skip to content

Commit

Permalink
UPDATE version
Browse files Browse the repository at this point in the history
  • Loading branch information
tbm98 committed Jun 4, 2022
1 parent c37153d commit 3bcabbb
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 22 deletions.
16 changes: 9 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
<!-- Keep a Changelog guide -> https://keepachangelog.com -->

<!-- Keep a Changelog guide -> https://keepachangelog.com -->

# Plugin Changelog

## [Unreleased]
- Remove scopedProvider
- Remove child in Consumer block

## [2.221.0]
### Changed
### Changed
- Support 2022.1

## [2.213.0]
### Changed
- Support 2021.3
- Support 2021.3
- Update template plugin

## [1.9.3]
Expand All @@ -31,7 +33,7 @@

## [1.8.0]
### Changed
- support since-build: 201 and until-build: 211.*
- support since-build: 201 and until-build: 211.*
- sync with intellij-platform-plugin-template v0.10.0

## [1.6.3]
Expand All @@ -40,7 +42,7 @@

## [1.6.2]
### Changed
- improve code base
- improve code base
- more

## [1.5.0]
Expand Down Expand Up @@ -85,7 +87,7 @@

## [0.5.0]
### Changed
- Making the initial provider name Provider so that people can simply type name for nameProvider, similar for family,
- Making the initial provider name Provider so that people can simply type name for nameProvider, similar for family,
with nameFamily.

## [0.4.0]
Expand Down
3 changes: 1 addition & 2 deletions DESCRIPTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ snippets such as `family` or `provider`.
| provider* | New Provider |
| futureProvider* | New FutureProvider |
| streamProvider* | New StreamProvider |
| scopedProvider | New ScopedProvider |
| stateNotifier | New StateNotifier in [state_provider](https://pub.dev/packages/state_notifier) |
| stateNotifierProvider* | New StateNotifierProvider |
| stateProvider* | New StateProvider |

( * ) is suffix modifier, ex: AutoDispose, AutoDisposeFamily
( * ) is suffix modifier, ex: autoDispose, family
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ snippets such as `family` or `provider`.
## Requirements

[Riverpod]: https://github.com/rrousselGit/river_podRiverpod
IntelliJ based: since-build: 202 [learn more](https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html)
IntelliJ based: since-build: 203 [learn more](https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html)


## Snippets
Expand All @@ -38,9 +38,8 @@ IntelliJ based: since-build: 202 [learn more](https://www.jetbrains.org/intellij
| provider* | New Provider |
| futureProvider* | New FutureProvider |
| streamProvider* | New StreamProvider |
| scopedProvider | New ScopedProvider |
| stateNotifier | New StateNotifier in [state_provider](https://pub.dev/packages/state_notifier) |
| stateNotifierProvider* | New StateNotifierProvider |
| stateProvider* | New StateProvider |

( * ) is suffix modifier, ex: AutoDispose, AutoDisposeFamily
( * ) is suffix modifier, ex: autoDispose, family
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
pluginGroup=com.github.tbm98.flutterriverpodsnippets
pluginName=flutter-riverpod-snippets
pluginVersion=2.221.0
pluginVersion=2.221.1


# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
Expand Down
10 changes: 1 addition & 9 deletions src/main/resources/liveTemplates/Flutter_riverpod_snippets.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<templateSet group="Flutter riverpod snippets">
<template name="consumer" value="Consumer(&#10; builder: (context, ref, child) {&#10; return $CODE$;&#10; },&#10; child: $child$,&#10;)" description="New Consumer widget block" toReformat="true" toShortenFQNames="true">
<template name="consumer" value="Consumer(&#10; builder: (context, ref, child) {&#10; return $CODE$;&#10; },&#10;)" description="New Consumer widget block" toReformat="true" toShortenFQNames="true">
<variable name="CODE" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="child" expression="" defaultValue="" alwaysStopAt="true" />
<context>
Expand Down Expand Up @@ -60,14 +60,6 @@
<option name="DART_TOPLEVEL" value="true" />
</context>
</template>
<template name="scopedProvider" value="final $name$ = ScopedProvider&lt;$type$&gt;((ref){&#10; return $code$;&#10;});" description="New ScopedProvider" toReformat="true" toShortenFQNames="true">
<variable name="name" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="type" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="code" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="DART_TOPLEVEL" value="true" />
</context>
</template>
<template name="stateNotifier" value="class $name$Notifier extends StateNotifier&lt;$state$&gt; {&#10; $name$Notifier(): super($initialState$);&#10;&#10; $END$&#10;}" description="New StateNotifier" toReformat="true" toShortenFQNames="true">
<variable name="name" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="state" expression="" defaultValue="" alwaysStopAt="true" />
Expand Down

0 comments on commit 3bcabbb

Please sign in to comment.