Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Aleksey Pivovarov
Total activity
799
Last activity
January 23, 2024 19:51
Member since
August 06, 2013 15:41
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
443
Activity overview
Articles (0)
Posts (0)
Comments (356)
Sort by votes
Recent activity
Votes
Created
March 29, 2018 13:55
You need to modify your `plugin.xml` and add dependency on git4idea plugin. <depends>Git4Idea</depends> See https://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_dependencies.html
Community
IntelliJ IDEA Open API and Plugin Development
how to get Git branch name, commit IDs from local branch?
3 votes
Created
October 15, 2021 23:07
You're using wrong EP - it should be "postStartupActivity", not "startupActivity".
Community
IntelliJ IDEA Open API and Plugin Development
How to auto start(initialize) plugin on project loaded?
2 votes
Edited
August 19, 2019 13:14
Default renderer for JBTable headers was changed (and no longer can be cast to the `DefaultTableCellRenderer` or `JComponent`).You can update your code like this (it should work with all IDE versio...
Community
IntelliJ IDEA Open API and Plugin Development
Getting java.lang.ClassCastException when using "DefaultTableCellRenderer"
2 votes
Created
August 05, 2019 16:19
See `com.intellij.openapi.startup.StartupActivity` interface. Note, that activities for "com.intellij.postStartupActivity" ExtensionPoint will be called _during_ project opening. So some things mig...
Community
IntelliJ IDEA Open API and Plugin Development
How to run code once at project open
2 votes
Created
November 10, 2018 01:55
You can implement `com.intellij.openapi.wm.StatusBarWidget` and register it using StatusBar statusBar = WindowManager.getInstance().getStatusBar(project);if (statusBar != null) statusBar.addWidget...
Community
IntelliJ IDEA Open API and Plugin Development
Basic question for placing a plugin in the status bar
2 votes
Created
January 12, 2018 13:55
Probably, you need to add `canCloseContents="true"` parameter to the toolwindow EP.Ex: https://github.com/JetBrains/intellij-community/blob/master/platform/platform-resources/src/META-INF/VcsExtens...
Community
IntelliJ IDEA Open API and Plugin Development
Create closeable ToolWindow Tab
2 votes
Created
November 28, 2016 08:59
DialogWrapper uses JDialog under the hood. You can access it via `DialogWrapper.getWindow()`.If you need JFrame, you can take a look at FrameWrapper.
Community
IntelliJ IDEA Open API and Plugin Development
Setting icon to the dialog created using Dialog Wrapper
2 votes
Created
October 31, 2016 10:45
No, it's not possible (it would require us to load whole project content into memory to track changes).If you do need changed lines, you might look at `com.intellij.openapi.editor.event.DocumentLis...
Community
IntelliJ IDEA Open API and Plugin Development
How to find affected lines of code in every change in every files of the project?
2 votes
Created
March 28, 2023 16:18
To follow up, there's a gray area (in a sense, that it's more of poorly-hidden internal data structures, than API) to access "partially included into commit" files (aka checkboxes in diff viewer gu...
Community
IntelliJ IDEA Open API and Plugin Development
How to get the list of files that are selected in the commit dialog?
1 vote
Created
March 27, 2023 14:42
There is no direct data key. It is further complicated by three (and a half) different UIs for commit - Modal, Git Staging and Non-Modal.1) You can use 'com.intellij.openapi.vcs.VcsDataKeys#COMMIT_...
Community
IntelliJ IDEA Open API and Plugin Development
How to get the list of files that are selected in the commit dialog?
2 votes
Next
›
Last
»