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

https://github.com/hbmartin/intellij-replace-string-format-with-kotlin-template

Replace String.format with Kotlin String Template
https://github.com/hbmartin/intellij-replace-string-format-with-kotlin-template

android-studio intellij-plugin

Last synced: 7 months ago
JSON representation

Replace String.format with Kotlin String Template

Awesome Lists containing this project

README

          

# Replace String.format with Kotlin String Template

![Build](https://github.com/hbmartin/intellij-replace-string-format-with-kotlin-template/workflows/Build/badge.svg)
![Linting](https://github.com/hbmartin/intellij-replace-string-format-with-kotlin-template/workflows/Linting/badge.svg)
[![Version](https://img.shields.io/jetbrains/plugin/v/18563-replace-string-format-with-kotlin-string-template.svg)](https://plugins.jetbrains.com/plugin/18563-replace-string-format-with-kotlin-string-template)
[![CodeFactor](https://www.codefactor.io/repository/github/hbmartin/intellij-replace-string-format-with-kotlin-template/badge)](https://www.codefactor.io/repository/github/hbmartin/intellij-replace-string-format-with-kotlin-template)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=hbmartin_intellij-replace-string-format-with-kotlin-template&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=hbmartin_intellij-replace-string-format-with-kotlin-template)

Quickly add named parameters to all callers of a Kotlin class, method or file.

Using it is easy:

1. Place your cursor in a `String.format` call in a Kotlin file

2. Search for this action or choose "Replace String.format with Kotlin String Template" from the bottom of the Code menu

3. jk, there is no step 3

## Installation

- Using IDE built-in plugin system:

Settings/Preferences > Plugins > Marketplace > Search for "Replace String.format with Kotlin String Template" >
Install Plugin

- Manually:

Download the [latest release](https://github.com/hbmartin/intellij-replace-string-format-with-kotlin-template/releases/latest) and install it manually using
Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

## Contributing

* [PRs](https://github.com/hbmartin/intellij-replace-string-format-with-kotlin-template/pulls) and [bug reports / feature requests](https://github.com/hbmartin/intellij-replace-string-format-with-kotlin-template/issues) are all welcome!
* This project is linted with [ktlint](https://github.com/pinterest/ktlint) via [ktlint-gradle](https://github.com/JLLeitschuh/ktlint-gradle/tags) and statically analyzed with [detekt](https://github.com/detekt/detekt)
* Treat other people with helpfulness, gratitude, and consideration! See the [JetBrains CoC](https://confluence.jetbrains.com/display/ALL/JetBrains+Open+Source+and+Community+Code+of+Conduct)

## Authors

* [Harold Martin](https://www.linkedin.com/in/harold-martin-98526971/) - harold.martin at gmail