sbt/notes
Eugene Yokota 33a01f3ceb Unified slash syntax
Fixes sbt/sbt#1812

This adds unified slash syntax for both sbt shell and the build.sbt DSL.
Instead of the current `<project-id>/config:intask::key`,
this adds `<project-id>/<config-ident>/intask/key` where <config-ident> is the Scala identifier notation for the configurations like `Compile` and `Test`.

This also adds a series of implicits called `SlashSyntax` that adds `/` operators to project refererences, configuration, and keys such that the same syntax works in build.sbt.

These examples work for both from the shell and in build.sbt.

    Global / cancelable
    ThisBuild / scalaVersion
    Test / test
    root / Compile / compile / scalacOptions
    ProjectRef(uri("file:/xxx/helloworld/"),"root")/Compile/scalacOptions
    Zero / Zero / name

The inspect command now outputs something that can be copy-pasted:

    > inspect compile
    [info] Task: sbt.inc.Analysis
    [info] Description:
    [info] 	Compiles sources.
    [info] Provided by:
    [info] 	ProjectRef(uri("file:/xxx/helloworld/"),"root")/Compile/compile
    [info] Defined at:
    [info] 	(sbt.Defaults) Defaults.scala:326
    [info] Dependencies:
    [info] 	Compile/manipulateBytecode
    [info] 	Compile/incCompileSetup
    [info] Reverse dependencies:
    [info] 	Compile/printWarnings
    [info] 	Compile/products
    [info] 	Compile/discoveredSbtPlugins
    [info] 	Compile/discoveredMainClasses
    [info] Delegates:
    [info] 	Compile/compile
    [info] 	compile
    [info] 	ThisBuild/Compile/compile
    [info] 	ThisBuild/compile
    [info] 	Zero/Compile/compile
    [info] 	Global/compile
    [info] Related:
    [info] 	Test/compile
2017-09-28 01:01:43 -04:00
..
0.13.17 Fix addSbtPlugin to use the correct version of sbt 2017-08-15 12:13:28 +01:00
1.0.2 notes 2017-09-16 02:37:30 -04:00
1.1.0 Unified slash syntax 2017-09-28 01:01:43 -04:00
0.10.0.markdown Reorganize directory structure 2016-05-06 16:01:49 -04:00
0.10.1.markdown Reorganize directory structure 2016-05-06 16:01:49 -04:00
0.11.0.markdown Reorganize directory structure 2016-05-06 16:01:49 -04:00
0.11.3.markdown Reorganize directory structure 2016-05-06 16:01:49 -04:00
0.13.6.markdown Fix typos in notes 2015-01-24 13:45:15 -05:00
0.13.7.markdown Fix typos in notes 2015-01-24 13:45:15 -05:00
0.13.8.markdown spelling: dependencies 2017-01-20 08:13:00 +00:00
0.13.9.markdown spelling: undefined 2017-01-20 08:30:01 +00:00
0.13.11.markdown spelling: dependent 2017-01-20 08:13:17 +00:00
0.13.12.markdown Move release notes 2017-01-15 05:59:51 -05:00
0.13.13.markdown Move release notes 2017-01-15 05:59:51 -05:00
0.13.14.markdown Write sbt.version to project/build.properties 2017-04-04 18:46:24 -04:00
0.13.16.markdown Cleans up notes 2017-08-12 01:49:49 -04:00
1.0.0.markdown "dreprecations" 2017-08-15 13:56:35 -07:00
1.0.1.markdown Mention #3481 2017-08-28 13:23:53 -04:00
1.0.2.markdown `sbt.server.autostart` flag and startServer 2017-09-16 03:24:30 -04:00
about.markdown notes 2014-09-13 15:37:00 -04:00