orrsella / sbt-sublime

An sbt plugin for generating Sublime Text projects with library dependencies sources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Settings examples in SBT full configuration

crazydan opened this issue · comments

Hi,

I'm using a SBT full configuration for my project and would like to be able to configure the plugin sublimeExternalSourceDirectoryName and sublimeExternalSourceDirectoryParent settings.

I've tried putting the settings in several places but they don't seem to be taken into account.

Could you please provide a simple full configuration example with the plugin settings in it?

Cheers and thanks again for this plugin ;)

Daniel,

Sorry for not replying sooner – I had to make an update to the plugin because of a problem in how it handled overriding sbt settings. The new version, 1.0.9, allows you to set the plugin's settings in a full sbt configuration.

As an example:

lazy val root = Project(
  id = "hello",
  base = file("."),
  settings = Project.defaultSettings ++ Seq(
    sublimeExternalSourceDirectoryName := "External libs",
    sublimeExternalSourceDirectoryParent := new File("/Users/username/ext-src")))

I hope this answer your question. Please let me know if you're still having problems.

Cheers,
Orr