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

Autocomplete on context artifacts' names in assistant chat #21581

Open
1 task done
l4b4r4b4b4 opened this issue Dec 5, 2024 · 3 comments
Open
1 task done

Autocomplete on context artifacts' names in assistant chat #21581

l4b4r4b4b4 opened this issue Dec 5, 2024 · 3 comments
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) autocompletions Feedback for code completions in the editor awaiting info Issue that needs more information from the user feature [core label]

Comments

@l4b4r4b4b4
Copy link

Check for existing issues

  • Completed

Describe the feature

Feature Request: Autocomplete for context artifacts' names in Assistant Chat Input

Description:
Enhance the Assistant chat panel in Zed Editor by introducing an autocomplete feature for file names and context artifacts during prompt entry. This feature will dynamically suggest file names, directories, and other relevant workspace artifacts as users type, enabling seamless referencing of files and project elements in Assistant conversations.

Key Benefits:

  1. Context-Aware Suggestions: Autocomplete suggestions are based on the current workspace, including file names, paths, and recently interacted files.
  2. Efficiency Boost: Users can quickly reference files without typing full paths, streamlining interactions with the Assistant.
  3. Error Reduction: Prevents typos or incorrect file references by ensuring accurate autocomplete options.
  4. Integrated Context: Suggests related files or artifacts based on the ongoing conversation and workspace relevance.
  5. Intuitive Ranking: Prioritizes frequently used, recently modified, or contextually relevant files for quicker access.

This feature simplifies and accelerates the user experience when referencing files in prompts, fostering a smoother and more intuitive interaction with the Assistant in Zed Editor.

Environment

Zed: v0.160.7 (Zed)
OS: Linux Wayland nixos 24.11
Memory: 62.6 GiB
Architecture: x86_64
GPU: NVIDIA GeForce RTX 3080 Ti || NVIDIA || 560.35.03

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@JosephTLyons JosephTLyons added ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) and removed triage labels Jan 2, 2025
@JosephTLyons
Copy link
Collaborator

Hey @l4b4r4b4b4, sorry for the late reply here, we've been a bit backed up, and then the holidays hit. Just to be sure, I'm guessing you already know about slash commands, which does have an autocompletions system for things like /file and such? I'm assuming you are simply wanting this sort of behavior on all the time, a system that is triggered by typing in general and not only on slash commands?

@JosephTLyons JosephTLyons added autocompletions Feedback for code completions in the editor awaiting info Issue that needs more information from the user labels Jan 2, 2025
@devzeth
Copy link
Member

devzeth commented Feb 21, 2025

Hey @l4b4r4b4b4, sorry for the late reply here, we've been a bit backed up, and then the holidays hit. Just to be sure, I'm guessing you already know about slash commands, which does have an autocompletions system for things like /file and such? I'm assuming you are simply wanting this sort of behavior on all the time, a system that is triggered by typing in general and not only on slash commands?

Hey, @l4b4r4b4b4 could you confirm this? :)

@l4b4r4b4b4
Copy link
Author

l4b4r4b4b4 commented Feb 24, 2025

@JosephTLyons yep thats what I was looking for 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) autocompletions Feedback for code completions in the editor awaiting info Issue that needs more information from the user feature [core label]
Projects
None yet
Development

No branches or pull requests

3 participants