karuna / tera-vscode

Tera Template Syntax Highlighting for Visual Studio Code
MIT License
18 stars 5 forks source link

No syntax highlighting. #15

Closed Kiiyya closed 3 years ago

Kiiyya commented 3 years ago

I may be just dumb, but I can't figure out how to activate the tera extension. Changing language in VSCode lists nothing when searching for "tera", and searching for "html" only brings up HTML itself, but no option "HTML (Tera)" as specified here.

Which file extension does the extension expect? .tera? Just .html, and if yes does it auto-detect that it's a tera template file then? Or .html.tera? Which one is recommended.

Thanks for your work either way :)

tusamni commented 3 years ago

Any word on this? I'm having the same issue.

karuna commented 3 years ago

There's this one pull request, I'll check it tonight

On Tue, Jul 6, 2021 at 10:49 AM Erik Olsen @.***> wrote:

Any word on this? I'm having the same issue.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/karuna/tera-vscode/issues/15#issuecomment-874402359, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA6ORKVA5SMWBNSB7GPDP3TWJOJHANCNFSM47WPJ6VA .

-- Karuna Murti

skype: kampangptlk google talk/hangout: @.*** linkedin: https://www.linkedin.com/in/karunamurti timezone: Asia/Tokyo +9

Kiiyya commented 3 years ago

By the looks of it, simply setting the language to HTML somehow sets the language to Tera-HTML, hence why I closed the issue. That is not very obvious, and while I don't know much about VSCode extension development, as a user I have the following two confusions:

A simple distinct option like "HTML (Tera)" would solve all of that :)

tusamni commented 3 years ago

It is working now on my .html files.

Syntax highlighting is working great, but indenting doesn't seem to work.

karuna commented 3 years ago

I think it works now as of 0.0.7

vallentin commented 3 years ago

@karuna Unsure, if this is related to this particular issue. But I'm having an issue with syntax highlighting in VSCode 1.59.0. Syntax highlighting for Markdown files uses this extension by default now. So the default syntax highlighting is gone. Everything is just the same solid color, as if it was plain text.

I simply updated VSCode, and then syntax highlighting for Markdown files was gone. I performed an "Extension Bisect" and the result was that disabling this extension resolved my issue.

If there's any other information I can provide, then I'll happily do so. Skimmed through the VSCode release notes, and no change stood out.

schungx commented 9 months ago

Well, I just installed the extension and there doesn't seem to be any way to activate it... HTML keeps being shown as HTML...

Any pointers?