Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-3419

CSS Refactoring: Make it easy to switch between internal an external CSS

XMLWordPrintable

      Some times it is just easier to use the "style" attribute of an html tag to alter/change the way it is presented to the user, but later, it is better to consolidate this information in an external .css file. I would be really nice if I could right click the "style" attribute of an html tag, select "Refactor->Extract Style to CSS file" in the contextual menu and have the style automatically copied to the .css file I choose (and of course have the <link href="..." rel="stylesheet" type="text/css" /> automatically created for me.

      I would also be great if it could be done not only on an individual tag, but in all the tags in a file, or even in all the files in a project.

      And of course there are times when is more convenient to have the style embedded in the html file and drop the <link href="..." rel="stylesheet" type="text/css" /> , for those cases it would be really nice to have a "Inline css" option to do the opposite.

              Unassigned Unassigned
              luxspes_jira Francisco Jose Peredo Noguez (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: