主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Aleksey Pivovarov
活动总数
801
最后的活动
2024年09月23日 14:52
成员加入日期
2013年08月06日 15:41
关注
0 名用户
关注者数
0 名用户
投票数
0
订阅数
444
活动概览
文章(0)
帖子(0)
评论(357)
按投票数排序
最近的活动
投票数
已编辑于
2022年03月28日 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...
社区
IntelliJ IDEA Open API and Plugin Development
Get VCS (git) status of PsiElement
1 票
已编辑于
2022年03月01日 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...
社区
IntelliJ IDEA Open API and Plugin Development
How to update request of SimpleDiffViewer?
1 票
创建于
2021年05月02日 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...
社区
IntelliJ IDEA Open API and Plugin Development
How to execute an action when a tool window tab is closed?
1 票
创建于
2021年02月09日 13:17
IDE uses 'Change' to load file contents before/after (see Change#getBeforeRevision/getAfterRevision and ContentRevision#getContent / ByteBackedContentRevision#getContentAsBytes) and compares them i...
社区
IntelliJ IDEA Open API and Plugin Development
Git Diff: get modified lines
1 票
创建于
2020年12月07日 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...
社区
IntelliJ IDEA Open API and Plugin Development
Why am I getting an incomplete file path for diff view action (Diff.EditorPopupMenu)?
1 票
已编辑于
2020年12月07日 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...
社区
IntelliJ IDEA Open API and Plugin Development
Why am I getting an incomplete file path for diff view action (Diff.EditorPopupMenu)?
1 票
创建于
2020年09月17日 08:57
See https://github.com/JetBrains/intellij-community/blob/master/platform/vcs-impl/src/com/intellij/openapi/vcs/checkin/TodoCheckinHandler.java#L162
社区
IntelliJ IDEA Open API and Plugin Development
Adding actions to before commit toolbar/window
1 票
创建于
2020年09月11日 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...
社区
IntelliJ IDEA Open API and Plugin Development
How to access the components of a custom Tool Window post-creation
1 票
创建于
2020年08月04日 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...
社区
IntelliJ IDEA Open API and Plugin Development
How to add a new log tab to existing git vcs tool window?
1 票
已编辑于
2020年06月22日 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...
社区
IntelliJ IDEA Open API and Plugin Development
Detecing VCS checkout, even for a local (=never pushed) branch?
1 票
«
第一页
‹
上一页
下一页
›
最后
»