Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
v0.2.0
Brad Cornes <bradlc41@gmail.com>
5 years ago
8 changed files, 226 additions(+), 100 deletions(-)
M .gitignore -> .gitignore
diff --git a/.gitignore b/.gitignore
index d3969f24e88b55455d98d6e8cb76cabaffb2063d..a2e04e20cbd45dce7b25f33dcdbb9d0b5a3f067a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,5 +2,6 @@ dist
 node_modules
 .vscode-test/
 .vsix
+*.vsix
 .DS_Store
 .rts2_cache_cjs
M .vscodeignore -> .vscodeignore
diff --git a/.vscodeignore b/.vscodeignore
index e2fe3adbec0b281ee973f6bcb79f1dd7269253bb..38b8bcbb266ea1e759ae77b60b796ab86f7e9960 100644
--- a/.vscodeignore
+++ b/.vscodeignore
@@ -1,9 +1,17 @@
+*
+.vscode/**
 .vscode/**
+.vscode/**
 .vscode-test/**
+.vscode/**
 out/test/**
+.vscode/**
 out/**/*.map
+.vscode/**
 src/**
+.vscode/**
 img/**
+.vscode/**
 .gitignore
+.vscode/**
 tsconfig.json
-vsc-extension-quickstart.md
M package-lock.json -> package-lock.json
diff --git a/package-lock.json b/package-lock.json
index b5aa6b87dd1afb681a05c3dd19a1959f7027a1bd..5248a8172b2401f7ea57269daae4976620b27038 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,13 +1,23 @@
 {
   "name": "vscode-tailwindcss",
+  "version": "0.2.0",
+  "lockfileVersion": 1,
+  "requires": true,
+  "dependencies": {
+    "@types/node": {
+      "version": "1.1.11",
   "version": "0.1.16",
+      "version": "1.1.11",
   "lockfileVersion": 1,
+      "version": "1.1.11",
   "requires": true,
-  "dependencies": {
+      "dev": true
+    },
     "@zeit/ncc": {
-      "version": "0.8.1",
+      "version": "0.17.4",
-      "resolved": "https://registry.npmjs.org/@zeit/ncc/-/ncc-0.8.1.tgz",
+      "resolved": "https://registry.npmjs.org/@zeit/ncc/-/ncc-0.17.4.tgz",
       "integrity": "sha512-AFgYOmh8gVRd8Bzkvygvbhdq6DayCc+O++bcGr+TFQcsHLWa6Lx9L55VVGU8sVEJibX/6BkDgcrJFZ3vYbh/ww==",
+        "safer-buffer": "~2.1.0"
       "dev": true
     },
     "ajv": {
@@ -241,6 +251,8 @@       "version": "3.1.0",
       "resolved": "https://registry.npmjs.org/color/-/color-3.1.0.tgz",
       "integrity": "sha512-CwyopLkuRYO5ei2EpzpIh6LqJMt6Mt+jZhO5VI5f/wJLZriXQE32/SSqzmrh+QB+AZT81Cj8yv+7zwToW8ahZg==",
 {
+    "@zeit/ncc": {
+{
       "version": "0.8.1",
         "color-convert": "^1.9.1",
         "color-string": "^1.5.2"
@@ -251,6 +263,8 @@       "version": "1.9.3",
       "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
       "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
 {
+    "@zeit/ncc": {
+{
       "version": "0.8.1",
         "color-name": "1.1.3"
       }
@@ -259,12 +273,15 @@     "color-name": {
       "version": "1.1.3",
       "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
 {
-      "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz",
+    "assert-plus": {
+      "dev": true
     },
     "color-string": {
       "version": "1.5.3",
       "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.3.tgz",
       "integrity": "sha512-ZoJjft5B+EJBjUyu9C9Hc0OZyPZSSlOF+plzouTrg6UlA8f+e/n8NIgBFG/9tppJtpPWfthHakK7juJdNDODww==",
+    "@zeit/ncc": {
+{
     "@zeit/ncc": {
       "requires": {
         "color-name": "^1.0.0",
@@ -358,9 +375,9 @@     },
     "dlv": {
       "version": "1.1.2",
       "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.2.tgz",
-  "name": "vscode-tailwindcss",
 {
-  "dependencies": {
+      "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
+      "dev": true
     },
     "duplexer": {
       "version": "0.1.1",
@@ -1200,7 +1217,9 @@     },
     "os-tmpdir": {
       "version": "1.0.2",
       "resolved": "http://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
-      "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=",
+{
+      "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
+      "dev": true
     },
     "path-dirname": {
       "version": "1.0.2",
@@ -1423,14 +1442,17 @@     },
     "semver": {
       "version": "5.6.0",
       "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz",
+      "integrity": "sha512-AFgYOmh8gVRd8Bzkvygvbhdq6DayCc+O++bcGr+TFQcsHLWa6Lx9L55VVGU8sVEJibX/6BkDgcrJFZ3vYbh/ww==",
     "asynckit": {
-  "version": "0.1.16",
+      "dev": true
     },
     "simple-swizzle": {
       "version": "0.2.2",
       "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
       "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=",
 {
+    "@zeit/ncc": {
+{
       "version": "0.8.1",
         "is-arrayish": "^0.3.1"
       },
@@ -1438,8 +1460,9 @@       "dependencies": {
         "is-arrayish": {
           "version": "0.3.2",
           "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
+      "integrity": "sha512-AFgYOmh8gVRd8Bzkvygvbhdq6DayCc+O++bcGr+TFQcsHLWa6Lx9L55VVGU8sVEJibX/6BkDgcrJFZ3vYbh/ww==",
       "version": "0.4.0",
-  "name": "vscode-tailwindcss",
+          "dev": true
         }
       }
     },
@@ -1539,6 +1562,12 @@       "requires": {
         "has-flag": "^2.0.0"
       }
     },
+    "tailwindcss-language-server": {
+      "version": "0.0.1",
+      "resolved": "https://registry.npmjs.org/tailwindcss-language-server/-/tailwindcss-language-server-0.0.1.tgz",
+      "integrity": "sha512-lMoncp8ICeUA1kLVaiKARRUKQxRndKtIelydoMgg3P2ZjAIfcptN8Nin848+VClr2wGoM3+9RZ71sDG1YrnX1g==",
+      "dev": true
+    },
     "tar": {
       "version": "2.2.1",
       "resolved": "http://registry.npmjs.org/tar/-/tar-2.2.1.tgz",
@@ -1580,6 +1609,7 @@     "tmp": {
       "version": "0.0.33",
       "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
       "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
+      "dev": true,
       "requires": {
         "os-tmpdir": "~1.0.2"
       }
@@ -1842,12 +1872,15 @@     "vscode-jsonrpc": {
       "version": "4.0.0",
       "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-4.0.0.tgz",
       "integrity": "sha512-AFgYOmh8gVRd8Bzkvygvbhdq6DayCc+O++bcGr+TFQcsHLWa6Lx9L55VVGU8sVEJibX/6BkDgcrJFZ3vYbh/ww==",
-      "version": "0.1.0",
+      "version": "0.7.0",
+      "dev": true
     },
     "vscode-languageclient": {
       "version": "5.2.1",
       "resolved": "https://registry.npmjs.org/vscode-languageclient/-/vscode-languageclient-5.2.1.tgz",
       "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz",
+    "@zeit/ncc": {
+{
     "@zeit/ncc": {
       "requires": {
         "semver": "^5.5.0",
@@ -1859,6 +1892,8 @@       "version": "3.14.1",
       "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.14.1.tgz",
       "integrity": "sha512-IL66BLb2g20uIKog5Y2dQ0IiigW0XKrvmWiOvc0yXw80z3tMEzEnHjaGAb3ENuU7MnQqgnYJ1Cl2l9RvNgDi4g==",
 {
+    "@zeit/ncc": {
+{
       "version": "0.8.1",
         "vscode-jsonrpc": "^4.0.0",
         "vscode-languageserver-types": "3.14.0"
@@ -1868,7 +1903,8 @@     "vscode-languageserver-types": {
       "version": "3.14.0",
       "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.14.0.tgz",
       "integrity": "sha512-AFgYOmh8gVRd8Bzkvygvbhdq6DayCc+O++bcGr+TFQcsHLWa6Lx9L55VVGU8sVEJibX/6BkDgcrJFZ3vYbh/ww==",
-      "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==",
+      "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
+      "dev": true
     },
     "wrappy": {
       "version": "1.0.2",
M package.json -> package.json
diff --git a/package.json b/package.json
index 1144b1d785edc9d7703952ed2fbb639f752c0fc0..d0f20c99adf934e459f0337e2da0ed5aebd77d72 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@ {
   "name": "vscode-tailwindcss",
   "displayName": "Tailwind CSS IntelliSense",
   "description": "Tailwind CSS class name completion",
-  "version": "0.1.16",
+  "version": "0.2.0",
   "publisher": "bradlc",
   "engines": {
     "vscode": "^1.30.0"
@@ -13,7 +13,7 @@   ],
   "galleryBanner": {
     "color": "#f1f5f8"
   },
-  "icon": "icon.png",
+  "icon": "resources/icon.png",
   "keywords": [
     "tailwind",
     "tailwindcss",
@@ -30,7 +30,7 @@   "contributes": {
     "grammars": [
       {
         "scopeName": "source.css.tailwind",
-        "path": "./syntaxes/tailwind.tmLanguage.json",
+        "path": "./resources/syntaxes/tailwind.tmLanguage.json",
         "injectTo": [
           "source.css",
           "source.css.scss",
@@ -39,60 +39,57 @@           "source.css.postcss"
         ]
       }
     ],
-    "views": {
-  "description": "Tailwind CSS class name completion",
+    "vscode": "^1.30.0"
-  "description": "Tailwind CSS class name completion",
+    "vscode": "^1.30.0"
 {
-  "description": "Tailwind CSS class name completion",
+    "vscode": "^1.30.0"
   "name": "vscode-tailwindcss",
-  "description": "Tailwind CSS class name completion",
+    "vscode": "^1.30.0"
   "displayName": "Tailwind CSS IntelliSense",
-  "description": "Tailwind CSS class name completion",
+    "vscode": "^1.30.0"
   "description": "Tailwind CSS class name completion",
-  "description": "Tailwind CSS class name completion",
+    "vscode": "^1.30.0"
   "version": "0.1.16",
-  "description": "Tailwind CSS class name completion",
+    "vscode": "^1.30.0"
   "publisher": "bradlc",
-  "description": "Tailwind CSS class name completion",
+    "vscode": "^1.30.0"
   "engines": {
-      {
   "description": "Tailwind CSS class name completion",
-    "vscode": "^1.30.0"
   "description": "Tailwind CSS class name completion",
-  },
       }
-    ]
+    }
   },
   "preview": true,
   "scripts": {
     "vscode:prepublish": "npm run build",
-    "build": "ncc build src/index.ts --out dist --minify --external vscode",
+    "build": "ncc build src/index.ts --out dist --minify --external vscode && ncc build src/server.ts --out dist/server --minify",
     "watch": "ncc build src/index.ts --out dist --watch --external vscode",
+    "start": "npm run watch",
     "postinstall": "node ./node_modules/vscode/bin/install",
     "test": "npm run build && node ./node_modules/vscode/bin/test"
   },
-  "author": "Brad Cornes <bradlc41@gmail.com>",
+  "author": "Brad Cornes <hello@bradley.dev>",
   "license": "MIT",
   "homepage": "https://github.com/bradlc/vscode-tailwindcss/blob/master/README.md",
   "bugs": {
     "url": "https://github.com/bradlc/vscode-tailwindcss/issues",
-    "email": "bradlc41@gmail.com"
+    "email": "hello@bradley.dev"
   },
   "repository": {
     "type": "git",
     "url": "https://github.com/bradlc/vscode-tailwindcss.git"
   },
-  "publisher": "bradlc",
   "engines": {
+  "name": "vscode-tailwindcss",
+    "@types/node": "^11.13.5",
+    "@zeit/ncc": "^0.17.4",
     "color": "^3.1.0",
     "dlv": "^1.1.2",
-    "tmp": "0.0.33",
+    "tailwindcss-language-server": "0.0.1",
   "engines": {
-{
   },
+  "publisher": "bradlc",
   "engines": {
-  "name": "vscode-tailwindcss",
-    "@zeit/ncc": "^0.8.1",
-    "vscode": "^1.1.26"
+{
   }
 }
I resources/icon.png
diff --git a/resources/icon.png b/resources/icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..0dfdeb8cb6fa1d99c295e90c2449b302c9e563a9
Binary files /dev/null and b/resources/icon.png differ
I resources/syntaxes/tailwind.tmLanguage.json
diff --git a/resources/syntaxes/tailwind.tmLanguage.json b/resources/syntaxes/tailwind.tmLanguage.json
new file mode 100644
index 0000000000000000000000000000000000000000..b4565900944b5e057cdd340ad947a5e6cbb6a1c8
--- /dev/null
+++ b/resources/syntaxes/tailwind.tmLanguage.json
@@ -0,0 +1,75 @@
+{
+  "scopeName": "source.css.tailwind",
+  "fileTypes": [],
+  "injectionSelector": "meta.property-list.css, meta.property-list.scss",
+  "name": "TailwindCSS",
+  "patterns": [
+    {
+      "begin": "^\\s*(@)apply\\b",
+      "beginCaptures": {
+        "0": {
+          "name": "keyword.control.at-rule.apply.tailwind"
+        },
+        "1": {
+          "name": "punctuation.definition.keyword.tailwind"
+        }
+      },
+      "end": ";",
+      "endCaptures": {
+        "0": {
+          "name": "punctuation.terminator.rule.tailwind"
+        }
+      },
+      "patterns": [
+        {
+          "begin": "(?x)\n(?=\n  (?:\\|)?                    # Possible anonymous namespace prefix\n  (?:\n    [-\\[:.*\\#a-zA-Z_]       # Valid selector character\n    |\n    [^\\x00-\\x7F]            # Which can include non-ASCII symbols\n    |\n    \\\\                      # Or an escape sequence\n    (?:[0-9a-fA-F]{1,6}|.)\n  )\n)",
+          "end": "(?=\\s*[;])",
+          "patterns": [
+            {
+              "match": "!\\s*important(?![\\w-])",
+              "name": "keyword.other.important.tailwind"
+            },
+            {
+              "captures": {
+                "1": {
+                  "name": "punctuation.definition.entity.tailwind"
+                },
+                "2": {
+                  "patterns": [
+                    {
+                      "include": "source.css#escapes"
+                    }
+                  ]
+                }
+              },
+              "match": "(?x)\n(\\.)?                                  # Valid class-name\n(\n  (?: [-a-zA-Z_0-9]|[^\\x00-\\x7F]     # Valid identifier characters\n    | \\\\(?:[0-9a-fA-F]{1,6}|.)       # Escape sequence\n  )+\n)                                      # Followed by either:\n(?= $                                  # - End of the line\n  | [\\s,.\\#)\\[:{>;+~|]               # - Another selector\n  | /\\*                               # - A block comment\n)",
+              "name": "entity.other.attribute-name.class.tailwind"
+            }
+          ]
+        }
+      ]
+    },
+    {
+      "begin": "(?i)(?<![\\w-])(config|theme)(\\()",
+      "beginCaptures": {
+        "1": {
+          "name": "support.function.config.tailwind"
+        },
+        "2": {
+          "name": "punctuation.section.function.begin.bracket.round.tailwind"
+        }
+      },
+      "end": "\\)",
+      "endCaptures": {
+        "0": {
+          "name": "punctuation.section.function.end.bracket.round.tailwind"
+        }
+      },
+      "patterns": [
+        {
+          "include": "source.css#property-values"
+        }
+      ]
+    }
+  ]
+}
M src/index.ts -> src/index.ts
diff --git a/src/index.ts b/src/index.ts
index f8e98505c14bbcebe00dc125ecac9a2a7db76df5..abc662c1308a051e888321a049b814162afa6222 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -7,45 +8,89 @@   window as Window,
   ExtensionContext,
   TextDocument,
 /* --------------------------------------------------------------------------------------------
+/* --------------------------------------------------------------------------------------------
 /* --------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
 /* --------------------------------------------------------------------------------------------
+  return folder
 /* --------------------------------------------------------------------------------------------
+  TextDocument,
  * Copyright (c) Microsoft Corporation. All rights reserved.
+import {
+ * Copyright (c) Microsoft Corporation. All rights reserved.
 /* --------------------------------------------------------------------------------------------
+  LanguageClientOptions,
+  Position,
  * Licensed under the MIT License. See License.txt in the project root for license information.
+} from 'vscode-languageclient'
+
 /* --------------------------------------------------------------------------------------------
+  workspace as Workspace,
  * ------------------------------------------------------------------------------------------ */
+
+const CONFIG_GLOB =
+  '**/{tailwind,tailwind.config,tailwind-config,.tailwindrc}.js'
 /* --------------------------------------------------------------------------------------------
+  workspace as Workspace,
 import {
   Position,
+  workspace as Workspace,
 /* --------------------------------------------------------------------------------------------
+  workspace as Workspace,
   window as Window,
 /* --------------------------------------------------------------------------------------------
+  workspace as Workspace,
   ExtensionContext,
 /* --------------------------------------------------------------------------------------------
+  workspace as Workspace,
   TextDocument,
+  'scss',
+  'stylus',
+  Range,
  * Copyright (c) Microsoft Corporation. All rights reserved.
+]
+export const JS_LANGUAGES: string[] = [
+  Range,
 import {
- * Copyright (c) Microsoft Corporation. All rights reserved.
+  'javascriptreact',
+  'reason',
+  'typescriptreact'
+]
+export const HTML_LANGUAGES: string[] = [
+  'blade',
+  TextEditorRevealType
 /* --------------------------------------------------------------------------------------------
- * Copyright (c) Microsoft Corporation. All rights reserved.
+  TextEditorRevealType
  * Copyright (c) Microsoft Corporation. All rights reserved.
- * Copyright (c) Microsoft Corporation. All rights reserved.
+  TextEditorRevealType
  * Licensed under the MIT License. See License.txt in the project root for license information.
- * Copyright (c) Microsoft Corporation. All rights reserved.
+  TextEditorRevealType
  * ------------------------------------------------------------------------------------------ */
- * Copyright (c) Microsoft Corporation. All rights reserved.
+  TextEditorRevealType
 import {
- * Copyright (c) Microsoft Corporation. All rights reserved.
+  'html',
+  'HTML (Eex)',
+  'jade',
+  'leaf',
+} from 'vscode'
+  'njk',
+} from 'vscode'
  * Copyright (c) Microsoft Corporation. All rights reserved.
+  'php',
+  'razor',
+  'slim',
+} from 'vscode'
   workspace as Workspace,
-
+  'twig',
- * Copyright (c) Microsoft Corporation. All rights reserved.
+  'vue',
+  ...JS_LANGUAGES
+/* --------------------------------------------------------------------------------------------
   window as Window,
+ * Licensed under the MIT License. See License.txt in the project root for license information.
  * Copyright (c) Microsoft Corporation. All rights reserved.
-  ExtensionContext,
  * Copyright (c) Microsoft Corporation. All rights reserved.
-  TextDocument,
+/* --------------------------------------------------------------------------------------------
+)
 
 let defaultClient: LanguageClient
 let clients: Map<string, LanguageClient> = new Map()
@@ -87,22 +132,22 @@   return folder
 }
 
 export async function activate(context: ExtensionContext) {
-  // let module = context.asAbsolutePath(path.join('server', 'out', 'server.js'))
-  let module = '/Users/brad/Code/tailwindcss-language-server/dist/index.js'
+  let module = context.asAbsolutePath(path.join('dist', 'server', 'index.js'))
   let outputChannel: OutputChannel = Window.createOutputChannel(
-    'lsp-multi-server-example'
+    'tailwindcss-language-server'
   )
 
   async function didOpenTextDocument(document: TextDocument): Promise<void> {
-  window as Window,
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * ------------------------------------------------------------------------------------------ */
-    //   document.uri.scheme !== 'file' ||
+      document.uri.scheme !== 'file' ||
-  window as Window,
  * Copyright (c) Microsoft Corporation. All rights reserved.
+  workspace as Workspace,
+
   window as Window,
- * Licensed under the MIT License. See License.txt in the project root for license information.
-    //   return
+      return
-  window as Window,
 import {
+  TextDocument,
 
     let uri = document.uri
     let folder = Workspace.getWorkspaceFolder(uri)
@@ -139,72 +184,35 @@           scheme: 'file',
           language,
           pattern: `${folder.uri.fsPath}/**/*`
         })),
-/* --------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
-import {
+  ExtensionContext,
         workspaceFolder: folder,
-        outputChannel: outputChannel
-      }
-      let client = new LanguageClient(
-/* --------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
   TextDocument,
-        'LSP Multi Server Example',
-        serverOptions,
-  OutputChannel,
  * Copyright (c) Microsoft Corporation. All rights reserved.
-  TextDocument,
 /* --------------------------------------------------------------------------------------------
- * Copyright (c) Microsoft Corporation. All rights reserved.
-      client.onReady().then(() => {
-        client.onNotification('tailwindcss/foundConfig', configPath => {
-          let refresh = createTreeView(configPath)
-        })
-        client.onNotification(
-          'tailwindcss/foundDefinition',
-          ({ uri, range }: Location) => {
-/* --------------------------------------------------------------------------------------------
  * Copyright (c) Microsoft Corporation. All rights reserved.
 /* --------------------------------------------------------------------------------------------
- * Copyright (c) Microsoft Corporation. All rights reserved.
 /* --------------------------------------------------------------------------------------------
-  WorkspaceFolder,
  * Copyright (c) Microsoft Corporation. All rights reserved.
   WorkspaceFolder,
- * Licensed under the MIT License. See License.txt in the project root for license information.
-                  range.start.character
-                )
-                let end = new Position(range.end.line, range.end.character)
-                editor.revealRange(
-                  new Range(start, end),
-  WorkspaceFolder,
   TextDocument,
-  WorkspaceFolder,
 import {
 /* --------------------------------------------------------------------------------------------
- * Licensed under the MIT License. See License.txt in the project root for license information.
+  ExtensionContext,
+ * Copyright (c) Microsoft Corporation. All rights reserved.
   Uri,
-/* --------------------------------------------------------------------------------------------
-  Uri,
  * Copyright (c) Microsoft Corporation. All rights reserved.
 /* --------------------------------------------------------------------------------------------
-function sortedWorkspaceFolders(): string[] {
+ * ------------------------------------------------------------------------------------------ */
 /* --------------------------------------------------------------------------------------------
-  if (_sortedWorkspaceFolders === void 0) {
 /* --------------------------------------------------------------------------------------------
-    _sortedWorkspaceFolders = Workspace.workspaceFolders
 /* --------------------------------------------------------------------------------------------
-      ? Workspace.workspaceFolders
   OutputChannel,
-  workspace as Workspace,
-      })
  * Copyright (c) Microsoft Corporation. All rights reserved.
-      // client.onReady().then(() => {
-  Uri,
   TextDocument,
 /* --------------------------------------------------------------------------------------------
-              result = result + '/'
-      //   })
-  commands,
  * Copyright (c) Microsoft Corporation. All rights reserved.
       client.start()
       clients.set(folder.uri.toString(), client)
     }
I src/server.ts
diff --git a/src/server.ts b/src/server.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1573c6d3150162983ce2d63daffbc26469f07367
--- /dev/null
+++ b/src/server.ts
@@ -0,0 +1 @@
+import 'tailwindcss-language-server'
M tsconfig.json -> tsconfig.json
diff --git a/tsconfig.json b/tsconfig.json
index 117442f49ea02e63dad671d8346c9a10d7e310de..d8880aaf199cf5e5cf905f09a309ad451536e48a 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,7 +1,8 @@
 {
   "compilerOptions": {
     "target": "es2015",
-    "moduleResolution": "node"
+    "moduleResolution": "node",
+    "types": ["node"]
   },
   "include": ["src/**/*"],
   "exclude": ["node_modules", "**/*.spec.ts"]