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 - Missing code completion after text block
Summary: Missing code completion after text block
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Jade (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-26 15:14 UTC by Vladimir Riha
Modified: 2015-03-13 12:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (66.70 KB, text/plain)
2015-02-26 15:14 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
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