mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
Update generated descriptor pages: whitespaces revert (#1416)
Co-authored-by: karollewandowski <1154140+karollewandowski@users.noreply.github.com>
This commit is contained in:
parent
d84424a765
commit
e1e20c1b36
@ -588,7 +588,7 @@ Attributes
|
|||||||
`order`.
|
`order`.
|
||||||
<br/>
|
<br/>
|
||||||
To not clash with other plugins defining extensions with the same identifier,
|
To not clash with other plugins defining extensions with the same identifier,
|
||||||
consider prepending the identifier with a prefix related to the plugin [`<id>`](#idea-plugin__id) or
|
consider prepending the identifier with a prefix related to the plugin [`<id>`](#idea-plugin__id) or
|
||||||
[`<name>`](#idea-plugin__name), for example, `id="com.example.myplugin.myExtension"`.
|
[`<name>`](#idea-plugin__name), for example, `id="com.example.myplugin.myExtension"`.
|
||||||
- `order` _(optional)_<br/>
|
- `order` _(optional)_<br/>
|
||||||
Allows for ordering the extension relative to other instances of the same extension point.
|
Allows for ordering the extension relative to other instances of the same extension point.
|
||||||
@ -612,7 +612,7 @@ Attributes
|
|||||||
- `mac`
|
- `mac`
|
||||||
- `unix`
|
- `unix`
|
||||||
- `windows`
|
- `windows`
|
||||||
|
|
||||||
For example, `os="windows"` registers the extension on Windows only.
|
For example, `os="windows"` registers the extension on Windows only.
|
||||||
|
|
||||||
### `extensionPoints`
|
### `extensionPoints`
|
||||||
@ -734,7 +734,7 @@ Example
|
|||||||
An extension point which restricts the type provided in a `myClass` attribute to be an instance
|
An extension point which restricts the type provided in a `myClass` attribute to be an instance
|
||||||
of `com.example.ParentType`, and the type provided in a `someClass` element to be an instance
|
of `com.example.ParentType`, and the type provided in a `someClass` element to be an instance
|
||||||
of `java.lang.Comparable`:
|
of `java.lang.Comparable`:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<extensionPoint
|
<extensionPoint
|
||||||
name="myExtension"
|
name="myExtension"
|
||||||
@ -747,18 +747,18 @@ Example
|
|||||||
implements="java.lang.Comparable"/>
|
implements="java.lang.Comparable"/>
|
||||||
</extensionPoint>
|
</extensionPoint>
|
||||||
```
|
```
|
||||||
|
|
||||||
When using the above extension point, an implementation could be registered as follows:
|
When using the above extension point, an implementation could be registered as follows:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<myExtension ...
|
<myExtension ...
|
||||||
myClass="com.example.MyCustomType">
|
myClass="com.example.MyCustomType">
|
||||||
<someClass>com.example.MyComparable</someClass>
|
<someClass>com.example.MyComparable</someClass>
|
||||||
</myExtension>
|
</myExtension>
|
||||||
```
|
```
|
||||||
|
|
||||||
where:
|
where:
|
||||||
|
|
||||||
- `com.example.MyCustomType` must be a subtype of `com.example.ParentType`
|
- `com.example.MyCustomType` must be a subtype of `com.example.ParentType`
|
||||||
- `com.example.MyComparable` must be a subtype of `java.lang.Comparable`
|
- `com.example.MyComparable` must be a subtype of `java.lang.Comparable`
|
||||||
|
|
||||||
@ -1270,7 +1270,7 @@ Attributes
|
|||||||
- `ref` _(**required**)_<br/>
|
- `ref` _(**required**)_<br/>
|
||||||
The ID of the action to add to a group.
|
The ID of the action to add to a group.
|
||||||
- `id` _(optional)_<br/>
|
- `id` _(optional)_<br/>
|
||||||
**_Deprecated_**: Use `ref` instead.
|
**_Deprecated_**: Use `ref` instead.
|
||||||
|
|
||||||
The ID of the action to add to a group.
|
The ID of the action to add to a group.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user