Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
WarningImHack3r committed Jan 5, 2024
1 parent 85d59fe commit f008ec5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@

## Description
<!-- Plugin 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f008ec5

Please sign in to comment.