Search code examples
sublimetext2sublimetextsublimetext3

Sublime Text Default Save Options


Why when I save a file in Sublime Text 3 is the default save location the Sublime install directory and why is the default file type nothing?

enter image description here

I want to set the default save location to the Desktop and the default file type to .txt, how can I do this?

Here are my settings:

{
  "font_size": 9,
  "hot_exit": false,
  "ignored_packages": ["Vintage"],
  "remember_open_files": false
}

Solution

  • Doesn't (currently) address the default extension issue, but you can also try AdvancedNewFile. Rather than creating an unnamed buffer, this plugin creates a named file. The default location is configurable, though there is no default extension.

    Disclaimer: I'm the maintainer of the AdvancedNewFile plugin.

    Edit

    I've updated AdvancedNewFile to support default file extensions.