You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "René Kraneis (JIRA)" <ji...@apache.org> on 2019/02/05 14:10:00 UTC

[jira] [Commented] (NETBEANS-260) Don't make the code coverage so prominent

    [ https://issues.apache.org/jira/browse/NETBEANS-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16760825#comment-16760825 ] 

René Kraneis commented on NETBEANS-260:
---------------------------------------

We have the same problem with other languages as well. The code coverage coloring should be changeable either under Fonts & Colors | Syntax (I think there is/ was a patch to the php cluster to support this: [http://hg.netbeans.org/releases/rev/0f7491c42271)] or preferably under Highlighting or its own category (similar to Versioning and Diff). The screenshot is for Dark Nimbus LAF (using Norway Today color scheme), it is a bit better when using Darcula (and its color scheme).

!20190205_netbeans_unreadable_code_coverage.png!

> Don't make the code coverage so prominent
> -----------------------------------------
>
>                 Key: NETBEANS-260
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-260
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: java - TestNG, javascript - Testing, utilities - Test Runner
>    Affects Versions: Next
>            Reporter: Christian Lenz
>            Priority: Major
>              Labels: CodeCoverage, UnitTest
>         Attachments: 20190205_netbeans_unreadable_code_coverage.png, code-coverage-nb.png
>
>
> I think I will create sub tasks for this, because it affects all supported languages, but I figured it out on JS.
> Atm if you use code coverage like with karma and the coverage plugin or istanbul or whatever, the whole line, which will turn green or red. That makes the code unreadable, if you use an other theme than light. I use darcula laf and the darcula theme and of course, the plugin should fix this, but to avoid such things, it would be better to have a not that big prominent indicator in e.g. only the line number should be colored. Thats enough and this is what other IDEs and editors do.
> So it will not be in conflict, with the git coloring inside the editor, because it is behind the line numbers.
> See my attachment for what I mean.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists