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/22 12:05:00 UTC

[jira] [Resolved] (NETBEANS-6463) Code completion doesn't offer methods from the same class

     [ https://issues.apache.org/jira/browse/NETBEANS-6463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Petr Pisl resolved NETBEANS-6463.
---------------------------------
    Fix Version/s: 13
       Resolution: Fixed

Merged in master by  PR#3654

> Code completion doesn'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
>            Assignee: Petr Pisl
>            Priority: Major
>              Labels: editor, groovy, pull-request-available
>             Fix For: 13
>
>         Attachments: NoCC1.png, nocc.png
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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