主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Brian Faris
活动总数
75
最后的活动
2021年04月09日 21:56
成员加入日期
2016年02月18日 17:40
关注
0 名用户
关注者数
0 名用户
投票数
3
订阅数
30
活动概览
帖子(7)
评论(35)
按最近的活动排序
最近的活动
投票数
创建于
2018年09月17日 02:54
Project[] projects = ProjectManager.getInstance().getOpenProjects();Project activeProject = null;for (Project project : projects) { Window window = WindowManager.getInstance().suggestParentWindo...
社区
IntelliJ IDEA Open API and Plugin Development
Getting active project?
2 票
创建于
2020年03月20日 17:43
You have to listen for a project opening then run the code. MessageBus messageBus = project.getMessageBus();messageBus.connect().subscribe(ProjectManager.TOPIC, new ProjectManagerListener() { @O...
社区
IntelliJ IDEA Open API and Plugin Development
clearing tool window on project change
1 票
已编辑于
2018年10月09日 00:25
You can use: Editor editor = FileEditorManager.getInstance(project).getSelectedTextEditor(); to get the currently open editor, Editor[] editors = EditorFactory.getInstance().getAllEditors(); to get...
社区
IntelliJ IDEA Open API and Plugin Development
How to listen to file open event?
1 票
创建于
2020年11月23日 18:57
Nevermind, I think I can just make my own template group set for my livetemplates instead of using Java.
社区
IntelliJ IDEA Open API and Plugin Development
Default Java LiveTemplates Location
0 票
创建于
2020年11月23日 18:50
Thanks Yann, that worked great. I have one more question.My plugin uses the defaultLiveTemplatesProvider extension in the plugin.xml and it points to a JavaTemplateProvider class in my plugin. The ...
社区
IntelliJ IDEA Open API and Plugin Development
Default Java LiveTemplates Location
0 票
创建于
2020年05月10日 16:40
Here is my implementation that I use, all state that is persisted is stored in the fields of the PersistentStateComponent. @State( name = "SettingsService", storages = { ...
社区
IntelliJ IDEA Open API and Plugin Development
Can't serialize instance of class, Caused by: IllegalArgumentException: wrong number of arguments
0 票
已编辑于
2020年05月10日 15:55
Try changing this method to: @Overridepublic void loadState(@NotNull SettingsProvider state) { XmlSerializerUtil.copyBean(state, this);} Class declaration can just be: public class SettingsProvider...
社区
IntelliJ IDEA Open API and Plugin Development
Can't serialize instance of class, Caused by: IllegalArgumentException: wrong number of arguments
0 票
已编辑于
2020年04月29日 20:57
You can add: updateSinceUntilBuild false to intellij task in build.gradle file.Then in plugin.xml, only include the since-build element. Note that this necessarily won't make the plugin "compatible...
社区
IntelliJ IDEA Open API and Plugin Development
How to make pycharm plugin compatible with any new version?
0 票
已编辑于
2020年04月29日 16:28
You can get a handle to the PsiMethod then have it accept a JavaRecursiveElementVisitor. It has other methods you can override like visitParameter, etc. method.accept(new JavaRecursiveElementVisito...
社区
IntelliJ IDEA Open API and Plugin Development
How to parse psiMethod.getBody to find something
0 票
创建于
2020年04月29日 13:36
That clears that up, thanks Yann.
社区
Marketplace Paid Plugins
IntelliJ Platform Version for Building
0 票
下一页
›
最后
»