Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.16k stars 305 forks source link

Support tidy-html5 or equivalent and default to it for html5 #1749

Open Naatan opened 8 years ago

Naatan commented 8 years ago

Komodo still has issues linting html5 files, there are workarounds but none are really ideal and the point is that we should be supporting this natively without additional configuration.

So we need to investigate solutions. The end result -has- to be that we natively support HTML5 linting with a reliable dependency that we can ship with Komodo.

mitchell-as commented 8 years ago

Note: This can be as simple as updating our built-in tidy configuration options (KoHTML5TidyLinter) by adding the tags we are missing.

Naatan commented 8 years ago

No that would be working around the issue. Plus HTML5 supports custom tags, so you cannot predict what tags someone would use.

I'd like to use a linter which explicitly supports HTML5. tidy-html5 does this, though IIRC some of the newer tidy versions pose some challenges for us.

The point is HTML5 is the defacto version web developers use now. HTML5 should be a first class citizen, not an afterthought.

mitchell-as commented 8 years ago

@cgchoffman I'm pulling you in on this because the new HTML Tidy uses CMake, and this will affect our build process. Just FYI.

Naatan commented 8 years ago

Perhaps it's worth looking into whether tidy is still the best tool for the job.