Add filename and line numbers of copy pasted code in chat

Describe the request

When copy pasting code in chat (or using Ctrl+L) add the filename and the line numbers in chat at the location they were pasted, in addition to adding it to the context area, so the model can take this information literally. Like how it works when you drag an open file/tab into the chat.
Example of how it could look:

I often have issues where the model does not take the copy/pasted code in chat literally when I refer to it, unless I manually give the filename and line numbers or the method, which it should already know because I just pasted it in chat.

Ideally I could past several segments of code in chat and the filename/line numbers would appear where I pasted them in chat and in context so I could clearly dictate the relation of these segments of code easily.

Operating System (if it applies)

Windows 10/11