News for hackers. Stuff that matters.
Re:Brackets: The Open Source Code Editor for the Web by wetherbeei on Monday June 25, 2012 @09:44PM (#4159737)
Looks useful for static pages, but a lot of the shiny features wouldn't work for any site designed using a template library (which is any dynamic site).
Re:Brackets: The Open Source Code Editor for the Web by rorrr on Tuesday June 26, 2012 @02:26AM (#4160580)
Spot on. Any sufficiently complex website won't benefit from this. How would your code editor know which CSS (or even beter, Sass) files apply to which pages? No way.
Re:Brackets: The Open Source Code Editor for the Web by bazzargh on Tuesday June 26, 2012 @11:26AM (#4162380)
I'm hoping sourcemaps come to the rescue. We already have this for JS, but the support isn't deep enough. We need support for sourcemaps for templates and css (and even sprites!).

There's some thought been given to multi-level sourcemaps, which are needed for template->js->minified->concatenated... type mappings - see https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiO...

Also there's something on the feature roadmap for firefox to cover css sourcemaps. Not much info, but its a start: https://wiki.mozilla.org/DevTools/Features/CSSSourceMap

If you tried to apply the same thinking to everything in the UI, you'd hit sprites soon enough. It'd be interesting to have enough info that given an (x,y) in an image we can say what the source files were. This is the kind of thing where the http header in that sourcemaps v3 proposal would apply.

Re:Brackets: The Open Source Code Editor for the Web by jasonsanjose on Tuesday June 26, 2012 @01:28PM (#4163063)
+1. We (the core team) have discussed using sourcemaps to support the same "live" browser workflows with preprocessors.