88488232
- Total activity 7
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
-
Created Prevent from deleting a PsiFileSystemItem
AnsweredI 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... -
Edited Reload and select new created PsiElement
AnsweredI 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 ... -
Created How to disable build-in actions?
AnsweredI 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?