lppedd / idea-conventional-commit

Context and template-based completion for conventional/semantic commits.
https://plugins.jetbrains.com/plugin/13389-conventional-commit
MIT License
341 stars 18 forks source link

Lost commit message, when editing it with specific file opened #123

Open amal opened 1 year ago

amal commented 1 year ago

As of v0.22.0, if you edit the commit message with a specific file open, all changes are lost when the file is closed.

Steps to reproduce:

  1. Open the commit dialog, and write any commit message.
  2. Open any file from the commit, and edit the commit message.
  3. Close the file (return to the commit dialog from step 1). See that changes from step 2 are lost.
lppedd commented 1 year ago

Hey there! That's very odd. Have you tried disabling the plugin and trying the same steps?

amal commented 1 year ago

@lppedd Yes, it reproduces for me in IDEA and Android Studio. With the plugin disabled it works fine.

E.g.:

IntelliJ IDEA 2023.1.2 (Community Edition)
Build #IC-231.9011.34, built on May 16, 2023
Runtime version: 17.0.6+10-b829.9 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10.0
GC: ZGC Cycles, ZGC Pauses
Memory: 5120M
Cores: 12
Registry:
    debugger.watches.in.variables=false
    debugger.new.tool.window.layout=true
    ide.experimental.ui=true
    ide.balloon.shadow.size=0

Non-Bundled Plugins:
    detekt (2.0.0)
    com.github.lppedd.idea-conventional-commit (0.22.0)
    com.c5inco.modifiers (0.1.13)
    com.github.leomillon.uuidgenerator (4.5.1)
    com.github.copilot (1.2.8.2642-nightly)
    org.jetbrains.jumpToLine (0.1.13)
    VisualVMLauncher (1.21.211.6085.0)
    String Manipulation (9.7.1)
    com.tabnine.TabNine (1.0.15)
    com.github.kornilovaL.flamegraphProfiler (1.0)
    com.github.ragurney.spotless (2.0.0)
    Gradle View (4.0.0)
    de.achimonline.github_markdown_emojis (1.3.0)
    org.jetbrains.kotlin (231-1.9.0-Beta-release-209-IJ8770.65)
    indent-rainbow.indent-rainbow (2.1.0)
    com.wakatime.intellij.plugin (14.1.5)
    Docker (231.9011.41)
    com.intellij.grazie.pro (0.3.226)
    org.arkivanov.mvikotlin.plugin.idea.timetravel (3.0.1)
    izhangzhihao.rainbow.brackets (2023.2.11)
    com.faendir.intellij.gradle-version-catalogs-plugin (1.3.0)
    com.nbadal.ktlint (0.12.0)
    org.jetbrains.compose.desktop.ide (1.4.0)
    git-extended-update-index (0.1.3)
    com.copperleaf.ballast.Ballast (3.0.2)

Kotlin: 231-1.9.0-Beta-release-209-IJ8770.65
kahnsen commented 1 year ago

I have the same question as well.

Android Studio Giraffe | 2022.3.1 Patch 2