RefactorInsight icon indicating copy to clipboard operation
RefactorInsight copied to clipboard

An IntelliJ IDEA plugin that detects refactorings in Git commits

Results 23 RefactorInsight issues
Sort by recently updated
recently updated
newest added

It would be beneficial if a commit message could be generated based on detected refactorings. Even if refactorings are only detected for commits, it would be wonderful to have this...

Feature

**What steps will reproduce the issue?** 1. Select a commit from Git log. 2. Notice that Files link at the top doesn't use the same color scheme as other menu...

https://github.com/jodavimehran/code-tracker/commit/daeaccb67f2f1510ae15e45727ed1347d9368bdb Lines R431 and R432 are new and correspond to the extracted variables `fragment1` and `fragment2` It would help to align the code as follows to make the visualization more...

The diff from the plugin: The original diff: Even an icon came from Java:

In commit https://github.com/tsantalis/RefactoringMiner/commit/5e79668850baf0cfe4abcae25cc21d0451550e22 there are 3 added parameters, but the offsets are shifted below the actual location of the added parameters ![Screenshot from 2023-03-08 06-20-49](https://user-images.githubusercontent.com/1483516/223700789-82edb27f-63b9-4380-9435-19e251f506a6.png) ![Screenshot from 2023-03-08 06-25-32](https://user-images.githubusercontent.com/1483516/223701412-71ff530d-a87b-46d3-9d9d-38b4fb57858f.png)

Without the option: With the option: Another example: These highlights on the left side (with the option) looks redundant

bug

Add logging using `com.intellij.openapi.diagnostic.Logger`. Log plugin's actions: - detect refactorings in the commit - show diff - click on "hide non-refactoring changes" - and so on

`java.lang.InterruptedException at java.base,java.util.concurrent.CompletableFuture.reportGet([CompletableFuture.java:386](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.util.concurrent.CompletableFuture:385)) at java.base,java.util.concurrent.CompletableFuture.get([CompletableFuture.java:2073](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.util.concurrent.CompletableFuture:2072)) at org.eclipse.jgit.util.FS$FileStoreAttributes.getFileStoreAttributes([FS.java:443](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=org.eclipse.jgit.util.FS$FileStoreAttributes:442)) at org.eclipse.jgit.util.FS$FileStoreAttributes.get([FS.java:346](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=org.eclipse.jgit.util.FS$FileStoreAttributes:345)) at org.eclipse.jgit.util.FS.getFileStoreAttributes([FS.java:913](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=org.eclipse.jgit.util.FS:912)) at org.eclipse.jgit.internal.storage.file.FileSnapshot.([FileSnapshot.java:226](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=org.eclipse.jgit.internal.storage.file.FileSnapshot:225)) at org.eclipse.jgit.internal.storage.file.FileSnapshot.([FileSnapshot.java:207](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=org.eclipse.jgit.internal.storage.file.FileSnapshot:206)) at org.eclipse.jgit.internal.storage.file.FileSnapshot.save([FileSnapshot.java:104](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=org.eclipse.jgit.internal.storage.file.FileSnapshot:103)) at org.eclipse.jgit.internal.storage.file.RefDirectory.scanRef([RefDirectory.java:1094](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=org.eclipse.jgit.internal.storage.file.RefDirectory:1093)) at org.eclipse.jgit.internal.storage.file.RefDirectory.readRef([RefDirectory.java:1064](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=org.eclipse.jgit.internal.storage.file.RefDirectory:1063)) at org.eclipse.jgit.internal.storage.file.RefDirectory.readAndResolve([RefDirectory.java:264](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=org.eclipse.jgit.internal.storage.file.RefDirectory:263)) at org.eclipse.jgit.internal.storage.file.RefDirectory.firstExactRef([RefDirectory.java:318](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=org.eclipse.jgit.internal.storage.file.RefDirectory:317)) at org.eclipse.jgit.lib.RefDatabase.findRef([RefDatabase.java:271](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=org.eclipse.jgit.lib.RefDatabase:270)) at org.eclipse.jgit.lib.Repository.findRef([Repository.java:1093](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=org.eclipse.jgit.lib.Repository:1092)) at...

bug