JSPM

  • Created
  • Published
  • Downloads 778283
  • Score
    100M100P100Q201229F
  • License MIT

Language service for HTML

Package Exports

  • vscode-html-languageservice

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vscode-html-languageservice) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

vscode-html-languageservice

HTML language service extracted from VSCode to be reused, e.g in the Monaco editor.

npm Package NPM Downloads Build Status

Why?

The vscode-html-languageservice contains the language smarts behind the HTML editing experience of Visual Studio Code and the Monaco editor.

  • doComplete provides completion proposals for a given location.
  • findDocumentHighlights provides the highlighted symbols for a given position
  • format formats the code at the given range.
  • findDocumentLinks finds all links in the document
  • findDocumentSymbols finds all the symbols in the document

Installation

npm install --save vscode-html-languageservice