[GH-ISSUE #114] Display filename between language tag and copy button in code blocks, keep the same #104

Open
opened 2026-10-26 21:07:55 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @Vsv12345 on GitHub (Feb 17, 2026).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-V2/issues/114

Description:
When displaying code in the chat interface, the top-left corner of the code block shows the language (e.g., "HTML"), and on the right — the "Copy" button. However, there is no information about which file the code belongs to. This makes it difficult to understand, especially when multiple files are shown in sequence or when a file is longer than one screen page.

Proposed solution:
Add the filename between the language tag and the copy button. For example:
HTML (index.html) on the left and the "Copy" button on the right.
Alternatively, display the filename as a separate label or tooltip.

Benefits:

Increases clarity and organization when demonstrating multiple files.

Allows users to quickly find the right file for copying or reference.

A small change that significantly improves readability.

Thank you for considering this suggestion!

Russian
Тема: Предложение по улучшению интерфейса: отображать имя файла между тегом языка и кнопкой копирования, сохранить.

Описание:
При отображении кода в чате в левом верхнем углу блока показывается язык (например, «HTML»), а справа — кнопка «Копировать». Однако нет информации о том, к какому файлу относится код. Это затрудняет понимание, особенно когда приводится несколько файлов подряд или длинна файла более одной экранной страницы.

Предлагаемое решение:
Добавить имя файла между тегом языка и кнопкой копирования. Например:
HTML (index.html) слева и кнопка «Копировать» справа.
Либо отображать имя файла отдельной меткой или всплывающей подсказкой.

Преимущества:

Повышает ясность и организованность при демонстрации нескольких файлов.

Позволяет пользователям быстро находить нужный файл для копирования или справки.

Небольшое изменение, значительно улучшающее возможность прочитать текст.

Спасибо за рассмотрение этого предложения!

Originally created by @Vsv12345 on GitHub (Feb 17, 2026). Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-V2/issues/114 Description: When displaying code in the chat interface, the top-left corner of the code block shows the language (e.g., "HTML"), and on the right — the "Copy" button. However, there is no information about which file the code belongs to. This makes it difficult to understand, especially when multiple files are shown in sequence or when a file is longer than one screen page. Proposed solution: Add the filename between the language tag and the copy button. For example: HTML (index.html) on the left and the "Copy" button on the right. Alternatively, display the filename as a separate label or tooltip. Benefits: Increases clarity and organization when demonstrating multiple files. Allows users to quickly find the right file for copying or reference. A small change that significantly improves readability. Thank you for considering this suggestion! Russian Тема: Предложение по улучшению интерфейса: отображать имя файла между тегом языка и кнопкой копирования, сохранить. Описание: При отображении кода в чате в левом верхнем углу блока показывается язык (например, «HTML»), а справа — кнопка «Копировать». Однако нет информации о том, к какому файлу относится код. Это затрудняет понимание, особенно когда приводится несколько файлов подряд или длинна файла более одной экранной страницы. Предлагаемое решение: Добавить имя файла между тегом языка и кнопкой копирования. Например: HTML (index.html) слева и кнопка «Копировать» справа. Либо отображать имя файла отдельной меткой или всплывающей подсказкой. Преимущества: Повышает ясность и организованность при демонстрации нескольких файлов. Позволяет пользователям быстро находить нужный файл для копирования или справки. Небольшое изменение, значительно улучшающее возможность прочитать текст. Спасибо за рассмотрение этого предложения!
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepSeek-V2#104
No description provided.