Caching the information of a model
Hi,
I am trying to cache the information - path of a file from the plugin_action of a model to the mps cache directory.
I am not familiar with caching stuffs. Can anyone please help me know how to do this?
Please sign in to leave a comment.
If you want to implement caches similar to those used by "usages search", please consider the following doc: http://www.jetbrains.org/intellij/sdk/docs/basics/indexing_and_psi_stubs/file_based_indexes.html
MPS doesn't have its own mechanism for building indices. Instead, a mechanism from Idea platform is used. To implement your own indexer, you should write a plugin to the platform as described in the doc above.