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 177306 - Eager CSS CC
Summary: Eager CSS CC
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P1 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-20 08:26 UTC by Martin Schovanek
Modified: 2009-11-26 02:43 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 Martin Schovanek 2009-11-20 08:26:14 UTC
[#200910200201, jdk1.6]


to reproduce:
-------------
1) just press Enter, Space, ... in a .css file or in a CSS embedding
ERROR: the CC window appears
Comment 1 Marek Fukala 2009-11-20 09:21:22 UTC
This is a feature requested by users. The completion autoopens after each whitespace. Do you consider this as a bug?
Comment 2 Martin Schovanek 2009-11-20 09:46:59 UTC
After discussion with Marek we agreed to don't open CC for Enter and Tab keys.

- usecase 1:
  type in a .html: <style>|
  now if I want to type \n I have to close the CC window 

- usecase 2:
  want to press Tab twice in a .css but cannot because the CC window stops me
Comment 3 Marek Fukala 2009-11-20 11:56:19 UTC
fixed in web-main#0589b03ab00b

        //#177306  Eager CSS CC
        //
        //open completion when a space is pressed, but only
        //if typed by user by pressing the spacebar.
        //
        //1) filters out tabs which are converted to spaces
        //   before being put into the document
        //2) filters out newline keystrokes which causes the indentation
        //   to put some spaces on the newline
        //3) filters out typing spaces in comments
        //
Comment 4 Quality Engineering 2009-11-21 15:43:30 UTC
Integrated into 'main-golden', will be available in build *200911211401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0589b03ab00b
User: Marek Fukala <mfukala@netbeans.org>
Log: #177306 -  Eager CSS CC
Comment 5 Jindrich Sedek 2009-11-26 02:43:38 UTC
verified.
NetBeans IDE 6.8 RC1 (Build 200911252200)