Home

tailwind-ctp-intellisense @31e28e862f79114ba3890f40033d78d29cdfdec5 - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tailwind-ctp-intellisense / packages / tailwindcss-language-server / tests / code-actions / invalid-variant.json
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  "code": "@variants hoover",
  "language": "css",
  "expected": [
    {
      "title": "Replace with 'hover'",
      "kind": "quickfix",
      "diagnostics": [
        {
          "code": "invalidVariant",
          "range": {
            "start": { "line": 0, "character": 10 },
            "end": { "line": 0, "character": 16 }
          },
          "severity": 1,
          "message": "The variant 'hoover' does not exist. Did you mean 'hover'?",
          "suggestions": ["hover"]
        }
      ],
      "edit": {
        "changes": {
          "{{URI}}": [
            {
              "range": {
                "start": { "line": 0, "character": 10 },
                "end": { "line": 0, "character": 16 }
              },
              "newText": "hover"
            }
          ]
        }
      }
    }
  ]
}