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 141804 - PHP wavy underline on markup code outside of PHP tags, does not belong.
Summary: PHP wavy underline on markup code outside of PHP tags, does not belong.
Status: CLOSED WONTFIX
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P1 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-27 07:37 UTC by diehard
Modified: 2008-07-27 08:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
XHTML, CSS embedded, JavaScript embedded (9.54 KB, text/html)
2008-07-27 07:38 UTC, diehard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description diehard 2008-07-27 07:37:29 UTC
I'm using NetBeans IDE 6.5m1 Dev 200807040101 and programming strict object-oriented with PHP 5.2.6. I created a new PHP
file to make a simple XHTML web page embedding style (CSS, screen and print) and script (JavaScript, jQuery) tags. There
is no PHP code at all because I'm working on the user interface first (presentation layer). I found that the editor
giving me a wavy underline and the tooltip is in the context of PHP. Even though, the wavy underline is outside of the
PHP tags (<?php ?>) or even when there is no PHP tags. The editor tooltips are "unused" and "missing } function body"
with red exclamation mark icon.

I'm attaching or linking a zipped file of my underdeveloped PHP file. Try moving the XHTML comments (<!-- -->) to the
next line and back. The editor will give a red wavy underline and the tooltip will say "missing } function body".

http://www.williamchang.org/debug/netbeans65m1_bug1_20080727.zip
Comment 1 diehard 2008-07-27 07:38:46 UTC
Created attachment 65741 [details]
XHTML, CSS embedded, JavaScript embedded
Comment 2 diehard 2008-07-27 08:14:55 UTC
Nevermind, I was missing a curly bracket in the JavaScript code because I was copying and pasting different parts.