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 255191 - [81cat] CC should suggests constants when possible
Summary: [81cat] CC should suggests constants when possible
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal with 3 votes (vote)
Assignee: Dusan Balek
Depends on:
Reported: 2015-09-10 17:51 UTC by Michel Graciano
Modified: 2015-09-10 17:51 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2015-09-10 17:51:37 UTC
Given the sample source below, if I put the cursor at line:column 5:11 and hit CC, the constant is suggested, but if I hit CC at line:column 3:27, nothing useful happens.

public class SampleClass {

  public static void main(String[] args) {

  public static final class Constants {

    public static final String SOME_CONSTANT = "SOME_CONSTANT";