vscode-elixir icon indicating copy to clipboard operation
vscode-elixir copied to clipboard

Should @spec syntax highlighting be more muted/subtle?

Open ryanwinchester opened this issue 8 years ago • 5 comments

I personally find the @spec syntax highlighting to add too much visual noise to my code.

I find it harder to scan for specific functions I'm looking for, and it fights for attention with function definitions.

Does anybody else feel this way at all?

How hard would it be to make something similar-looking to (shudders) PHP docblock which doesn't fight as much for attention but still easy to pick out relevant info?

ryanwinchester avatar Jan 17 '18 07:01 ryanwinchester

I can recommend the highlighting the Elixir Plugin for IntelliJ IDEA @KronicDeth uses:

intelij-elixir-highlighting

h4cc avatar Jan 17 '18 09:01 h4cc

I think, what I'm trying to say is that I think @spec should look closer in appearance to documentation than code.

Does anybody else think so?

ryanwinchester avatar Jan 17 '18 10:01 ryanwinchester

I tend to agree, but I'm not sure it should be the same coloring as documentation - as it is a different thing.

But not having the same highlighting as 'actual' code would be nice.

benperiton avatar Jan 19 '18 09:01 benperiton

Yes, this is an excellent idea.

dogweather avatar Feb 06 '18 19:02 dogweather

@fr1zle I feel for you: people fighting about the default color schemes, when anyone can create and publish their own themes, has generated a lot of issues for me.

For any users that want to generate their own themes, I explain why I decided to make certain colors close or contrasting in https://github.com/KronicDeth/intellij-elixir/blob/master/COLOR_SCHEME_DESIGN.md.

KronicDeth avatar Feb 07 '18 01:02 KronicDeth