Workbench › Editor › Untitled: Label Format

By default, VS Code tries to infer the filename of a new created untitled file from its content.

You can disable this by setting "workbench.editor.untitled.labelFormat": "name".