Git Product home page Git Product logo

freezed_intellij_live_templates's Introduction

freezed_intellij_live_templates

Live Templates for the freezed package in the intellij ecosystem.

Create boiler plate code faster so you can get to your bussiness logic

Installation

  • Using IDE built-in plugin system: Settings/Preferences > Plugins > Marketplace > Search for "Flutter Freezed Snippets" > Install Plugin

  • Manually: Download the latest release and install it manually using Settings/Preferences > Plugins > โš™๏ธ > Install plugin from disk...

There should be a Live Template Group called Freezed. Freezed Live Template

Live Templates

freezedClass

Begin to type freezedClass and press Tab to generate a freezed class

@freezed
class Demo with _$Demo {
}

freezedConst

Begin to type freezedConst and press Tab to generate a basic constructor

const factory Demo() = _Demo;

freezedPart

Begin to type freezedPart and press Tab to generate the part statement

part 'scratch.freezed.dart';

freezedFromJson

Begin to type freezedFromJson and press Tab to generate the fromJson method for json_serializable

factory Demo.fromJson(Map<String, dynamic> json) => _$DemoFromJson(json);

freezedJsonPart

Begin to type freezedJsonPart and press Tab to generate the part statement for json_serializable

part 'scratch.g.dart';

Contact

if you have any bugs/requests go to the Issues tab

freezed_intellij_live_templates's People

Contributors

actions-user avatar hatch01 avatar mjstel avatar tinhorn avatar valentingrigorean avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

freezed_intellij_live_templates's Issues

installing with IntelliJ 2021.2 removes Flutter/Dart plugins

Hi, I tried installing this with 2021.1, however, Freezed never showed up at live templates.

So I have updated to 2021.2. And now, whenever I try to import settings, the plugins of Flutter and Dart are removed upon restart.

I did

  1. File > Manage IDE Settings > Import
  2. select the archive in my downloads folder "freezed_live_templates"
  3. clicked on "import and restart"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.