Files
Danil Somsikov 058b9d879d Add lit-analyzer and run it as a part of lint check
Bug: 370734442
No-Presubmit: true
Change-Id: I7021b801e5bacd4ed33643651a53b8db20ccf8b0
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5898986
Commit-Queue: Danil Somsikov <dsv@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
2024-10-07 12:41:05 +00:00

1.9 KiB

vscode-html-languageservice

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

npm Package NPM Downloads Azure DevOps Build Status Travis Build Status

Why?

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

  • findDocumentHighlights provides the highlighted symbols for a given position.
  • doComplete provides completion proposals for a given location.
  • setCompletionParticipants allows participant to provide suggestions for specific tokens.
  • doHover provides hover information at a given location.
  • format formats the code at the given range.
  • findDocumentLinks finds all links in the document.
  • findDocumentSymbols finds all the symbols in the document.
  • getFoldingRanges return folding ranges for the given document.
  • getSelectionRanges return the selection ranges for the given document.

Installation

npm install --save vscode-html-languageservice

License

(MIT License)

Copyright 2016-2019, Microsoft

With the exceptions of data/*.json, which is built upon content from Mozilla Developer Network and distributed under CC BY-SA 2.5.