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.
Summary: | Code completion does not respect order constraints | ||
---|---|---|---|
Product: | xml | Reporter: | gthb <gthb> |
Component: | Text-Edit | Assignee: | _ pkuzel <pkuzel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | TASK | Exception Reporter: |
Description
gthb
2002-01-25 09:58:49 UTC
Unfortunatelly it is implementation limitation of 3.3. It should be addressed in 3.4. Following package need to be improved: nb_all/text-edit/src/org/netbeans/modules/xml/text/completition/dtd/*. Just to nitpick a little, I would argue that this should be classified as a defect rather than an enhancement. It seems like a reasonable correctness requirement on autocompletion features in editors, that they suggest only completions that are valid in the grammar of the document being edited (this is the case e.g. in editors for programming languages). But it's a minor point, I'll admit! :) Let these are considered while planning next release. Target milestone was changed from not determined to TBD There is already prepared ...dtd.ContentModel.java. Unfortunatelly it can badly hit performance. Would you agree with a switch enabled explicitly by user if the performance hit proves to occur? It is a subtask of DTD-based completion enhacement. And off by default? That makes sense I guess. Is the performance hit only in displaying the autocompletion popup, or does it impact the XML editor in general? Isn't this an exact duplicate of 30095 which you just resolved? Yes indeed. I have not realized that this issue has been filled sooo many times. Final implementation does not contain proposed switch rather it shows nonintrusive "Please wait..." result letting a user type (and narrow concurently computed result) if he realizes faster then the completion. Thanks for the hint. *** This issue has been marked as a duplicate of 30095 *** |