From f008ec543d02065110c66d8d5481baae5de90195 Mon Sep 17 00:00:00 2001 From: WarningImHack3r <43064022+WarningImHack3r@users.noreply.github.com> Date: Sat, 6 Jan 2024 00:04:25 +0100 Subject: [PATCH] Update README --- README.md | 7 ++++--- .../intellijshadcnplugin/backend/ISPScanner.kt | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 75080b1..dc5912c 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,16 @@ ## Description -Manage your shadcn/ui components in your project. Supports Svelte, React, Vue, Solid, and Kotlin/JS. +Manage your shadcn/ui components in your project. Supports Svelte, React, Vue, and Solid. -This plugin will help you manage your shadcn/ui components through a simple tool window. Add, remove, update them with a single click. +This plugin will help you manage your shadcn/ui components through a simple tool window. Add, remove, update them with a single click. +**This plugin will only work with an existing `components.json` file. Manually copied components will not be detected otherwise.** ## Features - Automatically detect shadcn/ui components in your project - Instantly add, remove, update them with a single click - Refreshes on opening the tool window -- Supports _all_ shadcn/ui implementations: Svelte, React, Vue, Solid, and even Kotlin/JS +- Supports _all_ shadcn/ui implementations: Svelte, React, Vue, and Solid - Browse available components - Easily search for remote or existing components - (Soon) support monorepos diff --git a/src/main/kotlin/com/github/warningimhack3r/intellijshadcnplugin/backend/ISPScanner.kt b/src/main/kotlin/com/github/warningimhack3r/intellijshadcnplugin/backend/ISPScanner.kt index 105e8c9..d8ff56f 100644 --- a/src/main/kotlin/com/github/warningimhack3r/intellijshadcnplugin/backend/ISPScanner.kt +++ b/src/main/kotlin/com/github/warningimhack3r/intellijshadcnplugin/backend/ISPScanner.kt @@ -11,7 +11,6 @@ import com.intellij.openapi.project.Project object ISPScanner { fun findShadcnImplementation(project: Project): ISPSource? { - // TODO: Add other sources return FileManager(project).getVirtualFilesByName("components.json").firstOrNull()?.let { componentsJson -> val contents = componentsJson.contentsToByteArray().decodeToString() when {