Yii Guxing
- Total activity 24
- Last activity
- Member since
- Following 1 user
- Followed by 0 users
- Votes 0
- Subscriptions 8
-
Created How do I get the selected text in the terminal view in my plugin?
AnsweredHow do I get the selected text in the terminal view in my plugin? I tried to write an action to get, but the action wouldn't work. -
Edited How to highlight Kotlin's label expression in Idea plugin
I'm trying to write a plug-in to highlight Kotlin's label expression, but it does not work: class KotlinLabelHighlightAnnotator : Annotator { override fun annotate(element: PsiElement, holder: A... -
-
Edited PasswordSafe crashes on Linux
AnsweredIntelliJ IDEA 2017.2.6 PasswordSafe crashes on Linux: PasswordSafe.getInstance().getPassword(CredentialAttributes(serviceName, userName)) secret_password_lookup_sync error code 32629, error message... -
Created How to use the Editor to render a custom PsiElement tree
I convert a string to a PsiElement tree, How to use the com.intellij.openapi.editor.Editor to render it, and click on the PsiElement node text? -
Edited How to set the editor's background and overwrite the background image
val editorFactory = EditorFactory.getInstance()val document = editorFactory.createDocument("abc...")val editor = editorFactory.createViewer(document).apply { backgroundColor = Color.RED component... -
Edited How to revert the state when lookup canceled?
I implemented a code chooser use `com.intellij.codeInsight.lookup.Lookup`: public class ReplaceAction extends EditorAction { public ReplaceAction() { super(new Handler()); } @Override publ... -
Edited How do I show a popup like auto-popup code completion in own plugins?
AnsweredHow do I show a popup like auto-popup code completion, and dynamic change the items? LookupManager.getInstance(project).showLookup(editor, ...) can show the popup, but I can not change the items. ...