0

I am using Sublime Text 3 (on Mac OS) and would like to add a q/kdb build to it so I can run the q code directly from ST. I have the below build file:

{
"cmd": ["/Users/XXX/q/m32/q", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.q"
}

When in the CL this /Users/XXX/q/m32/q file.q runs just fine, but when within ST it doesn't do anything. Any suggestions on what I m doing wrong here?

Thomas Smyth - Treliant
  • 4,993
  • 6
  • 25
  • 36
Alim Hasanov
  • 197
  • 1
  • 3
  • 16

1 Answers1

0

After trial an error: all I had to do is remove the [-u] option from the command like below:

{
"cmd": ["/Users/XXX/q/m32/q", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.q"
}
Alim Hasanov
  • 197
  • 1
  • 3
  • 16