|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
eclipse plugin color schemeHi,
I'm attempting to change the scala color scheme to be something a little easier to read. I see that there are some options to do so in the eclipse plugin, but they never take effect. Is this a work in progress? or am I doing something wrong? Thanks. edit: I should probably mention that I'm using the nightly build. |
|
|
Re: [scala-tools] eclipse plugin color schemeOn Fri, Oct 16, 2009 at 2:00 PM, justin greene
<nephesh.chifire@...> wrote: > I'm attempting to change the scala color scheme to be something a little > easier to read. I see that there are some options to do so in the eclipse > plugin, but they never take effect. Is this a work in progress? or am I > doing something wrong? If you're on trunk then for the moment the Scala editor shares its colour configuration with the Java editor (because now they're one and the same). Cheers, Miles -- Miles Sabin tel: +44 (0)7813 944 528 skype: milessabin http://www.chuusai.com/ http://twitter.com/milessabin |
|
|
Re: [scala-tools] eclipse plugin color schemeOn Fri, Oct 16, 2009 at 8:04 AM, Miles Sabin <miles@...> wrote:
Works poorly for inline Symbol syntax. The lack of closing ' confuses Eclipse. |
|
|
Re: [scala-tools] eclipse plugin color scheme > Works poorly for inline Symbol syntax. The lack of closing ' confuses
Eclipse. The coloring doesn't work for nested comments either. :) While it is nice to have the same colors and formatter settings for both Java and Scala, this is certainly not flexible enough if you want or need different settings. The ``officially recommended" way to format Scala sources is to use two blanks for indentions. Extempore: I was a bit surprised to see such a recommendation even exists because I believe stuff like this should be left everyone's personal choice. I dislike blank indentions for several reasons. In my customer's company everybody *must* use four-blank indentions. As I said, I don't like it. I don't think it is a problem if several people working on the same project follow their individual styles---rigidly prescribing humans how to format this and that feels a bit like a fascist thing to me ... If you look into to the ``wild" sources of `rt.jar' you can tell where a dozen of different people worked on the same file, still Sun has set a de-facto coding standard without being too regulative about the details. (On a side note, I think that the Spring sources are among the most beautiful Java sources under God's sun.) That said, I don't think I will follow Martin's recommendation (if it's Martin's, as I suppose) but stick with tabs. But what if I wanted to use tabs for Java sources and blanks for Scala sources? Miles? ---Ph. |
|
|
Re: [scala-tools] eclipse plugin color schemeOn Fri, Oct 16, 2009 at 5:18 PM, Philip Köster <philip.koester@...> wrote:
> The coloring doesn't work for nested comments either. :) Please open a Trac ticket for that ... thanks. Cheers, Miles -- Miles Sabin tel: +44 (0)7813 944 528 skype: milessabin http://www.chuusai.com/ http://twitter.com/milessabin |
|
|
Re: [scala-tools] eclipse plugin color schemeWhen I change the java syntax for "Other" it affects most scala code. If I change more specific options it does not affect scala code. Is there any way to get different coloring?
For instance: def main(args: Array[String]) "String" should be a different color than the rest. The only coloring I'm getting is on keywords and Object types, and even those aren't following the java colors I set. Thanks.
|
| Free embeddable forum powered by Nabble | Forum Help |