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 213880

Summary: I don't see document and window javascript objects when I am using intellisense on a php document with pressing ctrl+space
Product: javascript Reporter: ugurcode
Component: EditorAssignee: Martin Fousek <marfous>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.1.2   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:

Description ugurcode 2012-06-09 16:01:01 UTC
Product Version = NetBeans IDE 7.1.2 (Build 201204101705)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.6.0_32
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.7-b02
Comment 1 Tomas Mysik 2012-06-11 03:49:14 UTC
Can you please provide exact steps or at least more details?

Simply reopen this issue, thanks.
Comment 3 Ondrej Brejla 2012-06-11 12:55:46 UTC
Sorry, I just see the usage of CC in Visual Studio...

And I see JS CC window in script part of html...:

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
		<script lang="text/javascript">
			window. // here CC works for me...
		</script>
    </head>
    <body>
	<?php
	// put your code here
	?>
    </body>
</html>

But it's JS area afaik, not PHP.
Comment 4 ugurcode 2012-06-11 12:57:42 UTC
A php document can contain JS, when I edit a *.js file on netbeans, it works, but when I add a <script> in a php file, window object is not visible, not document
Comment 5 Martin Fousek 2012-09-26 13:58:12 UTC
The JavaScript code completion in PHP files works well now as well as all global objects are properly offered.

I'm closing this issue as duplicate of #178887 where the completion of embedded JS was fixed

*** This bug has been marked as a duplicate of bug 178887 ***