Often times you want to ask a question about a piece of code in the editor.
It would be nice to transparently paste in any highlighted text, possible including the full file, into ChatGPT (given that the user doesn't mind about token count).
I think ChatGPT is smart enough to handle a message like this
{some snippet of code}
---
The above code (continue prompt...)
Often times you want to ask a question about a piece of code in the editor.
It would be nice to transparently paste in any highlighted text, possible including the full file, into ChatGPT (given that the user doesn't mind about token count).
I think ChatGPT is smart enough to handle a message like this