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 - mark occurences does not higlight return value
Summary: mark occurences does not higlight return value
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks: 142032
  Show dependency tree
 
Reported: 2008-07-23 11:57 UTC by Lukas Jungmann
Modified: 2012-03-03 15:15 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.