Commit 3ffe4e9
committed
fix: send cursorState as array to match LSP server ChatParams interface
The LSP server expects cursorState to be CursorState[] (array), but JetBrains
was sending it as a single object. This caused the server to fall back to
default cursor state when accessing cursorState?.[0] on a non-array value.
Fixes selection detection when user types directly in chat panel.1 parent 25560ed commit 3ffe4e9
File tree
1 file changed
+1
-1
lines changed- plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
0 commit comments