From 8d0b8895dcd61db64c3f2484516aab28182f9b92 Mon Sep 17 00:00:00 2001 From: XShine555 Date: Thu, 27 Aug 2026 00:21:33 +0200 Subject: [PATCH] Add ide.host.json for VS parameter labels --- .template.config/ide.host.json | 20 ++++++++++++++++++++ CLAUDE.md | 6 ++++++ 2 files changed, 26 insertions(+) create mode 100644 .template.config/ide.host.json diff --git a/.template.config/ide.host.json b/.template.config/ide.host.json new file mode 100644 index 0000000..d0632fa --- /dev/null +++ b/.template.config/ide.host.json @@ -0,0 +1,20 @@ +{ + "$schema": "http://json.schemastore.org/ide.host", + "symbolInfo": [ + { + "id": "PluginAuthor", + "name": { "text": "Plugin Author" }, + "isVisible": "true" + }, + { + "id": "skipRestore", + "name": { "text": "Skip Restore" }, + "isVisible": "true" + }, + { + "id": "SkipGit", + "name": { "text": "Skip Git" }, + "isVisible": "true" + } + ] +} diff --git a/CLAUDE.md b/CLAUDE.md index 336b9d2..831a369 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -49,6 +49,12 @@ Consequences: its own) and a "display manual instructions" action (id `AC1156F7-...`) that prints a reminder to run `git init` — see "Git on generation" below for why it's just a printed reminder and not an executed command. +- `.template.config/ide.host.json` — Visual Studio-only UI hints for the New Project + wizard. It does **not** rename any symbol (the CLI flags stay `PluginAuthor`/ + `skipRestore`/`SkipGit` — a flag can't contain a space); it only maps each symbol's + `id` to a human-readable `name.text` label (e.g. `SkipGit` → "Skip Git") shown in + VS's UI, via `isVisible: "true"` per entry (VS hides a symbol from that UI unless + explicitly marked visible here). Ignored entirely by `dotnet new` on the CLI. - The `.csproj` at the repo root — the project file every generated plugin ships with. - `EntryPoint.cs` / `Config.cs` — the scaffolded plugin (`Plugin`) and its YAML-backed settings class.