Skip to content

[html] Please provide a built-in HTML.tmLanguage file #543

Closed

Description

Lots of template languages extend html syntax.

Since popular text editors such as sublime text and atom usually have built-in HTML.tmLanguage file, most online syntax definition files just simply add an include: text.html.basic field in them.

However, Visual Studio Code does not have that built-in syntax definition file, thus forcing language extension authors to manually include an HTML.tmLanguage file. This feels awkward. I don't want to redefine HTML syntax in every single language extension I wrote.

So, please provide a built-in HTML syntax definition file for language extension authors!

Activity

  1. aeschli commented on Nov 24, 2015

    @aeschli
    Contributor

    Makes sense, will add.

  2. changed the title [-]Please provide a built-in HTML.tmLanguage file[/-] [+][html] Please provide a built-in HTML.tmLanguage file[/+] on Nov 24, 2015
  3. added
    feature-request
    on Nov 25, 2015
  4. added
    languages-basic
    on Nov 30, 2015
  5. added
    html
    and removed
    languages-basic
    on Nov 30, 2015
  6. aeschli commented on Dec 2, 2015

    @aeschli
    Contributor

    Fix delivered

  7. Spown commented on Dec 19, 2015

    @Spown

    Fix delivered

    So what exactly have happened here? How to use it? I can't see anything in the update log and/ordocumentation.

  8. aeschli commented on Jan 4, 2016

    @aeschli
    Contributor

    The built in HTML extension now contains the html text mate grammar and declares the scope name text.html.basic.
    The HTML editor mode in VSCode doesn't the text mate grammar yet, but other language extensions, that depend on the html text mate grammar to be present, profit from this. The issue description above is a good summary.

  9. abdelouahabb commented on Aug 8, 2016

    @abdelouahabb

    this feature will be usefull to develop extensions like Django/Jinja/Tornado templates support for example

  10. abdelouahabb commented on Aug 11, 2016

    @abdelouahabb

    Martin Aeschlimann (@aeschli) Emmet are not fired on langagues that use HTML (Jinja, Tornado, Django...etc), how to activate it?

    In Atom, I added this atom-text-editor[data-grammar="text html tornado"]:not([mini]) in the keymaps, I checked the emmet docs and dident found the value to put in preferences?

  11. mrmlnc commented on Aug 11, 2016

    @mrmlnc
    Contributor

    ALIANE Abdelouahab (@abdelouahabb), well, that's a work in progress. See #9500

  12. abdelouahabb commented on Aug 11, 2016

    @abdelouahabb

    Denis Malinochkin (@mrmlnc) ah, thank you, excited to see it coming ^_^

  13. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requesthtml

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions