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

CodeLLM Can’t Edit Files and Lacks Contextual Indicators for Files #6

Open
rajeshkanaka opened this issue Dec 22, 2024 · 0 comments

Comments

@rajeshkanaka
Copy link

Description

CodeLLM currently has no mechanism to apply changes suggested in the chat directly to the editor's open files. Moreover, the chat interface does not provide any indication of which files are being considered as context, and there is no way to manually add files to the context. These limitations make it difficult to seamlessly integrate the code suggestions or modifications into the workflow.

Steps to Reproduce

  1. Open the py file in editor.
  2. Interact with the chat by asking CodeLLM to modify an open file or suggest changes.
  3. Notice that there is no way to apply the modified code back to the open file.
  4. Check the chat interface for any indication of files it is considering as context (e.g., open or active files).
  5. Attempt to add a file to the context manually (this feature is missing).

Expected Behavior

  • CodeLLM should provide an option to automatically apply code modifications back to the editor file.
  • The chat interface should clearly indicate which files are being considered as context for its responses.
  • Users should be able to manually add or remove files from the chat context for better control over interactions.

Actual Behavior

  • Modifications suggested by CodeLLM are not applied to the editor file automatically. Users must manually copy and paste the code changes.
  • The chat interface does not display any context information about the files it is considering.
  • There is no way to manually add or manage files in the chat context.

Impact

This issue significantly hinders the workflow by introducing unnecessary steps to manually integrate CodeLLM's suggestions into files. It also reduces transparency and control over how CodeLLM interacts with the current project.


Proposed Enhancements

  1. Apply Changes Feature: Introduce a feature to apply suggested code modifications directly to the open file.
  2. File Context Indicators: Add a clear display in the chat interface showing which files are included in the context.
  3. File Context Management: Allow users to manually add or remove files to/from the context via the chat interface or a settings menu.

Additional Context

These enhancements would significantly improve usability and workflow efficiency, making CodeLLM more seamless for developers.
CleanShot 2024-12-22 at 15 12 10@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant