88488232

- Total activity 7
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
-
88488232 created a post, AnsweredPrevent from deleting a PsiFileSystemItem
I have a PsiFileSystemItem class that overrides the ‘delete’ and ‘checkDelete’ method as below. Though it prompt error message, it still be deleted from disk. How to prevent deleting?public class M... -
88488232 commented, -
88488232 created a post, AnsweredReload and select new created PsiElement
I write an action to create my PSI item (a directory physically). After VirtualFile.createChildDirectory, I call VirtualFile.refresh and IdeView.selectElement, but it neither reload nor select the ... -
88488232 created a post, AnsweredHow to disable build-in actions?
I am writing a plugin to customize the project structure. So I want the build-in actions such as ‘New File’ and ‘New Directory’ are only visible for some specific directories. How to do it?