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 69854 - The current attribute is not offered in code completion
Summary: The current attribute is not offered in code completion
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P4 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 69855 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-04 23:03 UTC by Petr Jiricka
Modified: 2009-05-18 10:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2005-12-04 23:03:08 UTC
1. Create a new web project
2. Create a new HTML file
3. Type the following line after <head> and place the caret inside the attribute
name:
<meta h|ttp-equiv=""/>
4. Press Ctrl+Space -> the attribute name is not offered.

It should be offered, similarly to Java methods and JSP tag attributes.
Comment 1 Petr Jiricka 2005-12-05 08:31:58 UTC
*** Issue 69855 has been marked as a duplicate of this issue. ***
Comment 2 Petr Jiricka 2005-12-05 08:33:04 UTC
See also issue 69853.
Comment 3 Jiri Kovalsky 2005-12-05 08:51:36 UTC
I bet this will be closed as designed. I have to admit it confused me too until
I found this out.
Comment 4 Marek Fukala 2005-12-05 09:39:55 UTC
The problem happens only for attributes which contains slash inside its name. So
the http-equiv is exactly the case.
Comment 5 Petr Jiricka 2005-12-05 12:14:16 UTC
Well, in that case I think this is a P4.
Comment 6 Marek Fukala 2005-12-05 12:15:53 UTC
fixed

Checking in HTMLCompletionQuery.java;
/cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLCompletionQuery.java,v
 <--  HTMLCompletionQuery.java
new revision: 1.26; previous revision: 1.25
done
Comment 7 Jiri Kovalsky 2006-02-21 09:43:32 UTC
Works fine in HTML editor in NetBeans 5.0 FCS build #200601251500. The same bug
occurs in XML editor though (In web.xml: <web-app ve|rsion="2.4"> + CTRL+Space
says "No suggestion").