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 250733

Summary: Missing code completion after text block
Product: javascript Reporter: Vladimir Riha <vriha>
Component: JadeAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description Vladimir Riha 2015-02-26 15:14:26 UTC
Created attachment 152254 [details]
IDE log

Please try:
==== jade file start=====
p
  | It must always be on its own line

==== jade file end=====


and invoke cc at the very beginning of line 3 (the empty line)
=> No suggestions


Thank you



Product Version: NetBeans IDE Dev (Build 201502260001)
Java: 1.7.0_71; Java HotSpot(TM) Client VM 24.71-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_71-b14
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2015-02-26 15:18:04 UTC
Similar case is 

==== jade file start=====
| Plain text can include <strong>html</strong>

==== jade file end=====


with invoking cc at the beginning of line 2
Comment 2 Petr Pisl 2015-03-12 14:47:38 UTC
The suspicious is that the parser result in this case is not jade but html. It looks like the first position after the embedding of html is still counted as html embedding.
Comment 3 Vladimir Riha 2015-03-13 12:03:30 UTC
Is following the same problem but with embedded JS?


=== file start ====
script.
    console

=== file end === 


=> cc at the beginning of line 3 says No suggestions