Alexei
Alexei
Are you referring to my latter comment regarding filetype checks? How about the main issue, ignoring multiline HTML comments?
They could be anywhere on the page, yes. But it's better to ignore them wrongly than to choose incorrect indentation, no?
Can you give some examples of what ignoring HTML comments might break?
Yes, absolutely. Every file in several projects I work on contains a comment block at the top. Sometimes the comment block is a comment, and sometimes it is a /\*...
Right, all the comment blocks I deal with here are either ``` javascript /*! * Description paragraph. * * Copyright line. */ ``` in JS or the same but with...
For consistency with the JavaScript header comments, so that the comment format is almost entirely the same. If you look at it critically, the JavaScript commenting situation is a clearer...
C-style comment headers blocks in JavaScript files: Let's start with most watched/forked JS repository on GitHub, Bootstrap: https://github.com/twitter/bootstrap/blob/master/js/bootstrap-carousel.js for instance.
Unfortunately, "
There is no HTML "language" on GitHub, and code search is terrible, but here are a couple of examples: https://github.com/cardmagic/lucash/blob/0452d410430d12140c14948f7f583624f819cdad/reference/scsh-0.6.6/doc/src/manual/s48manual.html https://github.com/theRocket/typo/blob/8664552d86ea39d28fec76bc34d66a16a0d02b60/public/javascripts/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html
majewsky, see also https://github.com/ciaranm/detectindent/issues/12