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 180209 - [refactoring] embedded CSS doesn't provide 'Refactor' action
Summary: [refactoring] embedded CSS doesn't provide 'Refactor' action
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-03 06:26 UTC by Jindrich Sedek
Modified: 2010-02-05 03:04 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 Jindrich Sedek 2010-02-03 06:26:57 UTC
use this code in HTML file:
---------------
        <style type="text/css">
            @import url("soria.css");
            #tablet2{

            }
        </style>
---------------
create soria.css in the same directory and replace content with this:
----------------
#tablet2{
    font-size: 30px
}
--------------

You can invoke refactor action on '#tablet2' id in soria.css file and it will refactor the HTML file. The same action should be accessible for the embedded CSS code in HTML file and should refactor the CSS file with it.
Comment 1 Marek Fukala 2010-02-03 07:04:38 UTC
The refactoring is enabled (Refactor -> rename) in main menu, but the popup for html is missing. I'm aware of this "defect" :-) Thanks
Comment 2 Marek Fukala 2010-02-03 08:40:42 UTC
fixed in web-main#cee1a0321309
Comment 3 Quality Engineering 2010-02-04 22:33:19 UTC
Integrated into 'main-golden', will be available in build *201002050200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2fd875972807
User: Marek Fukala <mfukala@netbeans.org>
Log: #180209 -  [refactoring] embedded CSS doesn't provide 'Refactor' action0
Comment 4 Jindrich Sedek 2010-02-05 03:04:54 UTC
verified
NetBeans IDE Dev (Build 201002050200)