Scenarios for # comment triggered feedback providers #20030
Replies: 5 comments 6 replies
-
I can't see any other scenarios for comment triggers at the moment. Even for LLM help the UX doesn't feel very natural because you're not explicitly invoking it. I thought about a prefix or something but at that point it may as well be a command. The least natural part of the UX for me is that I paste a lot of snippets into the terminal that include comments that trigger it unexpectedly. |
Beta Was this translation helpful? Give feedback.
-
When I demo my PowerShell AI module one example I type in: # what is my ip address Then press ctrl+shift+g to trigger sending that as prompt to GPT. Often, at the console, I start with a
|
Beta Was this translation helpful? Give feedback.
-
I'm most concerned about this too. Especially, when a feedback provider leveraging |
Beta Was this translation helpful? Give feedback.
-
Another interesting thing I wanted to add is that warp.dev uses comments to query its terminal A.I feature: |
Beta Was this translation helpful? Give feedback.
-
We have decided to remove this option per #20136 |
Beta Was this translation helpful? Give feedback.
-
We are discussing what kind of scenarios there may be for feedback providers that are triggered by # comments in the console. Our one original scenario was for making calls to large language models so that the user can provider more input to the LLMs. This would be similar to the Codex CLI tool, https://github.com/microsoft/Codex-CLI. Current thinking is that a feedback provider could be developed like so:
This could also tie the feedback provider results into the predictive IntelliSense experience of PowerShell so users could then easily accept the solution given from a LLM.
Another consideration is that we can increase the timeout of feedback providers for this specific trigger since it can be implied that the users input is expecting a potential longer wait for results. Related to #19975, ultimately we need to have more discussion for the timeout for the other feedback provider triggers.
Some open questions for discussion:
Would love to hear folks thoughts! Personally I am struggling to find other scenarios that may be worth creating feedback providers and find the UX to not be as natural as a command that passes user prompt as an argument. The predictive intellisense tie in however is interesting and could make it an easier way for users to use the code they are getting suggested without copying and pasting with cursor.
cc @daxian-dbw @dfinke @ShaunLawrie
Beta Was this translation helpful? Give feedback.
All reactions