Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variables no longer seem to work with inline chat #1972

Closed
jellynoone opened this issue Oct 22, 2024 · 5 comments
Closed

Variables no longer seem to work with inline chat #1972

jellynoone opened this issue Oct 22, 2024 · 5 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug inline-chat verified Verification succeeded
Milestone

Comments

@jellynoone
Copy link

  • Copilot Chat Extension Version: v0.22.2024102201 (pre-release)
  • VS Code Version: 1.95.0-insider Commit: defe52dc43e6f5d861f55600ff01f7553fac7eaf
  • OS Version: macos 15.0.1

Steps to Reproduce:

  1. Open Editor inline chat
  2. Type #
  3. See no variable suggestions

Previously, variable suggestions were provided. I noticed sometimes a pre-release was broken before and didn't include them, but usually this was only broken for a release or two. Now, it has been several.

In case, this is intentional, I would like to recommend, the editor inline chat continues to have an option to use variables inline with text. This enables the developer to write more natural instructions. For instance: Write an implementation for the interface defined in #file

@github-actions github-actions bot added the triage-needed Issues needing to be assigned to the prospective feature owner label Oct 22, 2024
@digitarald digitarald removed the triage-needed Issues needing to be assigned to the prospective feature owner label Oct 22, 2024
@jrieken jrieken added this to the October 2024 milestone Oct 23, 2024
@jrieken jrieken closed this as completed Oct 23, 2024
@jrieken jrieken added the bug Issue identified by VS Code Team member as probable bug label Oct 23, 2024
@jrieken
Copy link
Member

jrieken commented Oct 23, 2024

Fixed in next insiders/stable

@benibenj benibenj added the verified Verification succeeded label Oct 23, 2024
@jellynoone
Copy link
Author

Tested this out (v0.22.2024102304 (pre-release)) and it does seem fixed.

However, I can only see suggestions for: codebase, terminalLastCommand, terminalSelection and vscodeAPI. I cannot select a file like I can in the sidebar chat?

@jellynoone
Copy link
Author

@jrieken Can you confirm that the #file variable works? Tested out the new release: v0.22.2024102401 (pre-release) and I still only see the options mentioned above.

@jrieken
Copy link
Member

jrieken commented Oct 24, 2024

I cannot select a file like I can in the sidebar chat?

We don't have the 📎 button but you should be able to type # followed by a file name, like #app.js and intellisense should suggest files that are from your workspace. Do you not see that?

Image

@jellynoone
Copy link
Author

jellynoone commented Oct 24, 2024

When I left my previous comments, I didn't see this. I just updated VSCode-Insiders and now I can!

@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Dec 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug inline-chat verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

5 participants