flutter-riverpod-snippets icon indicating copy to clipboard operation
flutter-riverpod-snippets copied to clipboard

Feature request to the Extension

Open deepraj02 opened this issue 1 year ago • 12 comments

Hey Robert, I've been using your extension for a very long time and I love it. However I've some cool ideas in my mind regarding this Extension:

  • Code actions (like the ones Provided by the BLOC extension) image

  • [ ] Convert to StatefulConsumer, Consumer, HooksConsumer (from stateless and Stateful widgets)

  • [ ] Wrap with ConsumerWidget

These are some small changes that I feel will be good features for upcoming release. And if you allow me I'd like to add these features to the Extension myself.

deepraj02 avatar Jan 20 '24 17:01 deepraj02

riverpod_lint This package can solve these issue.

yang-lile avatar Apr 09 '24 02:04 yang-lile

@RobertBrunhage your extension is incredible and very useful 🚀, I greatly agree with @@deepraj02. I came to this Issue looking for the same functionality and I also think it would add a lot of value to your extension. Is there any way to contribute to this?

minusgat avatar Aug 09 '24 16:08 minusgat

riverpod_lint isn't stable. I still want this extension will add this feature. Ping @RobertBrunhage

Trung15010802 avatar Aug 26 '24 02:08 Trung15010802

Yeah I feel it is better to include the snippets in the extension rathen then depending on another dependency/package.

deepraj02 avatar Aug 26 '24 09:08 deepraj02

The project seems to be in a dead state how about I create a fork and add the requested features (as a seperate extension)

deepraj02 avatar Aug 29 '24 15:08 deepraj02

The project seems to be in a dead state how about I create a fork and add the requested features (as a seperate extension)

Cool. Can i use it right now?

Trung15010802 avatar Aug 29 '24 15:08 Trung15010802

Guess I will fork it and make contributions as needed. I think @RobertBrunhage might be busy on maintaining this. I will try to release a new version soon.

pythonhubdev avatar Aug 29 '24 15:08 pythonhubdev

@pythonhubdev I'm also working on the same, can we collaborate?

deepraj02 avatar Aug 29 '24 15:08 deepraj02

Yes we can @deepraj02. Let me know if you need help or review will do it.

pythonhubdev avatar Aug 29 '24 16:08 pythonhubdev

It's an excellent idea, It will make life easy.

UsamaKarim avatar Sep 19 '24 13:09 UsamaKarim

Where can i see your process?

Trung15010802 avatar Sep 20 '24 06:09 Trung15010802

I wrote an extension here: https://marketplace.visualstudio.com/items?itemName=QuangTrung.riverpod-widget-refactor

Trung15010802 avatar Sep 25 '24 15:09 Trung15010802

Hi, since it already supported by Official riverpod_lint, then if you guys plan to add to this plugin please make sure have option to disable it. I do not want my context menu have duplicate item, thank you so much!

quyenvsp avatar Oct 23 '24 08:10 quyenvsp