梁典典
- Total activity 44
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 17
-
Created How to create Dart PsiCommentImpl through text?
AnsweredI want to complete the function of automatically generating a Dart document comment, but I don't know how to generate a PsiCommentImpl from a text. Is there an API that can create a PsiElement? //... -
-
Created How does Dart rename PsiElement?
AnsweredHello, I want to implement an automatic repair function class DartPublicFunctionFix : LocalInspectionTool() { override fun buildVisitor(holder: ProblemsHolder, isOnTheFly: Boolean): PsiElemen... -
Created `PsiElement?.reference?.resolve` always returns null
AnsweredWhen i move the mouse pointer to the init function focus, the value is null, i try other also null -
Created How to highlight dart code in documentation?
Answeredhello, i have this comment I want to highlight it in the document, is there any way to do it? -
Created java.lang.NoClassDefFoundError
AnsweredI don't know what's going on, this problem has been bothering me for two days, does anyone know what's going on? I can't find a similar problem in the community -
Edited How to get the type or custom type of a dart value?
AnsweredHello, may I ask you to get the type text of the dart expression value. I am making a type hint function here, but it has not been able to get it correctly. The boolean displayed here should be ... -
Created holder.registerProblem doesn't work
Answered/** * yaml 版本自动补全 */class AutoVersionTool : LocalInspectionTool() { /// 访问了文件 override fun buildVisitor(holder: ProblemsHolder, isOnTheFly: Boolean): PsiElementVisitor { return YamlEle... -
-
Created How to register and use registerProblem in a thread?
Answeredoverrid fun visitFile(file: PsiFile) { if (!isOnTheFly) return val yamlFileParser: YamlFileParser = YamlFileParser(file, holder) val allPlugins = yamlFileParser.getAllPlugins() println(...