Jefim Borissov Житие мое

15Oct/090

Komodo Edit tools – add style.css and reset.css

Good morning, planet. Today I am going to share a very useful script I am using in Komodo Edit (it automates adding style.css). It is very (!) simple yet very effective for me and, probably for others who are doing a lot of HTML files and face a problem of repetitive actions.
This thing works as follows (the use case):

  1. You create a new HTML file in komodo and save it in some directory.
  2. You double-click the script in the Komodo Edit toolbox.
  3. The script adds the following folders/files to the project (paths relative to the file currently in editor!)
    • css/
    • css/style.css
    • css/reset.css
  4. Also the file adds the following HTML code at the cursor in current opened file:


Voila. The needed action is done.