You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/CodeModernizerSession.kt
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/controller/CodeTransformChatController.kt
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -163,7 +163,13 @@ class CodeTransformChatController(
163
163
// Publish a metric when transform is first initiated from chat prompt.
164
164
telemetry.initiateTransform()
165
165
166
-
this.getUserObjective(message.tabId)
166
+
val isSqlTransformReady =false// feature flag for SQL conversions
167
+
168
+
if (isSqlTransformReady) {
169
+
this.getUserObjective(message.tabId)
170
+
} else {
171
+
this.handleLanguageUpgrade()
172
+
}
167
173
}
168
174
169
175
privatesuspendfungetUserObjective(tabId:String) {
@@ -324,8 +330,6 @@ class CodeTransformChatController(
324
330
val extractedZip = createTempDirectory("codeTransformSQLMetadata", null) // .path.toVirtualFile()
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/model/CodeModernizerSessionContext.kt
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -226,7 +226,6 @@ data class CodeModernizerSessionContext(
226
226
227
227
// 2) Dependencies / SQL conversion metadata
228
228
if (depDirectory !=null) {
229
-
notifyStickyInfo("depDirectory", "depDirectory is NOT null")
230
229
dependencyFiles.forEach { depFile ->
231
230
val relativePath =File(depFile.path).relativeTo(depDirectory)
0 commit comments