Commit Graph

25 Commits

Author SHA1 Message Date
Johannes Rieken
9be7ec806e validation position before using it (#244438)
* Revert "make TextModel line methods forgiving (like range methods) (#244430)"

This reverts commit 060cf69703.

* validation position before using it
2025-03-24 11:18:43 +01:00
Rob Lourens
4594828698 Fix remaining ChatAgentLocation imports (#243693)
* Fix more ChatAgentLocation imports

* Fix more
2025-03-16 19:00:11 +01:00
Johannes Rieken
4a93ee1faf fixes https://github.com/microsoft/vscode-copilot/issues/13152 (#242060) 2025-02-26 13:14:57 +01:00
Johannes Rieken
09a758fb3f refactor the new inline chat controller so that switching is simpler (#239937) 2025-02-07 14:08:52 +01:00
Johannes Rieken
330e6bfeb9 more inline chat controller alignment (#239785)
* remove `InlineChatController#onWillStartSession`

* more inline chat controller alignment

* more inline chat controller alignment

* fix compile errors
2025-02-06 12:22:23 +01:00
Johannes Rieken
7efdaa5e8e don't show inline chat hint when line has too many comments or strings. (#236567)
The limit is 25% strings, comments, or regex token and (as before) lines ending in comments

https://github.com/microsoft/vscode-copilot-release/issues/3009
2024-12-19 11:34:50 +01:00
Johannes Rieken
d6faa5b076 debt - use observableConfigValue (#235508) 2024-12-06 17:30:17 +01:00
Johannes Rieken
9609819024 makes inline chat hint stable wrt blame decoration (#235497)
- change from injected text to after decoration
- use class name for awol attachedData

https://github.com/microsoft/vscode-copilot/issues/10943
2024-12-06 16:23:47 +01:00
Johannes Rieken
4fc0684586 fix https://github.com/microsoft/vscode-copilot/issues/10944 (#235401) 2024-12-05 15:55:04 +01:00
Johannes Rieken
5aa7115522 Fixes microsoft/vscode-copilot#11036 (#235294)
* fix https://github.com/microsoft/vscode-copilot/issues/11036

* cleanup
2024-12-04 18:02:33 +01:00
Johannes Rieken
0e2d7ef9dc asorted fixes (#235242)
* fix https://github.com/microsoft/vscode/issues/235043

* fix https://github.com/microsoft/vscode-copilot/issues/10926

* remove hover message for inline hint

fix https://github.com/microsoft/vscode-copilot/issues/10947
2024-12-04 09:21:45 +01:00
Johannes Rieken
4defa1673a use agent name (not full name) for inline chat hint (#234976)
* don't animate or fade inline chat hint

* make `inlineChat.lineEmptyHint` and `inlineChat.lineSuffixHint` as EXP settings

* use agent name (not full name) for inline chat hint

https://github.com/microsoft/vscode-copilot/issues/10863
2024-12-02 13:10:22 +01:00
Johannes Rieken
c0699e2945 Joh/sweet-crawdad (#234851)
* fix empty line hint

* no ellipsis on hints

* add `renderDetectedCommandsWithRequest` option and use it for inline chat

fyi @roblourens
2024-11-28 17:31:08 +01:00
Johannes Rieken
1994ebabef tweak inline chat hint (#234821)
* make editor readonly and disable squiggle while inline chat shows reply

https://github.com/microsoft/vscode/issues/226160

* tweak inline chat hint

only show on intented empty lines, hide when command run

* fix tests (only disable squiggle, not readonlyness)
2024-11-28 12:58:47 +01:00
Johannes Rieken
5555f6604d inline hint for empty lines, right-click to hide, differentiate between empty line and suffix hint (#234773) 2024-11-27 09:08:40 -08:00
Johannes Rieken
ebe6e7f4f2 hide squiggles when showing inline chat hint for a line (#234599) 2024-11-25 18:57:47 +01:00
Johannes Rieken
deda781591 add missing tooltip (#234551) 2024-11-25 11:40:53 +01:00
Johannes Rieken
a43f284857 tweak inline chat hint (#234544) 2024-11-25 11:15:03 +01:00
Johannes Rieken
eddef09fa7 renderer side inline hint and cmd to show/hide (#234421) 2024-11-22 15:36:09 +01:00
Benjamin Pasero
6b924c5152 ESM merge to main (#227184)
Co-authored-by: Johannes Rieken <jrieken@microsoft.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-08-30 10:31:46 +02:00
Johannes Rieken
bf52a5cfb2 disable keybinding for startWithCurrentLine (#226302) 2024-08-22 17:52:30 +02:00
Johannes
678d9dd30f inline chat from line should handle discarding more graceful 2024-08-21 16:01:24 +02:00
Johannes Rieken
734932fb20 correct context keys for InlineChatExpandLineAction (#225674) 2024-08-15 11:49:23 +02:00
Johannes Rieken
e6c009a3d4 adjust keybindings weight for "inline chat from line" (#225496) 2024-08-13 16:05:45 +02:00
Johannes Rieken
2811728ba1 first version of tab to trigger inline chat (#225475) 2024-08-13 10:42:41 +02:00