I am evaluating Sublime Text 2 right now as I want to replace it with my current IDE. However, I have one issue which I could not solve yet (and I was unable to find an answer using forums and Google).
When I set the syntax of a document to “HTML” and I start to write something like
<div styI would like that “style” is behaving as an autocomplete field (and showing its further CSS options, like background-color, margin, padding, etc). But since the syntax of the page is set to “HTML” I seem not to get any autocomplete for the CSS in that HTML file. How can you “enable” autocompletion of CSS in a HTML syntax file? I know that a common way is to separate CSS and HTML into different files. But when this is not possible/wanted: How can you use CSS autocompletion in a HTML file using Sublime Text 2?