From 61fd2dba3f98a98d216f27898eaa879a5b01f33d Mon Sep 17 00:00:00 2001 From: Scott Kuroda Date: Thu, 13 Mar 2014 23:46:40 -0700 Subject: [PATCH] Update README and add update message. --- AdvancedNewFile.sublime-settings | 7 ++++--- README.md | 2 +- messages.json | 3 ++- messages/1.2.1.txt | 3 +++ 4 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 messages/1.2.1.txt diff --git a/AdvancedNewFile.sublime-settings b/AdvancedNewFile.sublime-settings index dbb3290..57484b9 100644 --- a/AdvancedNewFile.sublime-settings +++ b/AdvancedNewFile.sublime-settings @@ -117,9 +117,10 @@ // The key values for this object should be a file extension. The value may either // be a string of the content to be inserted or a list of paths. If a list of paths // is specified, the name of the file will be displayed during selection. The paths - // must either be absolute, or be from the home directory of the user (`~/`). If a - // string is used, or the list contains a single entry, it will be automatically - // inserted into any newly created files. + // must either be absolute, from the home directory of the user (`~/`), or relative + // to the Packages directory. These relative files should have the form + // "Packages/User/mytest.sublime-snippet". If a string is used, or the list contains + // a single entry, it will be automatically inserted into any newly created files. "file_templates": {}, // Setting this value to true will allow you to escape characters as you normally diff --git a/README.md b/README.md index d62b9db..d26640a 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ Setting to control if VCS management is used when moving and removing files. `file_templates`: -An object containing information to use for templates when creating new files. The key values for this object should be a file extension. The value may either be a string of the content to be inserted or a list of paths. If a list of paths is specified, the name of the file will be displayed during selection. The paths must either be absolute, or be from the home directory of the user (`~/`). The file format should match that of a ST snippet. If a string is used, or the list contains a single entry, it will be automatically inserted into any newly created files. +An object containing information to use for templates when creating new files. The key values for this object should be a file extension. The value may either be a string of the content to be inserted or a list of paths. If a list of paths is specified, the name of the file will be displayed during selection. The paths must either be absolute, from the home directory of the user (`~/`), or relative to the Packages directory. These relative files should have the form "Packages/User/mytest.sublime-snippet". If a string is used, or the list contains a single entry, it will be automatically inserted into any newly created files. `posix_input`: diff --git a/messages.json b/messages.json index 1b74a36..1e8b23c 100644 --- a/messages.json +++ b/messages.json @@ -11,5 +11,6 @@ "1.0.0": "messages/8.txt", "1.1.0": "messages/1.1.0.txt", "1.1.1": "messages/1.1.1.txt", - "1.2.0": "messages/1.2.0.txt" + "1.2.0": "messages/1.2.0.txt", + "1.2.1": "messages/1.2.1.txt" } diff --git a/messages/1.2.1.txt b/messages/1.2.1.txt new file mode 100644 index 0000000..f72c6be --- /dev/null +++ b/messages/1.2.1.txt @@ -0,0 +1,3 @@ +- Fix issue with shell input breaking auto complete functionality. +- Support template files to be specified relative to the packages directory in the form "Packages/User/sample.template" +- Add new setting "append_extension_on_move". This setting will, when set to true, automatically append the extension of the source file when moving if one is not specified.