Skip to content

Instantly share code, notes, and snippets.

@jboner
Created May 6, 2011 09:47
Show Gist options
  • Select an option

  • Save jboner/958699 to your computer and use it in GitHub Desktop.

Select an option

Save jboner/958699 to your computer and use it in GitHub Desktop.
Sublime Editor SBT build setup
{
"cmd": ["sbt-no-color compile"],
"file_regex": "^\\[error\\] ([.a-zA-Z0-9/-]+[.]scala):([0-9]+):",
"selector": "source.scala",
"working_dir": "${project_path:${folder}}",
"shell": "true"
}
@chilang

chilang commented May 7, 2011

Copy link
Copy Markdown

Excellent!
It only worked for me after adding working_dir

{
    "cmd": ["sbt-no-color compile"],
    "file_regex": "^\\[error\\] ([.a-zA-Z0-9/-]+[.]scala):([0-9]+):",
    "selector": "source.scala",
    "working_dir": "${project_path:${folder}}",
    "shell": "true"
}

@jboner

jboner commented May 7, 2011 via email

Copy link
Copy Markdown
Author

@basetta

basetta commented May 9, 2011

Copy link
Copy Markdown

Nice tips. I have to had also the env : { "blah", "blah" } becasuse it seems sublime is not parsing the .profile file on mac os.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment