Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Karol Lewandowski
Total activity
2607
Last activity
November 12, 2024 10:25
Member since
January 03, 2022 14:12
Following
0 users
Followed by
2 users
Votes
40
Subscriptions
987
Activity overview
Articles (0)
Posts (0)
Comments (1580)
Sort by recent activity
Recent activity
Votes
Created
January 12, 2022 06:47
Hi Lizhiqun1994, You can use com.intellij.openapi.fileEditor.OpenFileDescriptor to achieve this.
Community
IntelliJ IDEA Open API and Plugin Development
How to open a file in the editor?
1 vote
Created
January 10, 2022 07:00
Hi Wang, I've seen your plugin project repository, but what I need now is the test project you use for the runIde task. Could you please provide it in a temporal GitHub repository or just a ZIP fil...
Community
IntelliJ IDEA Open API and Plugin Development
Why does the PsiField.getAnnotation() behave differently in different test environments.
0 votes
Created
January 05, 2022 13:16
Hi Wang, It may be the test context misconfiguration if it works for you in the running IDE. Could you please provide us with the test project that you use for "runIde"?
Community
IntelliJ IDEA Open API and Plugin Development
Why does the PsiField.getAnnotation() behave differently in different test environments.
0 votes
Created
January 05, 2022 09:16
Hi Klenium2, The answer to your question is that there is no limit of a platform version you can use here. I've tested the scenario you described and it works as expected on MacOS. Googling for:"Th...
Community
IntelliJ IDEA Open API and Plugin Development
Is there any limitation on which IntelliJ version I can use?
0 votes
Created
January 05, 2022 07:46
Hi Nikolaos, QueryExecutorBase allows to pass the flag to execute code in read action. In my code snippet there is: QueryExecutorBase<PsiReference, SearchParameters>(true) Notice "true". Are you su...
Community
IntelliJ IDEA Open API and Plugin Development
How to Find Usages, when the Reference and the Named element are different words
0 votes
Created
January 04, 2022 09:06
Hi Antonio, You can use the same approach as mentioned in this comment: https://intellij-support.jetbrains.com/hc/en-us/community/posts/206116979-How-to-set-Sources-Root-directory-and-Test-Sources-...
Community
IntelliJ IDEA Open API and Plugin Development
Mark folder as source or test root
1 vote
Created
January 04, 2022 08:30
Hi, Looking at the com.intellij.openapi.vfs.impl.FilePartNode#myFile(java.lang.Object) method it's impossible that it returned a VirtualFile instance for path parameter as it returns non-null value...
Community
IntelliJ IDEA Open API and Plugin Development
why module.getModuleFile return null
0 votes
Created
January 04, 2022 07:49
Hi Wang, I assume that you include the Kotlin plugin in your Gradle Build script. I mean plugins section: https://github.com/JetBrains/gradle-intellij-plugin#configuration How do you run your test ...
Community
IntelliJ IDEA Open API and Plugin Development
Why does the PsiField.getAnnotation() behave differently in different test environments.
0 votes
Edited
January 04, 2022 06:54
Hi Nikolaos,You can provide a custom com.intellij.referencesSearch Extension Point that will extend searching with the phrases you need. Example: class CustomReferencesSearch : QueryExecutorBase<Ps...
Community
IntelliJ IDEA Open API and Plugin Development
How to Find Usages, when the Reference and the Named element are different words
0 votes
Edited
January 03, 2022 14:59
Hello Ralph, This is not possible in the way you are trying to do. FormattingModelBuilder is intended to build FormattingModel which provides information about: Defines the formatting model for a ...
Community
IntelliJ IDEA Open API and Plugin Development
How to change case in a FormattingModelBuilder?
0 votes
«
First
‹
Previous