Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/suusan2go/kotlin-fill-class

Intellij plugin that provides intention action for empty constructor
https://github.com/suusan2go/kotlin-fill-class

intellij-plugin kotlin

Last synced: about 4 hours ago
JSON representation

Intellij plugin that provides intention action for empty constructor

Awesome Lists containing this project

README

        

[![CircleCI](https://circleci.com/gh/suusan2go/kotlin-fill-class.svg?style=svg)](https://circleci.com/gh/suusan2go/kotlin-fill-class)
[![jetBrains](https://img.shields.io/jetbrains/plugin/d/10942-kotlin-fill-class.svg)](https://plugins.jetbrains.com/plugin/10942-kotlin-fill-class)

# kotlin-fill-class plugin
Intellij plugin that provide intention action for empty constructor or function to fill property with default value.
Inspired by Go [fillstruct](https://github.com/davidrjenni/reftools/tree/master/cmd/fillstruct)

## Usage
This plugin add intention action for invalid constructor or function expression.
![kotlin fill class demo](https://user-images.githubusercontent.com/8841470/59397528-e61a4380-8dc7-11e9-9684-d82d225316fe.gif)

### Configure settings
You can configure the plugin settings by `Edit inspection profile setting`
![Edit inspection profile setting](https://user-images.githubusercontent.com/1121855/107631811-f4a9b400-6ca8-11eb-9ea8-1b0b56f0fda9.png)

Currently this plugins supports two options.
- Fill arguments without default values
- Do not fill default arguments

## How to install
Install from jetbrains plugins repository.
https://plugins.jetbrains.com/plugin/10942-kotlin-fill-class

## Contributors
Thank you to all our [contributors](https://github.com/suusan2go/kotlin-fill-class/graphs/contributors)!



Made with [contrib.rocks](https://contrib.rocks).

## Maintainers
- [@suusan2go](https://github.com/suusan2go)
- [@oboenikui](https://github.com/oboenikui)