sourcegraph / jetbrains

Apache License 2.0
71 stars 23 forks source link

bug: Rejecting a diff doesn't return code to previous state #2610

Open Bigsy opened 1 hour ago

Bigsy commented 1 hour ago

IDE Information

IntelliJ IDEA 2024.2.4 (Ultimate Edition) Build #IU-242.23726.103, built on October 23, 2024 Subscription is active until October 20, 2025. Runtime version: 21.0.4+13-b509.26 aarch64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.lwawt.macosx.LWCToolkit macOS 15.1 GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation Memory: 3048M Cores: 8 Metal Rendering is ON Registry: ide.balloon.shadow.size=0 debugger.new.tool.window.layout=true documentation.show.toolbar=true ide.intellij.laf.enable.animation=true ide.experimental.ui=true i18n.locale= ide.images.show.chessboard=true Non-Bundled Plugins: com.intellij.plugins.xwinkeymap (211.4961.30) com.github.continuedev.continueintellijextension (0.0.80) org.intellij.plugins.hcl (242.23339.11) PythonCore (242.23726.103) com.jetbrains.space (242.23726.16) org.jetbrains.settingsRepository (242.21829.3) com.gafner.giv (2024.2.3) com.intellij.ideolog (242.23726.110) name.kropp.intellij.makefile (242.23726.16) String Manipulation (9.14.1) Pythonid (242.23726.103) EDN-JSON Converter (0.0.5) com.intellij.grazie.pro (0.3.343) com.intellij.plugins.kdekeymap (213.4250.391) com.jetbrains.packagesearch.intellij-plugin (242.0.12) com.sourcegraph.jetbrains (7.0.18) com.cursiveclojure.cursive (1.14.0-eap2-2024.2) Kotlin: 242.23726.103-IJ

Bug Description

Not sure if a clojure problem or not but applying the diff breaks the code and rejecting it leaves it broken Video of issue: https://github.com/user-attachments/assets/932e991b-8279-46a2-949c-a3ff3b87aa12

Additional context

No response

linear[bot] commented 1 hour ago

BUGS-697 bug: Rejecting a diff doesn't return code to previous state