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 236154

Summary: Code completion for file paths does not work at all
Product: web Reporter: peppertech <peppertech>
Component: HTML EditorAssignee: Marek Fukala <mfukala>
Status: VERIFIED FIXED    
Severity: normal CC: pjiricka, vriha
Priority: P2 Keywords: NO74
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description peppertech 2013-09-19 15:02:07 UTC
Product Version = NetBeans IDE Dev (Build web-main-11587-on-20130911)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_17
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01
In a basic HTML5 project open the index.html file and try to add a <script> tag.  after typing in src=""  if you try and do a ctrl-space to select from the filesystem, "No Suggestions" is returned.
Comment 1 Vladimir Riha 2013-09-19 15:24:48 UTC
Reproducible on Windows, works on Linux

Likely HTML editor? Reassigning.
Comment 2 Vladimir Riha 2013-09-19 15:27:20 UTC
Works fine in RC1
Comment 3 peppertech 2013-09-21 00:00:56 UTC
Yes, this does work in the 7.4 RC, but we have to use the latest build from web-main so that we don't run into another bug in 7.4 where we can't style a JSF (xhtml) page.

This is obviously a regression since the RC build.
Comment 4 Petr Jiricka 2013-09-21 20:07:48 UTC
Marek, can you please look into this on Monday?
Comment 5 Marek Fukala 2013-09-23 06:04:37 UTC
*** Bug 236142 has been marked as a duplicate of this bug. ***
Comment 6 Marek Fukala 2013-09-23 07:46:42 UTC
I'm working on it, but I need to set-up a windows machine in the virtual box on the new macbook first. My old images of WinXP are not longer update-able so going to do another try with a Vistas.
Comment 7 Marek Fukala 2013-09-23 11:47:04 UTC
should be fixed in web-main#5a07c8c9c11a.

After 5 hours of horrible struggle with windows/virtual box I made a 4 chars diff - just put back a piece of an old hacky code which I had removed as it looked useless :-).

Apparently not much of the unit tests runs on windows machine :-|

Vlado, I'd be glad if you take a look at the fix ASAP if possible. Thanks in advance.
Comment 8 Vladimir Riha 2013-09-23 11:56:06 UTC
(In reply to Marek Fukala from comment #7)
> Apparently not much of the unit tests runs on windows machine :-|

issue 236142 was discovered by failing functional test :)

> Vlado, I'd be glad if you take a look at the fix ASAP if possible. Thanks in
> advance.

I'll try it in few hours on Windows and Linux
Comment 9 Vladimir Riha 2013-09-23 14:54:30 UTC
Completion in HTML seems OK now (tested on Win8 and Ubuntu for script and img elements), but completion for @import in css on Windows completes incorrect slash (\ instead of /), I filed separate issue 236274 for that.


Product Version: NetBeans IDE Dev (Build web-main-11657-on-20130923)
Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b50
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b108
System: Windows 8 version 6.2 running on x86; Cp1252; en_US (nb)