> In software, there are what's known as Refactoring Tools, which  
> can, for
> instance, let me change the name of a function in one file, and
> automatically change it everywhere else.  Are there any similar  
> tools for
> CSS? So I could, for instance, find out from a bunch of CSS files  
> and a
> bunch of HTML files (templates) "Which HTML files use this  
> rule?" .  Or so
> that I could change the name of an element in a certain CSS file,  
> and have
> the HTML changed as well (or vice versa).  In short, tools to  
> automate a lot
> of the manual searching involved in integrating a large CSS project.

I think you could do much of this with any tool that allows you to  
search the content of multiple files within a directory at once; on  
the Mac I'd use either BBEdit's find tool or Spotlight. To find out  
which HTML files use a rule, you could just search your HTML  
directory for the name of the associated class or id; to change the  
name of an element you could do a find-and-replace on a whole  
directory in BBEdit. I'm sure there are similarly powerful tools on  
other platforms.

Peter
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to