You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Petr Pisl (Jira)" <ji...@apache.org> on 2022/02/17 11:24:00 UTC

[jira] [Created] (NETBEANS-6463) Code compleation dosn't offer methods from the same class

Petr Pisl created NETBEANS-6463:
-----------------------------------

             Summary: Code compleation dosn't offer methods from the same class
                 Key: NETBEANS-6463
                 URL: https://issues.apache.org/jira/browse/NETBEANS-6463
             Project: NetBeans
          Issue Type: Bug
          Components: groovy - Code
    Affects Versions: 12.6
            Reporter: Petr Pisl
         Attachments: NoCC1.png, nocc.png

There is a simple groovy class:



 
{code:java}
class NoCCTest {
    private String method1() {
        return "Ahoj"
    }
        
    private void method2() {
        String a = meth|od1()
    }
} {code}
Char `|` indicates curret position. When you invoke code completion at this position, there are no suggestions.  See the picture  !nocc.png!

When you write `this.` before method name, then the cc is resolved correctly:

!NoCC1.png!

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists