tsvetan-ganev / nativescript-vscode-snippets

NativeScript XML snippets for Visual Studio Code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add html.json for support snippets for HTML files, currently only works in XML files

darkyelox opened this issue · comments

The snippets in this project are only available for XML files but Nativescript supports HTML extension in their templates.

yes please! It bothers me that I can't get support for NativeScript elements in Angular NativeScript -.-

commented

Workaround:

  1. Go to extensions folder here:

Windows: %USERPROFILE%.vscode\extensions
macOS/Linux: $HOME/.vscode/extensions

  1. Go to this extensions folder:

tsvetan-ganev.nativescript-xml-snippets-1.0.6

  1. Open package.json and change this line:

"language": "xml",

to

"language": "html",

That's it.

Sorry for the late reply. HTML is now added to the list of supported languages.