This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 141314

Summary: mark occurences does not higlight return value
Product: groovy Reporter: Lukas Jungmann <jungi>
Component: EditorAssignee: Martin Janicek <mjanicek>
Status: NEW ---    
Severity: blocker CC: pjiricka
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 142032    

Description Lukas Jungmann 2008-07-23 11:57:45 UTC
-have following groovy class with cursor position at '|':

class Sample {

    Str|ing sayHello() {
        return "hello"
    }
}

=>
expected: return type (String) and return value (return "hello", or generally speaking in groovy - all return and the
last statement if reachable) should be highlighted

actual: nothing is highlighted
Comment 1 Lukas Jungmann 2008-07-23 12:23:14 UTC
actually Java editor highlights only return statements...
Comment 2 martin_adamek 2008-08-04 09:57:13 UTC
As this is quite complicated for Groovy, I am changing this to enhancement. Still I consider this feature little bit outsode of the scope of other occurrences 
highlights. I am not saying it's not important!
Comment 3 Martin Janicek 2012-03-03 15:15:53 UTC
Still valid, but not as important comparing to another enhancements. Setting TM = Next and decreasing priority to P3.