You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Christian Lenz (JIRA)" <ji...@apache.org> on 2018/01/10 10:21: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=16320001#comment-16320001 ] 

Christian Lenz commented on NETBEANS-260:
-----------------------------------------

Here are some links of alternative IDEs and editors:

VS (Wallaby.js plugin): https://wallabyjs.com/assets/img/main.png
VS Code: https://wallabyjs.com/assets/img/vscode_inline.gif
WebStorm: https://blog.jetbrains.com/webide/files/2012/04/editor-covered-lines-2.png

This is much better than that what we have. It is prominent enough to see/know what happens there, but it is not disturbing. Maybe a circle or the whole line for the line numbers would be great and maybe with a (/) or (x).

Cheers

Chris

> Don't make the code coverage so prominent
> -----------------------------------------
>
>                 Key: NETBEANS-260
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-260
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - TestNG, javascript - Testing, utilities - Test Runner
>    Affects Versions: Next
>            Reporter: Christian Lenz
>              Labels: CodeCoverage, UnitTest
>         Attachments: 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
(v6.4.14#64029)

---------------------------------------------------------------------
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