I realize that it serves a purpose, but in truth my biggest complaint about Web Workbench is that when you click on "Mindscape -> Web Workbench Settings"
you're basically presented this wall of files. This is extremely cumbersome in any large project - and in truth it's kind of useless.
This list is just huge, and you're expected to pretty much know all of your behavior right there, and organize it on that page. This isn't intuitive or helpful.
First, this could all be moved to a simple JSON file that goes at the project root (or somewhere else you specify) that just lets you list things like this;
// format:
- filename, output directory, compile, minify, options
[
{ "content/assets/less/bootstrap.less", ".", true, false, [] },
{ "content/assets/less/kendo.less", ".", true, true, [] }
]
Additionally, it would be a lot better if this policy was more baked into the context menus of Visual Studio. By default, this "workbench.json
" file should be relatively empty - and you add files to it by right clicking on a file and using a new Context Menu category simply called "Web Workbench". This is obviously a trivialized example, but a layout kind of like this would be pretty useful;
Basically take the path of least resistance.
As it sounds, this will compile the selected file based on what its extension is. This has several benefits...
By letting you compile on demand, you save a lot of resources because Web Workbench isn't trying so hard all the time. It isn't trying to crunch every .LESS/.SASS file except when you ask it to.
This method means that you install Web Workbench, and you're ready to go. There's no real setup needed because it is more of a convention over configuration approach. It only does things when you ask it to. Beyond that, it gets out of your way.
I think these improvements would vastly improve the entire experience of web workbench.
Thanks a lot for your time, if anyone reads this!
Status: New
|
Also, I am willing to give much more detail on my idea if you like. I wanted to pitch it out here first to see if there was any interest before I began to draw up more. |
|
|
I'm trying to "edit" my post, but the site keeps giving me an Error 500, so I'll add on in a reply here. A big part of this is to only add settings to files as needed. Right now, Web Workbench starts by adding behavior to all files that it can process, instead of just the ones that you want to process. Every time I make a change to a .LESS file, I have to sit and wait for it to try and compile the thing before I get the inevitable error, because the file is meant to be part of a bigger file that pulls it in with I would much rather just be able to edit my .LESS files, and then right click on the one I want to compile and just do it. Tethering the behavior to Save is frustrating and I have calculated that Web Workbench could run significantly faster if it didn't do this, and it would not have to sacrifice any features to do so. |
|
|