Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Brian Faris
Total activity
75
Last activity
April 09, 2021 21:56
Member since
February 18, 2016 17:40
Following
0 users
Followed by
0 users
Votes
3
Subscriptions
30
Activity overview
Posts (7)
Comments (35)
Sort by recent activity
Recent activity
Votes
Created
September 17, 2018 02:54
Project[] projects = ProjectManager.getInstance().getOpenProjects();Project activeProject = null;for (Project project : projects) { Window window = WindowManager.getInstance().suggestParentWindo...
Community
IntelliJ IDEA Open API and Plugin Development
Getting active project?
2 votes
Created
March 20, 2020 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...
Community
IntelliJ IDEA Open API and Plugin Development
clearing tool window on project change
1 vote
Edited
October 09, 2018 00:25
You can use: Editor editor = FileEditorManager.getInstance(project).getSelectedTextEditor(); to get the currently open editor, Editor[] editors = EditorFactory.getInstance().getAllEditors(); to get...
Community
IntelliJ IDEA Open API and Plugin Development
How to listen to file open event?
1 vote
Created
November 23, 2020 18:57
Nevermind, I think I can just make my own template group set for my livetemplates instead of using Java.
Community
IntelliJ IDEA Open API and Plugin Development
Default Java LiveTemplates Location
0 votes
Created
November 23, 2020 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 ...
Community
IntelliJ IDEA Open API and Plugin Development
Default Java LiveTemplates Location
0 votes
Created
May 10, 2020 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 = { ...
Community
IntelliJ IDEA Open API and Plugin Development
Can't serialize instance of class, Caused by: IllegalArgumentException: wrong number of arguments
0 votes
Edited
May 10, 2020 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...
Community
IntelliJ IDEA Open API and Plugin Development
Can't serialize instance of class, Caused by: IllegalArgumentException: wrong number of arguments
0 votes
Edited
April 29, 2020 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...
Community
IntelliJ IDEA Open API and Plugin Development
How to make pycharm plugin compatible with any new version?
0 votes
Edited
April 29, 2020 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...
Community
IntelliJ IDEA Open API and Plugin Development
How to parse psiMethod.getBody to find something
0 votes
Created
April 29, 2020 13:36
That clears that up, thanks Yann.
Community
Marketplace Paid Plugins
IntelliJ Platform Version for Building
0 votes
Next
›
Last
»