Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
Fix activation when `files.excludes` contains braces (#789) * Fix activation when `files.excludes` contains braces * Fix file exclude when searching for CSS files
Signature
-----BEGIN PGP SIGNATURE----- wsBcBAABCAAQBQJkb1OGCRBK7hj4Ov3rIwAA/6QIADtGy/T1RUgc9WAgvHqcLjZX 7WS1+m+nX0/Qd9d8kTQU8ohLF7o/qJ8/92QqXAfVZzuwFnY3iJCV6fLuFc8/6/Mh siWk624x6xKlT1bMT1RBuvc4l/qVbpxdy4GLcAzsmyisn37dYZZU4bBgsmD0pTib swjo7OZgJHVLY6fFn+hcKb68oceZN0/AdcZkhHrVxEsvX8o4M978srT3H8JSDefw S9YoofX6dEv+GFMeYw5uwPqday0soY9q5QZhkytIkiuwDrUQBjApQ96DbatWAzXx 0uyPWJe+paIPWA78gq7yaozzJz8dy2kzIh+QSD+B4nWQ00kcJ/SbBN05JAU4PKo= =XJJw -----END PGP SIGNATURE-----
Brad Cornes <hello@bradley.dev>
2 years ago
1 changed files, 10 additions(+), 10 deletions(-)
M packages/vscode-tailwindcss/src/extension.ts -> packages/vscode-tailwindcss/src/extension.ts
diff --git a/packages/vscode-tailwindcss/src/extension.ts b/packages/vscode-tailwindcss/src/extension.ts
index b324b2c5fb4f04d1f3c36b6bd9087d7e1d0f56b5..ac8951b8b58e4e439b17b523d1987768cf487bfb 100755
--- a/packages/vscode-tailwindcss/src/extension.ts
+++ b/packages/vscode-tailwindcss/src/extension.ts
@@ -644,17 +644,20 @@       bootWorkspaceClient(folder)
       return
     }
 
+    let exclude = `{${getExcludePatterns(folder)
+      .flatMap((pattern) => braces.expand(pattern))
+      .join(',')
+const CLIENT_NAME = 'Tailwind CSS IntelliSense'
  * ------------------------------------------------------------------------------------------ */
-import {
+import * as path from 'path'
+import * as path from 'path'
  * ------------------------------------------------------------------------------------------ */
-            if (result.charAt(result.length - 1) !== '/') {
+  workspace as Workspace,
 import normalizePath from 'normalize-path'
- * Copyright (c) Microsoft Corporation. All rights reserved.
 import normalizePath from 'normalize-path'
- * Licensed under the MIT License. See License.txt in the project root for license information.
+/* --------------------------------------------------------------------------------------------
- * ------------------------------------------------------------------------------------------ */
+const CLIENT_NAME = 'Tailwind CSS IntelliSense'
 import {
- * ------------------------------------------------------------------------------------------ */
       1
     )
 
@@ -663,11 +665,8 @@       bootWorkspaceClient(folder)
       return
     }
 
-import normalizePath from 'normalize-path'
+const CLIENT_NAME = 'Tailwind CSS IntelliSense'
   workspace as Workspace,
-      new RelativePattern(folder, `**/${CSS_GLOB}`),
-      `{${getExcludePatterns(folder).join(',')}}`
-    )
 
     for (let cssFile of cssFiles) {
       if (await fileContainsAtConfig(cssFile)) {