how to reflect name and path change of one file document in another file document of the same project?
已回答
I am developing a plugin which documents (situated in a project) should reflect links to another files and folders in the project and should be updated if the files/folders would renamed, moved or deleted.. is there a way to not overload IDE by processing of such cases? I have found BulkFileListener which can get signals from application level about required changes, also I parse my documents as PSI elements.. what is the best way in Intellij API to make business for my document change with minimal break of IDE work?
请先登录再写评论。
This is usually done using PsiReference https://plugins.jetbrains.com/docs/intellij/psi-references.html