mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-01-12 23:36:19 +01:00
more doc updates
This commit is contained in:
@@ -15,7 +15,7 @@ public sealed partial class MainListSection : ISection, INotifyCollectionChanged
|
||||
{
|
||||
public event NotifyCollectionChangedEventHandler? CollectionChanged;
|
||||
|
||||
public string Title => "Actions";
|
||||
public string Title => "Commands";
|
||||
|
||||
private readonly MainViewModel _mainViewModel;
|
||||
private readonly DispatcherQueue _dispatcherQueue = DispatcherQueue.GetForCurrentThread();
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.3 MiB |
@@ -155,7 +155,7 @@ When we're done building the extension, the Command Palette should look somethin
|
||||
We've made it easy to build a new extension. Just follow these steps:
|
||||
|
||||
1. Navigate to the src\modules\cmdpal folder
|
||||
2. Run the following PowerShell script, replacing "MastodonExtension" with the name of your extension and "Mastodon extension for cmdpal" with the display name **of the [command that will show up in the root view**](#root-view) of the Command Palette:
|
||||
2. Run the following PowerShell script, replacing "MastodonExtension" with the `Name` of your extension and "Mastodon extension for cmdpal" with the `DisplayName` of the [command that will show up in the root view](#root-view) of the Command Palette:
|
||||
|
||||
```powershell
|
||||
.\Exts\NewExtension.ps1 -name MastodonExtension -DisplayName "Mastodon extension for cmdpal"
|
||||
@@ -172,6 +172,10 @@ We've made it easy to build a new extension. Just follow these steps:
|
||||
|
||||

|
||||
|
||||
At this point you should have your command that you created show up in the root view of the Command Palette! If you've set up everything correctly, it should look something like this (note - your example won't have icons yet):
|
||||
|
||||
|
||||

|
||||
|
||||
#### Step 1: Provide a Top Level Command
|
||||
|
||||
|
||||
Reference in New Issue
Block a user