Default filename per language (Python.py, etc) #6

Closed
opened 2026-09-09 01:15:00 +00:00 by poslop · 0 comments
Owner

When creating a new paste, the title field should pre-fill with an appropriate default filename for the detected language, e.g. Python.py, main.go, script.sh. If no language can be detected, default to Text.txt. Refresh button and auto-detect on paste should only set this title if the title field is blank, so it never overwrites a title the user already typed.

When creating a new paste, the title field should pre-fill with an appropriate default filename for the detected language, e.g. Python.py, main.go, script.sh. If no language can be detected, default to Text.txt. Refresh button and auto-detect on paste should only set this title if the title field is blank, so it never overwrites a title the user already typed.
Sign in to join this conversation.