mirror of
https://github.com/deepseek-ai/DeepSeek-V2.git
synced 2026-11-05 00:47:23 +00:00
[GH-ISSUE #114] Display filename between language tag and copy button in code blocks, keep the same #104
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-V2#104
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
Thank you for considering this suggestion!
Russian
Тема: Предложение по улучшению интерфейса: отображать имя файла между тегом языка и кнопкой копирования, сохранить.
Описание:
При отображении кода в чате в левом верхнем углу блока показывается язык (например, «HTML»), а справа — кнопка «Копировать». Однако нет информации о том, к какому файлу относится код. Это затрудняет понимание, особенно когда приводится несколько файлов подряд или длинна файла более одной экранной страницы.
Предлагаемое решение:
Добавить имя файла между тегом языка и кнопкой копирования. Например:
HTML (index.html) слева и кнопка «Копировать» справа.
Либо отображать имя файла отдельной меткой или всплывающей подсказкой.
Преимущества:
Спасибо за рассмотрение этого предложения!