mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
persisting_state_of_components.md: mention StoragePathMacros
This commit is contained in:
parent
30a67f0c88
commit
a740047315
@ -140,6 +140,8 @@ The simplest ways of specifying the `@Storage` annotation are as follows:
|
|||||||
|
|
||||||
The state is persisted in a separate file by specifying a different setting for the `value` parameter, which was the `file` parameter before 2016.x.
|
The state is persisted in a separate file by specifying a different setting for the `value` parameter, which was the `file` parameter before 2016.x.
|
||||||
|
|
||||||
|
See [`StoragePathMacros`](upsource:///platform/projectModel-api/src/com/intellij/openapi/components/StoragePathMacros.java) for commonly used values.
|
||||||
|
|
||||||
> For application-level storage, it is strongly recommended to use a custom file, using of <path>other.xml</path> is deprecated.
|
> For application-level storage, it is strongly recommended to use a custom file, using of <path>other.xml</path> is deprecated.
|
||||||
>
|
>
|
||||||
{type="note"}
|
{type="note"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user