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

Jose Ramón Balsas updated NETBEANS-3819:
----------------------------------------
    Description: 
h2. Steps to reproduce
 # Create C/C++ project application (using C/CPP++ plugin from nb 8.2 plugin 
repos)
 # Create C++ class module with nb assistant
 # Add a public method header to class definition in header file, e.g. int 
method();
 # Change to class .cpp file
 # Place cursor out of any method
 # Press Ctrl+Space to open completion. "Please wait" tip appear but dropdown 
list does not appear and ClassCastException is generated

h2. Results expected

Global identificator dropdown list should appear for selecting unimplemented 
method and create skeleton implementation. However, *if all class methods are 
implemented*, dropdown list works as expected.
h2. Other versions support:
 * NB 8.2, works as expected
 * NB 11.0 LTS, works as expected

 

 

  was:
h2. Steps to reproduce
 # Create C/C++ project application (using C/CPP++ plugin from nb 8.2 plugin 
repos)
 # Create C++ class module with nb assistant
 # Add a public method header to class definition in header file, e.g. int 
method();
 # Change to class .cpp file
 # Place cursor out of any method
 # Press Ctrl+Space to open completion. "Please wait" tip appear but dropdown 
list does not appear and ClassCastException is generated

h2. Results expected

Global identificator dropdown list should appear for selecting unimplemented 
method and create skeleton implementation. However, *if all class methods are 
implemented*, dropdown list works as expected.

 

    Environment: 
Tested in Ubuntu 19 and MacOS 10.13.6
OpenJDK 11.0.5

> ClassCastException when opening code completion assistant from C++ class 
> module implementation (.cpp)
> -----------------------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-3819
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3819
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Completion & Templates
>    Affects Versions: 11.2
>         Environment: Tested in Ubuntu 19 and MacOS 10.13.6
> OpenJDK 11.0.5
>            Reporter: Jose Ramón Balsas
>            Priority: Major
>         Attachments: completion_tip.png
>
>
> h2. Steps to reproduce
>  # Create C/C++ project application (using C/CPP++ plugin from nb 8.2 plugin 
> repos)
>  # Create C++ class module with nb assistant
>  # Add a public method header to class definition in header file, e.g. int 
> method();
>  # Change to class .cpp file
>  # Place cursor out of any method
>  # Press Ctrl+Space to open completion. "Please wait" tip appear but dropdown 
> list does not appear and ClassCastException is generated
> h2. Results expected
> Global identificator dropdown list should appear for selecting unimplemented 
> method and create skeleton implementation. However, *if all class methods are 
> implemented*, dropdown list works as expected.
> h2. Other versions support:
>  * NB 8.2, works as expected
>  * NB 11.0 LTS, works as expected
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to