Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Aleksey Pivovarov
Total activity
801
Last activity
September 23, 2024 14:52
Member since
August 06, 2013 15:41
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
444
Activity overview
Articles (0)
Posts (0)
Comments (357)
Sort by votes
Recent activity
Votes
Edited
March 28, 2022 16:03
Could you expand a bit on the idea?It sounds like you're trying to expand gutter highlighting for the changed lines to the whole line (as background/text highlighting) ?Overall, there's no 'good' A...
Community
IntelliJ IDEA Open API and Plugin Development
Get VCS (git) status of PsiElement
1 vote
Edited
March 01, 2022 13:26
Note, that `SimpleDiffViewer` is not supposed to be used directly. You can replace it with a `com.intellij.diff.DiffManager#createRequestPanel`.Potentially, using `diffPanel.putContextHints(DiffUse...
Community
IntelliJ IDEA Open API and Plugin Development
How to update request of SimpleDiffViewer?
1 vote
Created
May 02, 2021 09:24
First option is to rely on Disposable/Disposer mechanism (if you need to release some tab-related resources): content.setDisposer(Disposer.newDisposable { ... }) Second options is to use ContentMan...
Community
IntelliJ IDEA Open API and Plugin Development
How to execute an action when a tool window tab is closed?
1 vote
Created
February 09, 2021 13:17
IDE uses 'Change' to load file contents before/after (see Change#getBeforeRevision/getAfterRevision and ContentRevision#getContent / ByteBackedContentRevision#getContentAsBytes) and compares them i...
Community
IntelliJ IDEA Open API and Plugin Development
Git Diff: get modified lines
1 vote
Created
December 07, 2020 09:56
This depends on how this window was created. For conflicts from VCS integration it should return absolute path. A possible workaround might be to use `com.intellij.codeInsight.daemon.OutsidersPsiFi...
Community
IntelliJ IDEA Open API and Plugin Development
Why am I getting an incomplete file path for diff view action (Diff.EditorPopupMenu)?
1 vote
Edited
December 07, 2020 09:04
>Why is this happeningBecause these VirtualFiles are not real files (aka "file.isLocalFileSystem == false"). So, most of the time, their path isn't needed for anything.>And how can I get the full p...
Community
IntelliJ IDEA Open API and Plugin Development
Why am I getting an incomplete file path for diff view action (Diff.EditorPopupMenu)?
1 vote
Created
September 17, 2020 08:57
See https://github.com/JetBrains/intellij-community/blob/master/platform/vcs-impl/src/com/intellij/openapi/vcs/checkin/TodoCheckinHandler.java#L162
Community
IntelliJ IDEA Open API and Plugin Development
Adding actions to before commit toolbar/window
1 vote
Created
September 11, 2020 09:53
You can use instance check on toolwindow tab content.Get all tabs using "toolWindow.getContentManager().getContents()" and then filter them by "content.getComponent() instanceOf MyTabPanel", assumi...
Community
IntelliJ IDEA Open API and Plugin Development
How to access the components of a custom Tool Window post-creation
1 vote
Created
August 04, 2020 10:20
>window.getComponent().add(logTab.getMainComponent());You should not use ToolWindow that way. See ToolWindow.getContentManager(), ContentManager.addContent and etc.Anyway, it is better to use VcsPr...
Community
IntelliJ IDEA Open API and Plugin Development
How to add a new log tab to existing git vcs tool window?
1 vote
Edited
June 22, 2020 10:58
Note, that this listener will only be triggered on "checkout" action from IDE.As an alternative, you can subscribe to 'git4idea.repo.GitRepositoryChangeListener' and check if 'GitRepository.getCurr...
Community
IntelliJ IDEA Open API and Plugin Development
Detecing VCS checkout, even for a local (=never pushed) branch?
1 vote
«
First
‹
Previous
Next
›
Last
»