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
Created
April 04, 2018 10:11
(I assume, you're talking about `showSettingsDialog(Project project, String nameToSelect)` method)This "nameToSelect" is just `Configurable#getDisplayName` (User-visible string in a settings tree: ...
Community
IntelliJ IDEA Open API and Plugin Development
Is it possible to open the settings menu of the IDE programaticly and jump to a specific Point?
0 votes
Created
March 27, 2018 22:17
To get current branch name: git4idea.repo.GitRepositoryManager.getInstance(myProject).getRepositories()gitRepository.getCurrentBranch().getName(); To get all commits in a local branch (query `git l...
Community
IntelliJ IDEA Open API and Plugin Development
how to get Git branch name, commit IDs from local branch?
0 votes
Created
March 14, 2018 14:07
>point where I can add some kind of project or file listener on project open.You can register ProjectComponent and do it in `projectOpened()` method.https://www.jetbrains.org/intellij/sdk/docs/basi...
Community
IntelliJ IDEA Open API and Plugin Development
Dynamic tool windows - project and file listeners
0 votes
Created
March 14, 2018 11:09
Hi, sorry for the late reply.What kind of API do you have in mind?Which events should it fire? How should it work with commands, performed via command line?Could you also describe this idea with se...
Community
IntelliJ IDEA Open API and Plugin Development
Git Repository Events Mechanism
0 votes
Edited
March 12, 2018 17:57
In this case you might want to use `com.intellij.openapi.application.ApplicationStarter` (or ApplicationStarterEx, to reuse existing IDE instance to reduce startup time).You can take a look at `com...
Community
IntelliJ IDEA Open API and Plugin Development
How to develop on top of the IDEA?
0 votes
Created
March 12, 2018 12:55
The mock PersistentStateComponent can have setters to update necessary settings.Probably, your non-mock PersistentStateComponent has setters too. Can't you just set necessary settings before each r...
Community
IntelliJ IDEA Open API and Plugin Development
How to test with `PersistentStateComponent`
0 votes
Created
March 12, 2018 11:15
You can take a look at "IDE Scripting Console" https://gist.github.com/gregsh/b7ef2e4ebbc4c4c11ee9 See also org.jetbrains.ide.script.IdeScriptEngineManager
Community
IntelliJ IDEA Open API and Plugin Development
Running a script in a plugin
0 votes
Created
March 12, 2018 11:08
You can manually register mock component in tests by casting `Application.getPicoContainer` or `Project.getPicoContainer` to `MutablePicoContainer`.https://github.com/JetBrains/intellij-community/b...
Community
IntelliJ IDEA Open API and Plugin Development
How to test with `PersistentStateComponent`
0 votes
Created
March 05, 2018 10:35
It should work. Are these new directorie actually used?As another option, you can try installing earlier major IDE version (ex: 17.2 or 17.1) and use it to debug custom IDE.
Community
IntelliJ IDEA Open API and Plugin Development
Can I run a custom IDEA bundled app under the IDEA debugger?
0 votes
Created
March 04, 2018 23:31
You can check `AnActionEvent#isFromActionToolbar` and `AnActionEvent#isFromContextMenu`. (and `AnActionEvent#getPlace` to differentiate between different toolbars)
Community
IntelliJ IDEA Open API and Plugin Development
How show action item to context menu, but not tollbar?
0 votes
«
First
‹
Previous
Next
›
Last
»