persisting_state_of_components.md: mention StoragePathMacros

This commit is contained in:
Yann Cébron 2022-02-24 11:48:04 +01:00
parent 30a67f0c88
commit a740047315

View File

@ -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"}