Commit 1df17ad
Fix "Add to Watch" from hover window using "hover" instead of variable name (#334)
* Initial plan
* Fix hover window "Add to Watch" parameter order bug
Fixed the bug where adding a variable to watch from hover window would incorrectly use "hover" as the variable name instead of the actual expression name. The issue was in run_hover() passing parameters in wrong order to variables.createRef().
Changed: variables.createRef(res, "hover")
To: variables.createRef(res, expression, "hover")
This now matches the correct implementation used in run_watch().
Co-authored-by: sumneko <[email protected]>
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: sumneko <[email protected]>1 parent 37492db commit 1df17ad
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments