You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,12 +16,21 @@ and the Monaco editor.
16
16
-*findDefinition* finds the definition of the symbol at the given location.
17
17
-*findReferences* finds all references to the symbol at the given location.
18
18
-*findDocumentHighlights* finds all symbols connected to the given location.
19
-
-*findDocumentSymbols* provides all symbols in the given document
19
+
-*findDocumentLinks* provides all symbols in the given document
20
+
-*findDocumentSymbols* provides all links for references in the given document
20
21
-*doCodeActions* evaluates code actions for the given location, typically to fix a problem.
21
22
-*findDocumentColors* evaluates all color symbols in the given document
23
+
-*getColorPresentations* lists valid CSS color presentations
22
24
-*doRename* renames all symbols connected to the given location.
23
25
-*prepareRename* the range of the node that can be renamed
24
26
-*getFoldingRanges* returns folding ranges in the given document.
27
+
-*getSelectionRanges* returns selection ranges in the given document.
28
+
29
+
30
+
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.
31
+
32
+
33
+
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.
25
34
26
35
Installation
27
36
------------
@@ -38,7 +47,6 @@ For the complete API see [cssLanguageService.ts](./src/cssLanguageService.ts) an
38
47
Development
39
48
-----------
40
49
41
-
42
50
- clone this repo, run `npm install`
43
51
-`npm test` to compile and run tests
44
52
@@ -61,17 +69,12 @@ How can I run and debug the service inside an instance of VSCode?
61
69
- set breakpoints, e.g. in `cssCompletion.ts`
62
70
- in the instance run from sources, invoke code completion in the `.css` file
63
71
64
-
65
-
66
-
**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).**
67
-
68
-
69
72
License
70
73
-------
71
74
72
75
(MIT License)
73
76
74
-
Copyright 2016, 20 Microsoft
77
+
Copyright 2016, 25 Microsoft
75
78
76
79
With the exceptions of `build/mdn-documentation.js`, which is built upon content from [Mozilla Developer Network](https://developer.mozilla.org/docs/Web)
0 commit comments