vscode-css-languageservice 6.3.8 → 6.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +11 -8
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -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)
77
80
  and distributed under CC BY-SA 2.5.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vscode-css-languageservice",
3
- "version": "6.3.8",
3
+ "version": "6.3.9",
4
4
  "description": "Language service for CSS, LESS and SCSS",
5
5
  "main": "./lib/umd/cssLanguageService.js",
6
6
  "typings": "./lib/umd/cssLanguageService",
@@ -16,16 +16,16 @@
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/mocha": "^10.0.10",
19
- "@types/node": "18.x",
20
- "@typescript-eslint/eslint-plugin": "^8.44.1",
21
- "@typescript-eslint/parser": "^8.44.1",
22
- "@vscode/web-custom-data": "^0.6.0",
23
- "eslint": "^9.36.0",
19
+ "@types/node": "22.x",
20
+ "@typescript-eslint/eslint-plugin": "^8.48.0",
21
+ "@typescript-eslint/parser": "^8.48.0",
22
+ "@vscode/web-custom-data": "^0.6.2",
23
+ "eslint": "^9.39.1",
24
24
  "js-beautify": "^1.15.4",
25
- "mocha": "^11.7.2",
26
- "rimraf": "^6.0.1",
25
+ "mocha": "^11.7.5",
26
+ "rimraf": "^6.1.2",
27
27
  "source-map-support": "^0.5.21",
28
- "typescript": "^5.9.2"
28
+ "typescript": "^5.9.3"
29
29
  },
30
30
  "dependencies": {
31
31
  "@vscode/l10n": "^0.0.18",