isar / isar/hive

VsCode extension for generating adapters

Open
#938 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
4.4k
Forks
449
PR merge metrics
No merged PRs in 30d

Description

**Describe alternatives you've considered**
Currently we have only 2 ways: to write adapter manually or to use codegeneration.
Manual creation is boring and error-prone. While codegeneration is very slow, and I try to avoid it as much as possible.
But VsCode extensions generate code instantly

**Describe the solution you'd like**
Consider creating an IDE extension.
![image](https://user-images.githubusercontent.com/12999702/159896839-3069611f-844e-4138-b244-d84fbb49a228.png)

So on Ctrl+. on class name I invoke the menu, where should be entry "Generate Hive TypeAdapter". On click, it will analyse the current model class and create a TypeAdapter boilerplate

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or extension entry points are identified. Start by reviewing how adapter code generation currently analyzes model classes, then determine the VS Code extension scope and integration point; done means a Ctrl+. action can generate the requested Hive TypeAdapter boilerplate from the current model class.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.