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 245315 - No code completion after ctrl + space
Summary: No code completion after ctrl + space
Status: RESOLVED WORKSFORME
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-30 11:30 UTC by Christian Lenz
Modified: 2016-09-07 09:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Link to the captured problem. (82 bytes, text/plain)
2014-06-30 11:30 UTC, Christian Lenz
Details
Simple HTML5 project. (810 bytes, application/x-7z-compressed)
2014-06-30 11:31 UTC, Christian Lenz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lenz 2014-06-30 11:30:02 UTC
Created attachment 147824 [details]
Link to the captured problem.

As I mentioned it here: https://netbeans.org/bugzilla/show_bug.cgi?id=244967

the problem is that if I type "b" inside the if, the list appears and shows me baumWipfel and break, when I type after b ctrl + space, the list disappears and shows me "No suggestions". You can see it more detailed in the little screencast what happens. I added my HTML5 project, it's only a simple HTML5 project with a JS file inside. I use Netbeans dev.


Regards

Chris
Comment 1 Christian Lenz 2014-06-30 11:30:58 UTC
Ok here is a link to the image, it would be better: https://bugzilla-attachments-244967.netbeans.org/bugzilla/attachment.cgi?id=147781
Comment 2 Christian Lenz 2014-06-30 11:31:43 UTC
Created attachment 147825 [details]
Simple HTML5 project.
Comment 3 Vladimir Riha 2014-06-30 12:15:29 UTC
Thank you for the sample, can you reproduce it in the attached project as well? I guess you have configured code completion window to popup in all possible situation, not just after ".", right?

Here what happens in my case:
 - type b
   => code completion opens (because of the setting mentioned above) and contains 5 items: blur(), back(), baumWipfel, btoa(), break 
 - when I press Ctrl+Space again, it contains 3 items: blur(), back(), btoa()



Product Version: NetBeans IDE Dev (Build 201406300002)
Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13
System: Linux version 3.13.0-29-generic running on i386; UTF-8; en_US (nb)
Comment 4 Christian Lenz 2014-06-30 13:50:23 UTC
Yes this is a new simple html5 project, created with netbeans and I can reproduce it there too. I have 10, big open projects with 7 HTML5 projects with more then 10k files (because of bower and npm), 1 Node JS project, created with the nodejs plugin from tim boudreau, 1 PHP and 1 Maven based project.

Have added a lot of plugins, will do a further research for this, maybe it's a problem with one of those plugins.
Comment 5 Christian Lenz 2014-06-30 13:51:04 UTC
unfortunately I don't get what you get.
Comment 6 Christian Lenz 2014-06-30 13:52:13 UTC
And yes, code completion for all languages and for JS there is the option: All possible situations, enabled.
Comment 7 Christian Lenz 2016-09-07 09:52:12 UTC
I can't reproduce it anymore, I will resolve it and if it's comes up again the problem, I will reopen it.