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 197314 - CSS completion blocked by CSS parser error analysis
Summary: CSS completion blocked by CSS parser error analysis
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: -S1S-
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Marek Fukala
Depends on:
Reported: 2011-04-01 08:58 UTC by Marek Fukala
Modified: 2011-04-05 09:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2011-04-01 08:58:11 UTC
Extracted from the issue 179727 - [69cat] Code completion is slow

Getting CSS parser result automatically involves the error evaluation of the css rules which is not always necessary.
Comment 1 Marek Fukala 2011-04-01 09:51:15 UTC
Making the semantic css error analysis lazy. Until one calls getDiagnostics() on the parser result it is not computed. In fact I'm not sure whether anyone else can call that method when the parser result is explicitly requested by PM.parse() from the completion thread before the completion shows the results. If this happens, some kind of parse levels would have to be added to the css parser result.

Comment 2 Quality Engineering 2011-04-02 08:48:11 UTC
Integrated into 'main-golden', will be available in build *201104020400* on (upload may still be in progress)
User: Marek Fukala <>
Log: #197314 - CSS completion blocked by CSS parser error analysis