It seems to me that we’re down to .tmPreferences
being the last Sublime related file that must be in Apple PLIST format.
Will there be a .sublime-something replacement for the .tmPreferences file format?
frou
#1
0 Likes
frou
#3
Thanks for the references Keith.
Is the following the full landscape? Anything missing or incorrect in my table?
Extension | Format | Obsoletes |
---|---|---|
.sublime-build | JSON | |
.sublime-color-scheme | JSON | .tmTheme |
.sublime-commands | JSON | |
.sublime-completions | JSON | |
.sublime-keymap | JSON | |
.sublime-macro | JSON | |
.sublime-menu | JSON | |
.sublime-mousemap | JSON | |
.sublime-package | ZIP | |
.sublime-project | JSON | |
.sublime-settings | JSON | |
.sublime-snippet | XML | .tmSnippet |
.sublime-syntax | YAML | .tmLanguage |
.sublime-theme | JSON | |
.tmPreferences | PLIST |
2 Likes
BPL
#4
Nice, check below if there are something you would like to add to your table:
import sys
from pathlib import Path
print("\n".join(sorted(list({
v.suffix for v in Path(sys.argv[1]).glob("**/*.sublime*")
} | {
v.suffix for v in Path(sys.argv[1]).glob("**/*.tm*")
}))))
output:
.cache
.rcache
.sublime-build
.sublime-color-scheme
.sublime-commands
.sublime-completions
.sublime-keymap
.sublime-macro
.sublime-menu
.sublime-mousemap
.sublime-package
.sublime-settings
.sublime-snippet
.sublime-syntax
.sublime-theme
.sublime_session
.tmLanguage
.tmPreferences
.tmTheme
1 Like
frou
#5
Good idea. I tried sublime.find_resources
myself.
I’ve added .sublime-package
and that you found to the table. They’re kind of meta-level I guess..sublime_session
Edit: There’s also .sublime_license
. I won’t in fact include _session
and _license
because these underscore-containing ones are an implementation detail of the main app and aren’t related to extensibility.
0 Likes