Sublime Forum

Automatic build system doesn't work

#1

I am trying to set a new build system. But it seems that the file suffix selector doesn’t work, resulting in no response when ‘automatic’ in ‘build system’ card is turned on. Could you tell how to make sublime recognize my source file automatically? Thank you very much!

My source file name always ends with ‘.xml’. And the detailed configuration is shown below.

{
“shell_cmd”: “start cmd /k mesmer $file”,
“file_regex”: “^(…^:]):([0-9]+):?([0-9]+)?:? (.)$”,
“selector”: “source.xml”
}
//mesmer is the name of a program to execute my source file.

1 Like

#2

Try this instead:

"selector": "text.xml"
2 Likes

#3

[quote=“vEEcEE”]Try this instead:

"selector": "text.xml"

Yes, it does work when using “text.xml”! Now I can build my .py and .xml files automatically. Thank you very much!

1 Like