mirror of
https://github.com/zhigang1992/AutoFileName.git
synced 2026-04-29 04:15:39 +08:00
46 lines
1.7 KiB
Plaintext
46 lines
1.7 KiB
Plaintext
// ------------------------------------------------------------------------
|
|
// IMPORTANT: Any changes here should be copied over to your user settings.
|
|
// This file will get overridden on update.
|
|
// ------------------------------------------------------------------------
|
|
|
|
{
|
|
// By default, AutoFileName uses the disk root for absolute paths.
|
|
// Changing this setting allows for absolute paths on a project level.
|
|
// This is useful for web designers and developers who want to use the
|
|
// root of their site.
|
|
"afn_use_project_root": false,
|
|
|
|
// Override the project root. Will only work
|
|
// if "auto_file_name_use_project_root" is true.
|
|
// Can be absolute or relative to the current directory.
|
|
"afn_proj_root": "../",
|
|
|
|
// Specify which scopes will trigger AutoFileName
|
|
"afn_valid_scopes":["string","css","sass","less","scss"],
|
|
|
|
// BlackList specific scopes
|
|
"afn_blacklist_scopes":["string.regexp.js"],
|
|
|
|
// Whether or not AutoFileName should insert the width
|
|
// and height dimensions after inserting an image into
|
|
// an image tag
|
|
"afn_insert_dimensions": true,
|
|
|
|
// If afn_insert_dimensions is true, by default, AutoFileName
|
|
// will insert height="" than width="". Setting this to true
|
|
// will switch the order in which they are inserted.
|
|
"afn_insert_width_first": false,
|
|
|
|
// If you don't like having filenames flood the default autocompletions,
|
|
// you can set the plugin to only activate with a keybinding.
|
|
// If you set this to true, add the following to your user-keybindings:
|
|
//
|
|
// { "keys": ["whatever"], "command": "afn_show_filenames",
|
|
// "context":
|
|
// [
|
|
// { "key": "afn_use_keybinding", "operator": "equal", "operand": true }
|
|
// ]
|
|
// }
|
|
//
|
|
"afn_use_keybinding": false
|
|
} |