From the SolidWorks Blog:
While SolidWorks has had the ability to add dimensions while sketching for some time, SolidWorks 2013 makes it a whole lot more intuitive. Now, when you enter dimension values while sketching, SolidWorks will automatically add it to the geometry.