Sublime Forum

Feature request: move set_unsaved_view_name.py to a setting

#1

Hi there,

As per this post on Stack Overflow I’d like to apply the unsaved first line name to multiple file types (including a custom type).

It would be great if additional file types could be added to a config, or just a global setting to say ‘do this for all filetypes’ so instead of ‘untitled’ is shows the text from the first line.

Thanks!

0 Likes

#2

This is done using the "set_unsaved_view_name_for_syntax" setting. It’s meant for syntax-specific settings, so that this behavior can be determined per-syntax.

0 Likes