king s
- Total activity 33
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 11
-
Created Is there any JetBrains api to start IntelliJ Profile
AnsweredIt seems JetBrains has another async profile api,Open Source project https://github.com/async-profiler/async-profile but not support Windows, but IntelliJ profile support Windows -
Created LanguageTextField setText hang
AnsweredPlease see the code, I have rewritre the setText method.Document document = getDocument(); ((DocumentImpl)document).setAcceptSlashR(true); WriteCommandAction.runWriteCommandAction( ... -
Created How to trigger method code completion even i type classname
AnsweredBecause in my plugin, request Is a build-in variable and it should not call new request() . So i make the constructor private.And it has a method for example test(). When I type request and press ... -
Edited CodeCompletion not work after set language of LanguageTextField
AnsweredFull demo codeimport com.google.common.collect.Lists; import com.intellij.icons.AllIcons; import com.intellij.json.json5.Json5Language; import com.intellij.openapi.project.Project; import com.inte... -
Edited CodeCompletion not execute after set language of LanguageTextField
AnsweredPlease see the following code, if I set PlainTextLanguage.INSTANCE as the language, codeCompletion will work, but if I set Json5Language.INSTANCE, codeCompletion not work. It always show no sugges... -
Created How to comfortable with K2 compile
AnsweredAfter enable K2 Kotlin Mode, it said that my plugin is not compatible.I am not sure how to comfortable with k2.In my plugin, I had use some build-in kotlin API for example -
Created How to execute the java method from text?
AnsweredPsiFile fileFromText = PsiFileFactory.getInstance(project).createFileFromText(JavaLanguage.INSTANCE, "public class Test {public String aa() {return \"123\";}}"); PsiJavaFile psiJavaFile = (PsiJavaF... -
Edited How to run directly into a select method by code
AnsweredYou can see in 2024.2 EAP5 , there is a function that support run directly into a select method.I want to know the API or the extensions.Thanks very much! https://blog.jetbrains.com/idea/2024/06/in... -
Created How to judge PsiType implements java.util.Map
AnsweredHow to judge a psiType is java.util.Map?I mean it or its super type extends java.util.Map or implements java.util.Map