Add ide.host.json for VS parameter labels
This commit is contained in:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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<Config>`) and its
|
||||
YAML-backed settings class.
|
||||
|
||||
Reference in New Issue
Block a user