Skip to content

Commit cbc9a19

Browse files
committed
fix(amazonq): Removed read-only view from before diff for generated code
1 parent 6955ef9 commit cbc9a19

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Fix issue where before diff of generated code is read-only"
4+
}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# _3.34_ (2024-10-21)
2+
- **(Bug Fix)** Fix issue where before diff of generated code is read-only
3+
14
# _3.33_ (2024-10-17)
25
- **(Feature)** Add support for 2024.3
36
- **(Bug Fix)** `@workspace` cannot properly locate certain folders for certain project setup

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevController.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ class FeatureDevController(
219219
}
220220

221221
val request = SimpleDiffRequest(message.filePath, leftDiffContent, rightDiffContent, null, null)
222-
request.putUserData(DiffUserDataKeys.FORCE_READ_ONLY, true)
223222

224223
DiffManager.getInstance().showDiff(project, request)
225224
}

0 commit comments

Comments
 (0)