Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-579

[netcat 9] Java Hints: test case 2. Customization - 4. Shown as Test Case

    XMLWordPrintableJSON

    Details

      Description

      NetCat 9

      Test specification Java Hints

      Test suite 2. Customization

      Test case 4. Shown as

       

      • Steps:
        1. In editor typeBoolean a = new Boolean("true");
        2. In Options -> Editor -> Hints select Creating new Boolean hint
        3. Select 'Error' from Show as and close options
        4. Try seleting also 'Warning' and 'Warning on current line'
      • Result: The presentation of the hint is changed according the current value
        • 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 - hint is displayed as warning 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).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vvunai Unai Vivi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: