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 210948 - [72cat] No code completion for expressions inside GStrings
Summary: [72cat] No code completion for expressions inside GStrings
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: PC Windows 7 x64
: P3 normal with 2 votes (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-10 13:10 UTC by crazyjavahacking
Modified: 2012-04-26 08:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crazyjavahacking 2012-04-10 13:10:42 UTC
Groovy editor will not provide serious code completion for expressions inside GStrings, for example for the following code:

def generateServerSocketHostOption() {
    def serverSocketHost = (args as List).findAll { it == "-serverSocketHost" }

    "-DserverSocketHost=${serverSocketHost}"
}

the code completion after =${ will not provide serverSocketHost even if it was defined just few lines before


JDK 7u3, NetBeans Dev 201204060400
Comment 1 Martin Janicek 2012-04-26 08:21:24 UTC
Valid issue --> Setting TM = 7.2