Sublime Forum

Build for html doesn't work

#1

It seems like build for html doesn’t work screencast.com/t/CaNeXVAWKjbs

0 Likes

#2

And you want to build… what? :unamused:

0 Likes

#3

I have an tag checker script so it makes sure you have matching opening and closing tags, plus I also have php inside so I like to run that too.

0 Likes

#4

There is no build system for HTML that ships with Sublime Text.

If you’re having issues with your custom build system, perhaps you’d be better off pointing out what issues you’re having with it, and providing a listing of its contents.

0 Likes

#5

I created a custom one just the same way as I did for php and it works just fine. gist.github.com/b3080f9cf6ac09da9675 is the one I have for html

0 Likes

#6

What’s the issue that you’re having? I’m going to assume that it’s working fine when you explicitly set it as the build system, but not when the build system is set to Automatic.

If that’s the case, then the issue is with your selector. On OS X, you can use alt+command+p to find the scope under the selection - it looks like you want text.html, rather than source.html

0 Likes

#7

There we go, thank you for that :smile: That command is useful to know :smile:

0 Likes