You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Alina Balikova (Jira)" <ji...@apache.org> on 2020/05/07 06:48:00 UTC
[jira] [Commented] (NETBEANS-3819) ClassCastException when opening
code completion assistant from C++ class module implementation (.cpp)
[ https://issues.apache.org/jira/browse/NETBEANS-3819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17101413#comment-17101413 ]
Alina Balikova commented on NETBEANS-3819:
------------------------------------------
h2. Same exception, but other steps.
Steps to reproduce:
0. add c++ include directory with some sources in project properties. Sources files are organized in tree and root folder has some subdirectories (ex. include/myproj/common/some_file.h)
2. starting print #include <myproj/ in any file
and then code assistant fails with exception, "Please wait..." hangs and so on.
Expected behaviour:
Should appear dropdownlist with myprpoj subdirectories.
> 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: 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