Sublime Text 默认保存选项 [英] Sublime Text Default Save Options

查看:153
本文介绍了Sublime Text 默认保存选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么当我在 Sublime Text 3 中保存文件时,默认保存位置是 Sublime 安装目录,为什么默认文件类型没有?

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?

我想将默认保存位置设置为桌面,将默认文件类型设置为 .txt,我该怎么做?

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

这是我的设置:

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

推荐答案

(目前)没有解决默认扩展问题,但您也可以尝试 AdvancedNewFile.这个插件不是创建一个未命名的缓冲区,而是创建一个命名文件.默认位置是可配置的,但没有默认扩展名.

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.

免责声明:我是 AdvancedNewFile 插件的维护者.

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

编辑

我已更新 AdvancedNewFile 以支持默认文件扩展名.

I've updated AdvancedNewFile to support default file extensions.

这篇关于Sublime Text 默认保存选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆