diff --git a/README.md b/README.md index 03369456..f5804e24 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,21 @@ and the Monaco editor. - *findDefinition* finds the definition of the symbol at the given location. - *findReferences* finds all references to the symbol at the given location. - *findDocumentHighlights* finds all symbols connected to the given location. - - *findDocumentSymbols* provides all symbols in the given document + - *findDocumentLinks* provides all symbols in the given document + - *findDocumentSymbols* provides all links for references in the given document - *doCodeActions* evaluates code actions for the given location, typically to fix a problem. - *findDocumentColors* evaluates all color symbols in the given document + - *getColorPresentations* lists valid CSS color presentations - *doRename* renames all symbols connected to the given location. - *prepareRename* the range of the node that can be renamed - *getFoldingRanges* returns folding ranges in the given document. + - *getSelectionRanges* returns selection ranges in the given document. + + +The _vscode-css-languageservice_ does not cover syntax highlighting. VS Code uses TextMate grammars for that, with a grammar that is maintained in https://github.com/microsoft/vscode-css. + + +All CSS entities (properties, at-rules, etc) are sourced from https://github.com/microsoft/vscode-custom-data/tree/master/web-data and transpiled here. For adding new property or fixing existing properties' completion/hover description, please open PR there. Installation ------------ @@ -38,7 +47,6 @@ For the complete API see [cssLanguageService.ts](./src/cssLanguageService.ts) an Development ----------- - - clone this repo, run `npm install` - `npm test` to compile and run tests @@ -61,17 +69,12 @@ How can I run and debug the service inside an instance of VSCode? - set breakpoints, e.g. in `cssCompletion.ts` - in the instance run from sources, invoke code completion in the `.css` file - - -**Note: All CSS entities (properties, at-rules, etc) are sourced from https://github.com/microsoft/vscode-custom-data/tree/master/web-data and transpiled here. For adding new property or fixing existing properties' completion/hover description, please open PR there).** - - License ------- (MIT License) -Copyright 2016, 20 Microsoft +Copyright 2016, 25 Microsoft With the exceptions of `build/mdn-documentation.js`, which is built upon content from [Mozilla Developer Network](https://developer.mozilla.org/docs/Web) and distributed under CC BY-SA 2.5.