Thank you!  I have opened a case with IntelliJ.

On Thu, Sep 15, 2016 at 3:14 PM, Johan Andrén <johan.and...@typesafe.com>
wrote:

> Hi,
>
> The format: ON/OFF are directives to our code auto-formatter to not touch
> the code inside of that, for example when we have carefully laid it out to
> be a nice and readable sample.
>
> All the samples are compiled as a part of our ci setup, and again when we
> make a release so if it didn't compile we wouldn't have been able to
> compile it.
> Note that for example the latest IntelliJ seems to have problems resolving
> the implicit conversion needed for it to work, so even though it compiles
> IntelliJ may show a squiggly red line and warning about type mismatch.
>
> --
> Johan
> Akka Team
>
> On Thursday, September 15, 2016 at 8:56:42 PM UTC+2, mniel...@gmail.com
> wrote:
>>
>> In the "spray" documentation (http://doc.akka.io/docs/akka/
>> 2.4/scala/http/common/json-support.html#akka-http-spray-json) a couple
>> of the examples show the following:
>>
>> // format:  OFF
>>
>> followed by
>>
>> //format:  ON
>>
>> What are those comments intended to convey?
>>
>> I keep worrying that I'm missing something significant.
>>
>> Also, on http://doc.akka.io/docs/akka/2.4/scala/http/introduction.html an
>> example shows the following code, which doesn't compile:
>>
>>  case None       => complete(StatusCodes.NotFound)
>>
>> The following change allows it to compile:
>>
>>  case None       => complete((StatusCodes.NotFound,"Too bad"))
>>
>>
>>
>>
>> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
> current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to