-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add basic property inspector to create command (#41)
* feat: add JSON schemas to vscode config, remove subjective settings * feat: add JSON schemas to vscode config, remove subjective settings * feat: add basic PI to create command --------- Co-authored-by: Richard Herman <[email protected]>
- Loading branch information
Showing
5 changed files
with
45 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
{ | ||
/* Prefer tabs over spaces for accessibility */ | ||
"editor.insertSpaces": false, | ||
"editor.detectIndentation": false, | ||
/* Explorer */ | ||
"explorer.fileNesting.enabled": true, | ||
"explorer.fileNesting.patterns": { | ||
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts", | ||
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, rollup.config.mjs, tsconfig.json" | ||
}, | ||
"files.exclude": { | ||
"node_modules": true | ||
} | ||
/* JSON schemas */ | ||
"json.schemas": [ | ||
{ | ||
"fileMatch": [ | ||
"**/manifest.json" | ||
], | ||
"url": "https://schemas.elgato.com/streamdeck/plugins/manifest.json" | ||
}, | ||
{ | ||
"fileMatch": [ | ||
"**/layouts/*.json" | ||
], | ||
"url": "https://schemas.elgato.com/streamdeck/plugins/layout.json" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
template/com.elgato.template.sdPlugin/ui/increment-counter.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head lang="en"> | ||
<title>Increment Counter Settings</title> | ||
<meta charset="utf-8" /> | ||
<script src="https://cdn.jsdelivr.net/gh/geekyeggo/sdpi-components@v3/dist/sdpi-components.js"></script> | ||
</head> | ||
|
||
<body> | ||
<!-- | ||
Learn more about property inspector components at https://sdpi-components.dev/docs/components | ||
--> | ||
<sdpi-item label="Increment By"> | ||
<sdpi-range setting="incrementBy" min="1" max="5" step="1" default="1" showlabels></sdpi-range> | ||
</sdpi-item> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters