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/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/util/CodeWhispererFileContextProvider.kt
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -146,18 +146,20 @@ class DefaultCodeWhispererFileContextProvider(private val project: Project) : Fi
146
146
val latency =System.currentTimeMillis() - startFetchingTimestamp
Copy file name to clipboardExpand all lines: plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/util/SupplementalContextStrategy.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ enum class CrossFileStrategy : SupplementalContextStrategy {
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/project/LspMessage.kt
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ data class QueryChatRequest(
52
52
data classQueryInlineCompletionRequest(
53
53
valquery:String,
54
54
valfilePath:String,
55
-
valtarget:String
55
+
valtarget:String,
56
56
) : LspRequest
57
57
58
58
data classLspResponse(
@@ -76,9 +76,7 @@ enum class InlineContextTarget(private val v: String) {
76
76
CODEMAP("codemap"),
77
77
BM25("bm25"), ;
78
78
79
-
overridefuntoString(): String {
80
-
returnthis.v
81
-
}
79
+
overridefuntoString(): String=this.v
82
80
}
83
81
84
82
// TODO: unify with [software.aws.toolkits.jetbrains.services.codewhisperer.model.Chunk]
0 commit comments