Flex Builder CSS annoyance
Maybe I’m missing something here, but why does FlexBuilder generate css styles as “styleName” but suggests auto completions as “style-name” ?
Generated Style

Auto-Complete

Maybe I’m missing something here, but why does FlexBuilder generate css styles as “styleName” but suggests auto completions as “style-name” ?


No idea why…
I noticed it also, weird.
If I remember correctly, it used to generate ’style-name’ in the first version. The framework supports only ’styleName’; it is the compiler that translates ’style-name’ to ’styleName’. Somebody must have decided that it was better to be consistent with the framework and generate ’styleName’ instead.
That still doesn’t answer the question: Why ’style-name’ at all? I guess readability. ’style-name’ is arguably more readable. Camel case sucks, in my not-so-humble opinion.
More importantly, why does flex builder feel the need to hang for 15 seconds when i try to type more than 3 words??
@Manish, if it does either one style, readability will be ok I think .. but generating ’styleName’ and suggesting auto completes as ’style-name’ is very annoying because I would like my css to look consistent and follow one style .. but if I generate some styles and type in others .. I have to manually change all auto completed styles from styleName to style-name. Yuk !
@K, Flex Builder can be cranky sometimes, but its not that bad try this
Mrinal Wadhwa, I am a 24 year old Rich Internet Consultant with extensive experience in building Rich Internet Applications. This weblog captures my thoughts on the evolution of a richer Internet.
5 Comments
Jump to comment form | comments rss | trackback uri | bookmark on del.icio.us