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 270778 - Extremely limited symbol resolution and auto import for Netbeans Groovy editor
Summary: Extremely limited symbol resolution and auto import for Netbeans Groovy editor
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: bruno.flavio
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2017-06-01 02:26 UTC by aplatypus
Modified: 2017-06-01 02:26 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 aplatypus 2017-06-01 02:26:51 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_131
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.131-b11

Reproducibility: Happens every time

STEPS:
  * I have a Groovy class
  *  I have written a line of code in the Groovy file to throw an existing java exception
  * throw new InvalidConstructorUseException("Parameters not supported by this object");
  *  When I run the groovy class from a test script I get a compile error (shown below)

ACTUAL:
  * nothing happens

 *  Then there is a compile error at build time
     Compile errors such as:
       ConcreteTestClass.groovy: 62: unable to resolve class InvalidConstructorUseException 

EXPECTED:
 Something similar to the java editor to at least warn me there is a compile error

  *  Show the unresolved symbol with a red-underline (default hilighting)
  * Implement the Alt/Enter function to offer suggestions
  * Provide the option to add the import command for the resolved symbol
  * Provide the same other options as would happen in a java file.