Skip to content

Commit

Permalink
Release 2021.1-2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
onewhl committed May 28, 2021
1 parent f23177b commit aefb30c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@

[![JB Research](https://jb.gg/badges/research-flat-square.svg)](https://research.jetbrains.org/)
[![pipeline status](https://github.com/JetBrains-Research/refactorinsight/workflows/Java%20CI%20with%20Gradle/badge.svg)](https://github.com/JetBrains-Research/refactorinsight/badges/master)
[![coverage report](https://codecov.io/gh/JetBrains-Research/refactorinsight/branch/master/graph/badge.svg)](https://codecov.io/gh/JetBrains-Research/refactorinsight)
[![Downloads](https://img.shields.io/jetbrains/plugin/d/14704-refactorinsight.svg?style=flat-square)](https://plugins.jetbrains.com/plugin/14704-refactorinsight)

RefactorInsight is a plugin for IntelliJ IDEA that enables the IDE to visualize refactorings in the commit history of Java and Kotlin projects. RefactorInsight relies on [RefactoringMiner](https://github.com/tsantalis/RefactoringMiner) and [kotlinRMiner](https://github.com/JetBrains-Research/kotlinRMiner) for retrieval of refactorings.
RefactorInsight is a plugin for IntelliJ IDEA that enhances IDE representation of code changes with refactoring information in Java and Kotlin projects. RefactorInsight relies on [RefactoringMiner](https://github.com/tsantalis/RefactoringMiner) and [kotlinRMiner](https://github.com/JetBrains-Research/kotlinRMiner) for retrieval of refactorings.

## Getting started
RefactorInsight is сompatible with IntelliJ IDEA 2020.3 and is available for free in the Marketplace: [RefactorInsight](https://plugins.jetbrains.com/plugin/14704-refactorinsight).
RefactorInsight is сompatible with IntelliJ IDEA 2021.1 and is available for free in the Marketplace: [RefactorInsight](https://plugins.jetbrains.com/plugin/14704-refactorinsight).

### Smart diff
To make reviewing bug fixes or new features easier, the plugin auto folds refactorings in code diffs and shows hints with their short descriptions.
Currently, it works for the following refactoring types: `Move Method`, `Pull Up/Push Down Method`, `Extract Method`, and `Inline Method`.

<img src="assets/img/refactorinsight_hint.png" alt="Example" width="600">

### Refactorings in commits
To see the refactorings in a git repository, open the built-in `Git` tab. On the right side, you will see a toggle button ![](assets/img/refactorinsight_toggle.svg).
Expand Down
Binary file added assets/img/refactorinsight_hint.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 9 additions & 2 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,26 @@
<id>org.jetbrains.research.refactorinsight</id>
<name>RefactorInsight</name>
<vendor>JetBrains</vendor>
<version>2021.1-1.0</version>
<version>2021.1-2.0</version>

<description><![CDATA[
<p>Discovers refactorings in code changes and visualizes them.</p>
<p>Enhances IDE representation of code changes with refactoring information.</p>
<ul>
<li>Supports Java and Kotlin.</li>
<li>Folds refactorings in diffs and shows hints with their descriptions.</li>
<li>Detects refactorings in Pull Requests.</li>
<li>Detects refactorings at any specific commit selected in the Git Log tab.</li>
<li>Provides the refactoring history for classes, methods, and fields.</li>
</ul>
]]></description>

<change-notes><![CDATA[
<h4>2021.1-2.0</h4>
<ul>
<li>Fold refactorings in diffs and show hints with their descriptions</li>
<li>Minor bug fixes</li>
</ul>
<h4>2021.1-1.0</h4>
<ul>
<li>Add compatibility with IDEA 2021.1</li>
Expand Down

0 comments on commit aefb30c

Please sign in to comment.