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 recent activity
Recent activity
Votes
Edited
September 23, 2024 14:52
>I want to replace “git commit” commandThe only way is to replace the “Path to Git executable” with some wrapper script, that delegates non-commit commands to real git and handles commit itself.You...
Community
IntelliJ IDEA Open API and Plugin Development
Running custom CLI command before Commit
0 votes
Created
January 23, 2024 19:51
There is no good API to solve it.Below are some hacks that might help, but these are not universal (main difference being "Use non-modal commit interface" option).The general approach is to find `c...
Community
IntelliJ IDEA Open API and Plugin Development
Removing text selection for commit message
0 votes
Edited
July 10, 2023 13:24
Do you need help filtering `List<T>` by condition? includedChanges.filter { change -> com.intellij.openapi.vcs.changes.ChangesUtil.getFilePath(change).getName() != "package-lock.json" }
Community
IntelliJ IDEA Open API and Plugin Development
How to get the list of files that are selected in the commit dialog?
0 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
Created
January 11, 2023 10:29
Please, describe the use case in finer details. In general, there is no such listener.
Community
IntelliJ IDEA Open API and Plugin Development
How to run action after LineStatusTracker gets updated
0 votes
Edited
January 10, 2023 15:35
No, at this point the knowledge is already lost. (Looks like a data race with 'invokeLater' lets you read it sometimes - but it's not a feature).Probably, you can remember the state in 'CheckinHand...
Community
IntelliJ IDEA Open API and Plugin Development
Get all selected changes from non-modal commit interface.
0 votes
Edited
January 10, 2023 10:41
Sorry, no clue why 'hasPartialChangesToCommit' doesn't work for you. The other way would be 'getExcludedFromCommitState' (which is more precise status), but they're using the same data.Do you theck...
Community
IntelliJ IDEA Open API and Plugin Development
Get all selected changes from non-modal commit interface.
0 votes
Created
August 23, 2022 08:21
Another approach might be replacing "default" "Push" AnAction with another implementation in a plugin.That implementation might show the dialog you need, send ssh requests before/after/instead the ...
Community
IntelliJ IDEA Open API and Plugin Development
Add Parameters to wsl
0 votes
Created
August 23, 2022 08:12
No, wsl arguments are not customizable. How do you affect `git push` behavior via .bashrc? Some ENV variables for git config?You can probably try to point IDE git executable to "//wsl/ubuntu/..../g...
Community
IntelliJ IDEA Open API and Plugin Development
Add Parameters to wsl
0 votes
Next
›
Last
»