Skip to content

Commit a2666f2

Browse files
committed
update links to official Scala style guide
1 parent bb81a57 commit a2666f2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ the way you'd like it, and I'll see what I can do.
1414

1515
Scalariform is licenced under `The MIT Licence`_.
1616

17-
.. _Scala Style Guide: http://davetron5000.github.com/scala-style/
17+
.. _Scala Style Guide: http://docs.scala-lang.org/style/
1818
.. _The MIT Licence: http://www.opensource.org/licenses/mit-license.php
1919

2020
Packaging an executable JAR
@@ -299,15 +299,15 @@ If ``true``, then::
299299
The Scala Style Guide recommends_ that operators, "should `always` be
300300
invoked using infix notation with spaces separated the target".
301301

302-
.. _recommends: http://davetron5000.github.com/scala-style/method_invocation/operators.html
302+
.. _recommends: http://docs.scala-lang.org/style/method-invocation.html#symbolic-methodsoperators
303303

304304
doubleIndentClassDeclaration
305305
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
306306

307307
Default: ``false``
308308

309309
With this set to ``true``, class (and trait / object) declarations
310-
will be formatted as recommended by the `Scala Style Guide`_. That is,
310+
will be formatted as recommended_ by the Scala Style Guide. That is,
311311
if the declaration section spans multiple lines, it will be formatted
312312
so that either the parameter section or the inheritance section is
313313
doubly indented. This provides a visual distinction from the members
@@ -339,6 +339,8 @@ Or::
339339
def firstMethod = ...
340340
}
341341

342+
.. _recommended: http://docs.scala-lang.org/style/declarations.html#classes
343+
342344
formatXml
343345
~~~~~~~~~
344346

0 commit comments

Comments
 (0)