Skip to content

Commit 61fd2db

Browse files
committed
Update README and add update message.
1 parent 7fc0836 commit 61fd2db

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

AdvancedNewFile.sublime-settings

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,10 @@
117117
// The key values for this object should be a file extension. The value may either
118118
// be a string of the content to be inserted or a list of paths. If a list of paths
119119
// is specified, the name of the file will be displayed during selection. The paths
120-
// must either be absolute, or be from the home directory of the user (`~/`). If a
121-
// string is used, or the list contains a single entry, it will be automatically
122-
// inserted into any newly created files.
120+
// must either be absolute, from the home directory of the user (`~/`), or relative
121+
// to the Packages directory. These relative files should have the form
122+
// "Packages/User/mytest.sublime-snippet". If a string is used, or the list contains
123+
// a single entry, it will be automatically inserted into any newly created files.
123124
"file_templates": {},
124125

125126
// Setting this value to true will allow you to escape characters as you normally

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Setting to control if VCS management is used when moving and removing files.
158158

159159
`file_templates`:
160160

161-
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.
161+
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.
162162

163163
`posix_input`:
164164

messages.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
"1.0.0": "messages/8.txt",
1212
"1.1.0": "messages/1.1.0.txt",
1313
"1.1.1": "messages/1.1.1.txt",
14-
"1.2.0": "messages/1.2.0.txt"
14+
"1.2.0": "messages/1.2.0.txt",
15+
"1.2.1": "messages/1.2.1.txt"
1516
}

messages/1.2.1.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- Fix issue with shell input breaking auto complete functionality.
2+
- Support template files to be specified relative to the packages directory in the form "Packages/User/sample.template"
3+
- 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.

0 commit comments

Comments
 (0)