jamesohortle / UnicodeHover

Hover over a Unicode escape in VS Code to see the glyph of the character, its description and a link to its webpage!
MIT License
12 stars 3 forks source link

TexHover will not work without LaTeX-Workshop #4

Closed jamesohortle closed 4 years ago

jamesohortle commented 5 years ago

Despite

"activationEvents": [
    "onLanguage:python",
    "onLanguage:javascript",
    "onLanguage:latex"
],

in package.json, the extension fails to detect \char, \Uchar and ^^... escapes in .tex files.

Adding

"languages": [{
        "id": "latex",
        "extensions": [ ".tex" ],
        "aliases": [ "latex", "LaTeX", "tex", "TeX" ]
}]

did not help.

jamesohortle commented 5 years ago

The purpose of this extension is not to provide a full tokenizer for a given language. Hence, we should just list LaTeX-Workshop as a dependency and be done with it.

jamesohortle commented 4 years ago

It should be clear from the README that users will need to install language support. Close issue.