Sublime Forum

Build system issue - doesn't detect custom build system

#1

I have created PureScript.sublime-build in** ~/Library/Application Support/Sublime Text 3/Packages/User**

The issue is that I see PureScript in Tools / Build System but when I hit CMD+B while in file list.purs, it says No Build System

Contents of PureScript.sublime-build:

{ "cmd": "psc", "$file"], "selector": "source.purs" }

How to make Sublime use this build system automatically? I have done a similar thing for Node and there it worked without such issues…

0 Likes

#2

packagecontrol.io/packages/PureScript uses the base scope “source.purescript”, as indicated by this line. You can find this out by pressting ctrl+alt+shift+p in a view that uses said syntax and checking for the first scope token (separated by spaces).

0 Likes