You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Unai Vivi (JIRA)" <ji...@apache.org> on 2018/04/03 10:37:00 UTC

[jira] [Created] (NETBEANS-579) [netcat 9] Java Hints: test case 2. Customization - 4. Shown as Test Case

Unai Vivi created NETBEANS-579:
----------------------------------

             Summary: [netcat 9] Java Hints: test case 2. Customization - 4. Shown as Test Case
                 Key: NETBEANS-579
                 URL: https://issues.apache.org/jira/browse/NETBEANS-579
             Project: NetBeans
          Issue Type: Bug
          Components: editor - Hints &amp; Annotations, java - Hints
    Affects Versions: 9.0
         Environment: GNU/Linux x64
            Reporter: Unai Vivi


NetCat 9

Test specification *Java Hints*

Test suite +2. Customization+

Test case _4. Shown as_

 
 * *Steps:*
 ## In editor typeBoolean a = new Boolean("true");
 ## In Options -> Editor -> Hints select *Creating new Boolean* hint
 ## Select 'Error' from *Show as* and close options
 ## Try seleting also 'Warning' and 'Warning on current line'

 * *Result:* {color:#008000}The presentation of the hint is changed according the current value{color}
 ** warning - code is marked as warning (yellow underlined w/default color profile)
 ** error - code is marked as error (red underline w/default color profile)
 ** warrning on current line - *{color:#FF0000}hint is displayed as warning{color}* but only if cursor is located over related element, e.g. over *new Boolean(true)* statement

*ACTUAL RESULT*:

Upon locating cursor as per test case, hint is not displayed as a warning, but as a plain hint (light bulb only, no fancy yellow underlining).



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