For example, I have file Preview in Pale Moon.sublime-build
:
{
"shell_cmd": "\"E:/Pale Moon/Palemoon-Portable.exe\" \"$file\"",
"selector": ["text.html.basic", "text.xml"]
}
And I have Listing.sublime-build file
:
{
"shell_cmd": "ls -l",
"selector": "text.html.markdown.gfm",
}
Tools
→ Build System
→ Automatic
. I start, for example, the file with the .md
extension:
key evt: f7
command: build
Running "E:/Pale Moon/Palemoon-Portable.exe" "E:\Киролайна\Sasha Prosperity.md"
Or .py
extension:
key evt: f7
command: build
Running "E:/Pale Moon/Palemoon-Portable.exe" "E:\Киролайна\Test.py"
If I choose Build System manually, everything is good.
key evt: f7
command: build
Running ls -l
key evt: f7
command: build
Running python -u "E:\Киролайна\Test.py"
But why automatic switching is wrong and Preview in Pale Moon.sublime-build
run not only in html
and xml
files and everywhere? What do I do incorrectly?
Thanks.