Skip to content

Commit f192884

Browse files
committed
Add plugin descriptions to tooltips
1 parent ccd8d71 commit f192884

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/class-names/getPlugins.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export default function getPlugins(config) {
7979
if (pkg.name) {
8080
return {
8181
name: pkg.name,
82+
description: pkg.description,
8283
homepage: pkg.homepage,
8384
contributes,
8485
}

src/lib/configExplorer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ class TailwindDataProvider implements TreeDataProvider<ConfigItem> {
223223
label: plugin.name || 'Anonymous',
224224
key: ['plugins', i.toString()],
225225
workspace: element.workspace,
226+
tooltip: plugin.description,
226227
contextValue: plugin.homepage ? 'hasPluginHomepage' : undefined,
227228
}))
228229
}

0 commit comments

Comments
 (0)