Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>RiverHooks ArchNew to Visual Studio Code? Get it now.
RiverHooks Arch

RiverHooks Arch

dchapman

|
85 installs
| (0) | Free
Create feature folders that create Client, Repo, View, Provider and Entity subfolders with provider files between each for architectural flow.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

RiverHooks Arch README

This is the README for the extension "RiverHooks Arch".

Features

This extension creates a pragmatic architecture that uses features with Riverpod and Hooks for state management.

Right click in the project navigation menu and select: "New: Riverhooks Feature", upon which you will be prompted for a name for your new feature. We recommend single word names.

Upon which a folder with your feature will be created with the following subfolders and files. Featurename Folder SubFolders:

  • View: featurename_page.dart w/ provider to Provider (controller)
  • Providers: featurename_provider.dart w/ provider to Repository
  • Repository: featurename_repository.dart w/ access to Entity
  • Client: empty - local or remote clients are to be built by you, and create providers so that the repo can access the Client.

The architectural flow is setup as:

  • View: UI ->
  • Provider: (Controller) - provider that responds to events from the UI and updates other
    providers, houses other providers, or contacts the repo ->
  • Repository: Methods to be called to fetch from local or remote source Client. The repo also formats and massages data to create the Entity (model) object.
  • Client: Local, or remote. The literal calls to API or local persistence, is done here

Requirements

VSCode 1.49

Extension Settings

Include if your extension adds any VS Code settings through the contributes.configuration extension point.

For example:

This extension contributes the following settings:

  • myExtension.enable: enable/disable this extension
  • myExtension.thing: set to blah to do something

Known Issues

None

Release Notes

Initial Release Add right click context menu functionality Add template and folder/file creation logic

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft