Sublime Forum

Build system

#1

I just don’t get it from the docs :frowning:

I have created the following build file:

{ "cmd": "open", "-a", "preview"], "selector": "source.sass" }

build system is set to ‘automatic’. the command is just to see if it runs. I open my *.sass file and hit cmd+b … sublime returns “no build system” … can’t I just somehow start a shell that is in my working directory and hack things in there?

0 Likes

#2

I have found out that the build is working if I manually choose my build system instead of letting it automatically detect it. so somehow the selector isn’t working …

0 Likes

#3

any help would be appreciated. do you guys know why the selector isnt working?

0 Likes

#4

You can check the current selector by pressing ctrl+alt+shift+p
Hope that helps

0 Likes

#5

on a mac this only generates “∏” … i’ve tried cmd+alt+shit+p but that doesn’t do anything.

0 Likes

#6

i tried ctrl+shift+p which tells me that my file is using source.css … I had set the syntax for scss to css … but only for highlighting. looks like it has taken the selector as well … now what? copy highlighting for css and create one for scss?

0 Likes