/vscode-html-languageservice

Language services for HTML

Primary LanguageTypeScriptMIT LicenseMIT

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