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 74576 - [cc] Instant substitution does not work fully
Summary: [cc] Instant substitution does not work fully
Status: VERIFIED INVALID
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-07 12:35 UTC by Jiri Kovalsky
Modified: 2007-09-25 01:33 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 Jiri Kovalsky 2006-04-07 12:35:07 UTC
Development build #200604070200 of NetBeans 5.5 with new XML editor completion API
Windows XP, JDK 1.5.0_05 build #05

Description:
============
New code completion API does not perform instant substitution if suggestions are
reduced to single item.

Steps to reproduce:
===================
1. Create new sample web application project.
2. Create new XML file in this project.
3. Type '<' char after <root> at line 11.
4. Type '/' char and the statement should immediatelly be completed to <root></root>
Comment 1 Marek Fukala 2006-05-31 10:41:14 UTC
Not so big problem since at least the CC with the end tag is opened.
Comment 2 Marek Fukala 2006-08-09 15:05:45 UTC
The described behaviour is correct. The instant substitution works only when
user invokes the CC explicitly by pressing Ctrl+space, not when the CC is opened
when user types a completion 'hotchar' (e.g. < for XML). If you do not like this
behaviour you have to fill an issue against the completion infrastructure.
Comment 3 Jiri Kovalsky 2006-08-15 09:30:25 UTC
Okay, I thought this works in Java editor but does not either. Verifying as
invalid issue.