You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The **MarkdownContent** class is used to represent the content of a command palette item in Markdown format. It provides properties to specify the body of the Markdown content and whether it should be rendered as HTML.
20
+
19
21
## Properties
20
22
21
23
| Property | Type | Description |
22
24
| :--- | :--- | :--- |
23
-
| Body | String ||
25
+
| Body | String |The body of the Markdown content. This property is required and cannot be null or empty. |
The **MatchOption** class is used to define the options for matching in the command palette. It provides properties to specify how the matching should be performed, including case sensitivity and prefix/suffix matching.
16
+
15
17
## Properties
16
18
17
19
| Property | Type | Description |
18
20
| :--- | :--- | :--- |
19
-
| IgnoreCase | Boolean ||
20
-
| Prefix | String ||
21
-
| Suffix | String ||
21
+
| IgnoreCase | Boolean |Indicates whether the match should ignore case sensitivity. |
22
+
| Prefix | String |Indicates whether the match should be a prefix match. |
23
+
| Suffix | String |Indicates whether the match should be a suffix match. |
The **MatchResult** class is used to represent the result of a match operation in the Command Palette Extensions Toolkit. It contains information about whether the match was successful, the score of the match, and any additional data related to the match.
|[MatchResult(Boolean, SearchPrecisionScore)](matchresult_constructor.md#matchresultboolean-searchprecisionscore-constructor)|Initializes a new instance of the MatchResult class with a success flag and a search precision score. |
22
+
|[MatchResult(Boolean, SearchPrecisionScore, List\<Integer\>, Integer)](matchresult_constructor.md#matchresultboolean-searchprecisionscore-list-integer-constructor)| Initializes a new instance of the MatchResult class with a success flag, a search precision score, match data, and a raw score.|
Copy file name to clipboardExpand all lines: hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/matchresult_issearchprecisionscoremet.md
Copy file name to clipboardExpand all lines: hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/microsoft-commandpalette-extensions-toolkit.md
+60-60Lines changed: 60 additions & 60 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,73 +15,73 @@ Contains helper classes that make creating extensions easier.
15
15
16
16
| Interface | Description |
17
17
| :--- | :--- |
18
-
|[ISettingsForm](isettingsform.md)||
18
+
|[ISettingsForm](isettingsform.md)|Defines the interface for a settings form. |
|[AnonymousCommand](anonymouscommand.md)|AnonymousCommand is a command that can be invoked without a specific target. It is typically used for commands that do not require any parameters or context. |
25
+
|[BaseObservable](baseobservable.md)|Base class for observable objects. |
26
+
|[ChoiceSetSetting](choicesetsetting.md)|Represents a setting that allows the user to choose from a set of predefined options. |
27
+
|[ClipboardHelper](clipboardhelper.md)|Helper class for clipboard operations. |
28
+
|[ColorHelpers](colorhelpers.md)|Helper class for color operations. |
29
+
|[Command](command.md)|Base class for commands. |
30
+
|[CommandContextItem](commandcontextitem.md)|Represents an item in the command context. |
31
+
|[CommandItem](commanditem.md)|Represents an item in the command palette. |
32
+
|[CommandProvider](commandprovider.md)|Base class for command providers. |
33
+
|[CommandResult](commandresult.md)|Represents the result of a command invocation. |
34
+
|[ConfirmationArgs](confirmationargs.md)|Represents the arguments for a confirmation dialog. |
35
+
|[ContentPage](contentpage.md)|Represents a page that contains content. |
36
+
|[CopyTextCommand](copytextcommand.md)|Represents a command that copies text to the clipboard. |
37
+
|[Details](details.md)|Represents a details view in the command palette. |
38
+
|[DetailsCommand](detailscommand.md)|Represents a command that displays details in the command palette. |
39
+
|[DetailsElement](detailselement.md)|Represents an element in the details view. |
40
+
|[DetailsLink](detailslink.md)|Represents a link in the details view. |
41
+
|[DetailsSeparator](detailsseparator.md)|Represents a separator in the details view. |
42
+
|[DetailsTags](detailstags.md)|Represents tags in the details view. |
43
+
|[DynamicListPage](dynamiclistpage.md)|Represents a dynamic list page in the command palette. |
44
+
|[ExtensionHost](extensionhost.md)|Represents the host for an extension. |
45
+
|[FallbackCommandItem](fallbackcommanditem.md)|Represents a fallback command item in the command palette. |
46
+
|[Filter](filter.md)|Represents a filter for command items. |
47
+
|[FormContent](formcontent.md)|Represents a form content in the command palette. |
48
+
|[GoToPageArgs](gotopageargs.md)|Represents the arguments for navigating to a page. |
49
+
|[IconData](icondata.md)|Represents icon data for command items. |
50
+
|[IconHelpers](iconhelpers.md)|Helper class for icon operations. |
51
+
|[IconInfo](iconinfo.md)|Represents information about an icon. |
52
+
|[InvokableCommand](invokablecommand.md)|Represents a command that can be invoked. |
53
+
|[ItemsChangedEventArgs](itemschangedeventargs.md)|Represents the event arguments for items changed events. |
54
+
|[JsonSettingsManager](jsonsettingsmanager.md)|Manages settings stored in JSON format. |
55
+
|[KeyChordHelpers](keychordhelpers.md)|Helper class for key chord operations. |
56
+
|[ListHelpers](listhelpers.md)|Helper class for list operations. |
57
+
|[ListItem](listitem.md)|Represents an item in a list. |
58
+
|[ListPage](listpage.md)|Represents a list page in the command palette. |
59
+
|[LogMessage](logmessage.md)|Represents a log message. |
60
+
|[MarkdownContent](markdowncontent.md)|Represents markdown content in the command palette. |
61
+
|[MatchOption](matchoption.md)|Represents options for matching command items. |
62
+
|[MatchResult](matchresult.md)|Represents the result of a match operation. |
63
+
|[NoOpCommand](noopcommand.md)|Represents a command that does nothing. It is typically used as a placeholder. |
64
+
|[OpenUrlCommand](openurlcommand.md)|Represents a command that opens a URL in the default web browser. |
65
+
|[Page](page.md)|Base class for pages in the command palette. |
66
+
|[ProgressState](progressstate.md)|Represents the state of a progress operation. |
67
+
|[PropChangedEventArgs](propchangedeventargs.md)|Represents the event arguments for property changed events. |
68
+
|[Setting](setting.md)|Base class for settings. |
69
+
|[Settings](settings.md)|Represents the settings for an extension. |
70
+
|[SettingsForm](settingsform.md)|Represents a form for displaying settings. |
71
+
|[ShellHelpers](shellhelpers.md)|Helper class for shell operations. |
72
+
|[StatusMessage](statusmessage.md)|Represents a status message in the command palette. |
73
+
|[StringMatcher](stringmatcher.md)|Helper class for string matching operations. |
74
+
|[Tag](tag.md)|Represents a tag in the command palette. |
75
+
|[TextSetting](textsetting.md)|Represents a setting that allows the user to enter text. |
76
+
|[ThumbnailHelper](thumbnailhelper.md)|Helper class for thumbnail operations. |
77
+
|[ToastArgs](toastargs.md)|Represents the arguments for a toast notification. |
78
+
|[ToastStatusMessage](toaststatusmessage.md)|Represents a toast status message in the command palette. |
79
+
|[ToggleSetting](togglesetting.md)|Represents a setting that allows the user to toggle a value on or off. |
80
+
|[TreeContent](treecontent.md)|Represents tree content in the command palette. |
81
+
|[Utilities](utilities.md)|Utility class for common operations. |
Copy file name to clipboardExpand all lines: hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/noopcommand.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: NoOpCommand Class
3
-
description:
3
+
description: The NoOpCommand class is used to represent a command that does nothing when invoked. It is typically used as a placeholder or for testing purposes.
The **NoOpCommand** class is used to represent a command that does nothing when invoked. It is typically used as a placeholder or for testing purposes.
18
+
17
19
## Methods
18
20
19
21
| Method | Description |
20
22
| :--- | :--- |
21
-
|[Invoke()](noopcommand_invoke.md)||
23
+
|[Invoke()](noopcommand_invoke.md)|Invokes the command. This method does nothing and is used as a placeholder. |
0 commit comments