主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Peter Gromov
活动总数
2258
最后的活动
2023年05月09日 12:44
成员加入日期
2008年07月25日 18:59
关注
0 名用户
关注者数
1 名用户
投票数
0
订阅数
739
活动概览
文章(0)
帖子(3)
评论(1516)
按最近的活动排序
最近的活动
投票数
创建于
2016年04月06日 16:08
For template data languages, it seems that the following should be in your word scanner (should extend DefaultWordScanner and create lexer and iterate all tokens by itself): if (YOUR_TEMPLATE_DATA_...
社区
IntelliJ IDEA Open API and Plugin Development
FindUsages in MultiPsiTree files
0 票
创建于
2016年04月09日 14:05
I see. Bad news is that I can't think of a workaround for this issue, only if you make all changes in the document and then call reparse (or temporarily pretend that your file has just one PSI root...
社区
IntelliJ IDEA Open API and Plugin Development
Bulk PSI modification
0 票
创建于
2016年04月09日 14:23
Returning one language from the view provider and one file from its getAllFiles. Not sure it can work without some unexpected consequences.
社区
IntelliJ IDEA Open API and Plugin Development
Bulk PSI modification
0 票
创建于
2016年05月09日 17:35
正式评论
You can create the file from text (PsiFileFactory) and then use PsiDirectory.add for it to be saved to disk. Or you can do virtualFile.createChildData(this, "a.xml") directly.
社区
IntelliJ IDEA Open API and Plugin Development
Creating new XMLFile programatically
0 票
创建于
2016年05月11日 15:04
正式评论
You should use VFS (or better PSI) to create files, either VirtualFile.createChildData(this, name) or PsiDirectory.add(file) where file = PsiFileFactory.getInstance(project).createFileFromText(). Y...
社区
IntelliJ IDEA Open API and Plugin Development
File creation in my plug-in (undo/redo)
0 票
创建于
2016年05月11日 15:40
I see. Then, instead of runWriteCommandAction, you'd need to create an anonymous WriteCommandAction instance and execute() it, plus override getUndoConfirmationPolicy method. By default it's DO_NOT...
社区
IntelliJ IDEA Open API and Plugin Development
File creation in my plug-in (undo/redo)
0 票
创建于
2016年05月13日 07:39
How did you remove the child, with which code? What do you use this event listener for?
社区
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener - ChildRemoved is not working properly
0 票
创建于
2016年05月17日 08:10
Do you really mean for "findTags.getNameSpace()" to be a string constant? Please provide the full stack trace of the exception.
社区
IntelliJ IDEA Open API and Plugin Development
Insertion of XML tag into xml file
0 票
创建于
2016年05月17日 08:18
Daniel, you can override com.intellij.openapi.editor.markup.GutterIconRenderer#getClickAction and show a popup there, creating it via JBPopupFactory (e.g. factory.createListPopup(factory.createActi...
社区
IntelliJ IDEA Open API and Plugin Development
How to navigate to custom side panel UI by clicking on a gutter icon
0 票
创建于
2016年05月17日 08:25
Then I'd still recommend to use smart pointers, and after anything changes (e.g. in MergingUpdateQueue update queued inside a PSI change listener; I wouldn't do that inside PSI listener directly si...
社区
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener - ChildRemoved is not working properly
0 票
«
第一页
‹
上一页
下一页
›
最后
»