Songxilong Sxl

- Total activity 84
- Last activity
- Member since
- Following 0 users
- Followed by 1 user
- Votes 7
- Subscriptions 23
-
Created how to get fileBaseIndex ready
AnsweredI create a toolwindow when project opened , and throw a indexNotReady Exception, I want to make the index ready, so I try to call FileEditorManager#openFile to load fileIndex , then I call me... -
Created listening psi element change
AnsweredMy use case , when user edit the JavaPsiFile , I want to know the edition in which psiMethod , which listener can be used ? -
Created get com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments in Action, dispatchThread= false
AnsweredIt works well at other pc,but one get this exception , stack is : 2021-07-21 16:42:46,335 [ 822039] ERROR - oncurrency.BoundedTaskExecutor - EventQueue.isDispatchThread()=false Toolkit.getEvent... -
Created any way to replace or disable run/debug action on TestTreePopupMenu
Answeredany way I can disable these two actions or replace them with my action? -
Created get source file for psiFile or PsiClass
AnsweredIs there any easy way to get the source .class file (include inner .class file) for specific java file ? -
Created how to display .class file and popup custom menu when Cilck VirtualFiles item
AnsweredI use changesTreeImpl.VirtualFiles to show the specific file list , and I want show decompiled file when click the item and popup my menu when right click. what should I do? when click the Cal... -
Created IndexNotReadyException
Answeredwhen open a project , I want do some analysis on all project java file, so I found all psiClasses, but when do the analysis by using psielement (such as psiclass#getAllField), I got IndexNotReadyE... -
Created how to create a custom project view panel
Answeredthe real project dir tree is : Project dir DirA FileA FileB DirB FileC FileD I want the result panel will be Project dir DirA ... -
Created custom code coverage data view
Answeredafter run code with coverage, CoverageViewSuiteListener#afterSuiteChosen popup the coverage window,now I want custom the window data(like add column)。 Is there a easy way to override the afterSuite... -
Created how to hightlight specific key word or json path in a virtual file with jsonType
AnsweredI got an virturl json file with the default hightlighting , how can I add a custom hightlight for this file to hightligth specific key word or use json path . for example :{"name": "sxl","age": 18}...