Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Nikolay Chashnikov
Total activity
838
Last activity
November 23, 2023 11:52
Member since
November 13, 2007 10:36
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
334
Activity overview
Articles (0)
Posts (1)
Comments (503)
Sort by votes
Recent activity
Votes
Created
September 07, 2017 07:53
There is no way to change type of an existing source root. You need to remove it using ContentEntry#removeSourceFolder method, and then add a new one. Also if you already have a content root, you s...
Community
IntelliJ IDEA Open API and Plugin Development
How to (programatically) set the Scope of a Module's dependencies?
2 votes
Created
September 06, 2017 07:54
In order to modify module roots settings you need to use ModuleRootManager#getModifiableModel directly or via ModuleRootModificationUtil#updateModel. 1) ModuleRootModificationUtil.updateModel(modul...
Community
IntelliJ IDEA Open API and Plugin Development
How to (programatically) set the Scope of a Module's dependencies?
2 votes
Created
October 14, 2016 19:05
Regarding your questions: 1. Here you need to specify a directory where binary distribution of IDEA Community or IDEA Ultimate is installed. 2. In fact you need to select JDK 1.8. If 'IDEA jdk' is ...
Community
IntelliJ IDEA Open API and Plugin Development
several doubts about the quick start guide of Creating your fist plugin
2 votes
Created
November 23, 2023 11:52
The implementation looks correct for me. However, when you invoke Build Project, IDE starts a separate process which don't have access to most of IntelliJ API. If you want to modify behavior of the...
Community
IntelliJ IDEA Open API and Plugin Development
My ComplexPackagingElement implementation doest not package elements in getSubstitution method
1 vote
Created
November 20, 2018 06:32
'sources' classifier is the standard one, so IntelliJ IDEA automatically adds it to the library configuration when the project is imported from Gradle, so you can access it via API and see in 'Exte...
Community
IntelliJ IDEA Open API and Plugin Development
Processing library with custom artifact type
1 vote
Created
November 15, 2018 11:56
You can use com.intellij.openapi.application.PathManager.getJarPathForClass to get path to the containing JAR file.
Community
IntelliJ IDEA Open API and Plugin Development
How to launch an external process with a plugin jar?
1 vote
Created
October 18, 2018 06:24
You can looks how its done for our ResourcesBuilder in ResourceCopyingTest. Unfortunately the required test classes aren't published as proper Maven artifacts yet, I've created an issue about that....
Community
IntelliJ IDEA Open API and Plugin Development
How to unit test ModuleLevelBuilder/BuilderService
1 vote
Created
July 20, 2018 06:44
You can check whether `AndroidFacet` is present in `update` method of your action and invoke `e.getPresentation().setVisible(false)` if it isn't. If the action works with specific files (or element...
Community
IntelliJ IDEA Open API and Plugin Development
How to display plugin action (ie. icon related to action) only for certain development platform (eg. Android Studio)?
1 vote
Created
July 04, 2018 07:17
`text` attribute of `action` tag is just a text, it cannot contain code. If you really want to append the version to the text, override `update` method and call `anActionEvent.getPresentation().set...
Community
IntelliJ IDEA Open API and Plugin Development
How to enter value in plugin .xml?
1 vote
Created
June 27, 2018 06:25
Currently our documentation is poor indeed. We're working on it, but we cannot write documentation about everything at once. So if you say which topics you're interested in aren't covered, we'll be...
Community
IntelliJ IDEA Open API and Plugin Development
can we hava a fully api desc?
1 vote
Next
›
Last
»