CSS Hacks automations
We all know that HTML5 and CSS 3 are cool and easy. However when creating a more complex web application, it is common that we need to apply some specific settings (we can call them CSS hacks) to a specific browser. This eats up much time and might be frustrating. . VS11 supports CSS hacks by means of Intelli Sense and ‘*’ and ‘_’ property hacks validation.
Commenting and uncommenting CSS rules
How many times did we get frustrated by the fact that we couldn’t use the shortcuts CTRL+K,C for commenting and CTRL+K,U for uncommenting while working in CSS editor? Why was it not possible to use them in CSS editor if we could use them everywhere else? Fortunately, this has been improved and from now on we can use the above shortcuts not only in code editor but also in CSS editor.
Snippets in CSS editor
Code Snippeting is a powerful Visual Studio mechanism. The only problem was that it could be used only in the code editor, whereas in the CSS editor such an option didn’t exist. It has been improved in the new VS IDE. Now many CSS3 properties that require some browser-specific settings are a part of ready snippets.
The CSS editor has been enhanced in such a way that you can now use Intelli Sense to pick up one of the colours already existing in your stylesheet or simply choose another one via the colour picker control. This feature has been thoroughly explained by Scott Guthrie in one of his blog posts.
“Go to definition” option
Support for ECMAScript5
Revolution or just evolution?
Moreover, building a web application can be finally more a pleasure than an agony.
We process cookies and make them available to Google Analytics (a service provided by Google, Inc.) to improve the performance of the website, to learn your preferences about using it and to tailor it to your needs. The data will be anonymised before being transmitted. If you do not agree to this, you may disable cookies in your browser. If you do not change your browser settings, you accept the fact that it saves cookies.