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
Status: RESOLVED FIXED
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
URL:
Keywords:
Depends on:
Blocks:
 
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:


Attachments

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

http://statistics.netbeans.org/exceptions/exception.do?id=434322

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.

web-main#80cce555de36
Comment 2 Quality Engineering 2011-04-02 08:48:11 UTC
Integrated into 'main-golden', will be available in build *201104020400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/80cce555de36
User: Marek Fukala <mfukala@netbeans.org>
Log: #197314 - CSS completion blocked by CSS parser error analysis