From 55ef3c070f30577fbf8da97524fb281986b42088 Mon Sep 17 00:00:00 2001 From: Rustam Safin Date: Mon, 1 Nov 2021 11:40:32 +0200 Subject: [PATCH] Update OptionsPages.md --- Features/OptionsPages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Features/OptionsPages.md b/Features/OptionsPages.md index 819aaae4..b5ed05fa 100644 --- a/Features/OptionsPages.md +++ b/Features/OptionsPages.md @@ -20,7 +20,7 @@ The `OptionsPage` attribute requires the plugin author to provide the following In addition, you may specify the following optional parameters: -* `ParentId` lets you define the ID of the section or element which serves as this page's parent. If you want the parent to be one of the known ReSharper items, look inside the `JetBrains.UI.Options.OptionsPages` namespace for the corresponding pages, and then use their `Pid` as this parameter. For example, for an options page to appear in the Environment section, you specify the `ParentId` of `EnvironmentPage.Pid`. +* `ParentId` lets you define the ID of the section or element which serves as this page's parent. If you want the parent to be one of the known ReSharper items, look inside the `JetBrains.Application.UI.Options.OptionPages` namespace for the corresponding pages, and then use their `Pid` as this parameter. For example, for an options page to appear in the Environment section, you specify the `ParentId` of `EnvironmentPage.Pid`. * `Sequence` lets you define the location of the item you are inserting in relation to the other items. Items are placed in order, so the higher this value, the further this page will be in the list of items. Of course, to accurately position the item, you need to know the `Sequence` value of its siblings. Luckily, this information is available in the metadata. Having specified the attributes, your class will appear as follows: