Skip to content

ghaschel/vscode-angular-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode-angular-html

SemVer GitHub issues GitHub license NodeJS with Gulp Downloads Installs Version Known Vulnerabilities Commitizen friendly

Logo

Note: No theme will have the highlighting displayed in these images. For that effect, run the vscode-angular-html: Set custom color customizations command from the command pallete and you're good to go.

Angular HTML Template Syntax Highlighting

This plugin adds syntax highlighting for angular HTML template files in VS Code. It supports the angular syntax itself, HTML DOM events, SVG, XML (with DTD and namespaces support), emphasizes deprecated and obsolete tags and attributes usage according to the current status of HTML. Also supports custom colors for extra-matched scopes. See settings

Summary

General

Element differentiation (HTML/SVG/Custom/Angular)

The highlighting displayed in this specific section is not part of the custom color customization, and can be achieved by changing this extension' settings.

See Angular-specific list

See HTML-specific list

See SVG-specific list

See PrimeNG-specific list

Element differentiation

Customizations

There are a ton of customizations available, and everything can be changed in this extension' settings.

Angular

Directives

Angular directives

Interpolations

Angular Interpolations

Control Flow

Angular Control Flow

Structural tags

See the complete list

Angular Structural Tags

HTML

Doctype

Doctype

Comments

Comments

Entities

See the complete list

HTML Entities

PrimeNG

See the complete list

Prime NG Tags

NG Bootstrap

See the complete list

NG Bootstrap Tags

Kendo UI

See the complete list

Kendo UI Tags

Custom components

See color-customization

Custom Component

DOM events

See the complete list

DOM events

Generic attributes

Generic attributes

Style inline

Style inline

And with colorize support:

Style inline with colorize

See colorize settings

Regex

Regex

Deprecated attributes

See the complete list

Invalid attributes

Deprecated tags

See the complete list

Deprecated tags

ARIA-prefixed attributes

See the complete list

Aria attributes

Data attributes

Data attributes

SVG

Non-string attributes

See SVG's non string attributes

Elements like stroke can benefit from the colorize settings as the style inline section.

SVG Processing

Deprecated tags

See the complete list

SVG deprecated tags

Deprecated attributes

See the complete list

SVG invalid attributes

XML

DTD, elements and attributes namespace

XML Processing

Stylesheet

XML Stylesheet

Style tags (CSS/SASS/PostCSS/SCSS/Stylus)

See scripts and style MIME-types

See linting tips

Every MIME-type shown in this section also will be highlighted in <link> elements

Every style tag in this section can also benefit from the colorize settings as the style inline section

CSS

Style tag

SCSS

The displayed highlighting is achieved via vscode-angular-scss and it fallbacks to the default one if not installed.

Style tag

LESS

Style tag

SASS

Style tag

Stylus

Style tag

PostCSS

The displayed highlighting is achieved via language-postcss and it may be replaced with another extension as soon as this merge is released in a new version of the plugin

Style tag

CSS Fallback

Style tag

Script tag (Javascript/Typescript/Coffeescript/Dart)

See scripts and style mime-types

Javascript

Script tag

Typescript

Script tag

Coffeescript

Script tag

Dart

Script tag

Javascript fallback

Script tag

Link tags

Link tag

Theming

If you want to create a theme and support this extension, please checkout the theming docs

Translate

If you want to help translating this extension, please checkout the localization docs

Changelog

See the changelog