jackMort / jackMort/ChatGPT.nvim

ChatGPTEditwithInstructions strange behavior

Open
#240 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Lua
Stars
4k
Forks
317
PR merge metrics
No merged PRs in 30d

Description

Hi,
First of all thanks for this plugin that only begins to change the way I write code 🙏

I'm getting to use edit with instruction more and more and I encountered a strange behavior: sometime the code displayed on the left is not my full code. Sometimes it's a good thing, sometimes les... Is this a bug or a feature ? If the second, is there a way to select which code to use ?
Thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the behavior with ChatGPT's edit-with-instruction feature and trace how the code shown on the left is selected. The issue does not name a file, entry point, or test, so first identify the relevant implementation and existing coverage. Done means determining whether the partial code display is intentional and, if it is a bug, making the displayed code consistent or selectable.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.