Feature Requests: For an already amazing product.

Nov 30, 2010 at 3:48 AM
Edited Dec 2, 2010 at 9:53 PM

I just started using this today, and I can't believe how awesome it is.  I've got a couple of ideas on how to make it even AWESOMER!!!

  1. For the DotLess stuff, I'd like to be able to declare all of my "variables" in their own .less file (set as the first File of the FileGroup in the chirp.config file).  Then when I use those variables across all of the subsequent .less files in my config, they get persisted down the line.
  2. I don't know if this is supposed to be happening already or not, but I'd love it if when I save one of my .js files that are contained within the chirp.config file, that the mashed/minified file gets updated automatically. As it stands, I have to keep the config file open and simply click "save" to have the new mashed/minified file created.
  3. If my config file has errors (like when I used p instead of P in the word "Path", or if I have an invalid path), I'd like to see some sort of error message (even if it's just in output) instead of failing gracefully / invisibly.
  4. Since Chirpy is so great at minifying JS and CSS, what about adding HTML into the mix? I'm using the vbhtml extension for the Razor view engine, and I think chirpy would be great to remove the whitespace on my file (see example below). Doing this would prevent the need for a whitespace removing regex to be run at runtime. (http://stackoverflow.com/questions/855526 and http://www.codegain.com/articles/aspnet/howto/compress... don't seem like good examples if the regex gets run on every request. It's far better to do it at design time.)  Also. Here's a little more info from a guy that has worked out the kinks. He's doing it at run time, but I'm sure a lot of his code could be valid in this situation. http://madskristensen.net/post/A-whitespace-removal-HTTP-module-for-ASPNET-20.aspx

 

<html>
    <head>
        <title>my title</title>
    </head>
    <body>
        <div>header</div>
        <div>hello world</div>
    </body>
<html>

 

could look like this if we add we turn the view from "helloWorld.vbhtml" into "helloWorld.chirp.vbhtml"

 

<html>
<head>
<title>my title</title>
</head>
<body>
<div>header</div>
<div>hello world</div>
</body>
<html>

Nothing fancy, but it would sure decrease request sizes and satisfy "PageSpeed"

 

Thanks again for this fantastic add-in!!!