主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Shenoy Venugopal
活动总数
29
最后的活动
2023年08月25日 18:25
成员加入日期
2017年05月26日 04:08
关注
0 名用户
关注者数
0 名用户
投票数
3
订阅数
5
活动概览
帖子(4)
评论(17)
按最近的活动排序
最近的活动
投票数
创建于
2023年08月22日 09:56
The following code worked like a charm. Thanks for the valuable information. However I need the additional things to be done.While adding a field to the class, I use the following snippet f...
社区
IntelliJ IDEA Open API and Plugin Development
Adding and removing fields from a PSIClass programatically through com.jetbrains.openapi
1 票
创建于
2023年08月25日 18:25
Everything worked finally successfully with the below code. if (stmt.startsWith("+")) { File file = new File(basePath + "/temp/src/main/java/com/" + className + ".java"); if (!file.exists()...
社区
IntelliJ IDEA Open API and Plugin Development
Adding and removing fields from a PSIClass programatically through com.jetbrains.openapi
0 票
创建于
2023年08月24日 15:39
The below code worked for me. Succesfully the class gets created in the folder "/temp/src/main/java/com/". The only thing required now is to add " extends net.DataRecord" and adding a construc...
社区
IntelliJ IDEA Open API and Plugin Development
Adding and removing fields from a PSIClass programatically through com.jetbrains.openapi
0 票
创建于
2023年08月23日 12:08
Anything else to be added in my code
社区
IntelliJ IDEA Open API and Plugin Development
Adding and removing fields from a PSIClass programatically through com.jetbrains.openapi
0 票
创建于
2023年08月23日 10:35
is is the only issue that needs resolution now....all other features of adding, rename & removing fields is successfully done. Rename of classes & deletion of classes is successfuly happening. Onl...
社区
IntelliJ IDEA Open API and Plugin Development
Adding and removing fields from a PSIClass programatically through com.jetbrains.openapi
0 票
创建于
2023年08月23日 10:14
I tried the below code. It gives an error non-static method add(PsiElement) cannot be referenced from a static context PsiDirectory.add(psiFile); ...
社区
IntelliJ IDEA Open API and Plugin Development
Adding and removing fields from a PSIClass programatically through com.jetbrains.openapi
0 票
创建于
2023年08月23日 01:56
Which one of the below signature is to be applied? Given that I have a certain "text" to be put in a file "Class1.java" at the location "/temp/src/main/java/com" 1. PsiFileFactory.createFileFromT...
社区
IntelliJ IDEA Open API and Plugin Development
Adding and removing fields from a PSIClass programatically through com.jetbrains.openapi
0 票
创建于
2023年08月22日 16:26
I find different signatures for createFileFromText in the PsiFileFactory What are the parameters to be passed & how is that the file will be stored in /temp/src/main/java/com
社区
IntelliJ IDEA Open API and Plugin Development
Adding and removing fields from a PSIClass programatically through com.jetbrains.openapi
0 票
创建于
2023年08月22日 14:32
Now the only thing remaining is creation of a new class (say Class1), which extends from another class, with a constructor body and the physical file (Class1.java) being available in the folder \te...
社区
IntelliJ IDEA Open API and Plugin Development
Adding and removing fields from a PSIClass programatically through com.jetbrains.openapi
0 票
创建于
2023年08月22日 14:25
Thanks a ton...Made the appropriate changes as below and it works. final PsiElementFactory elementFactory = JavaPsiFacade.getInstance(project).getElementFactory();PsiField psiField = elementFactory...
社区
IntelliJ IDEA Open API and Plugin Development
Adding and removing fields from a PSIClass programatically through com.jetbrains.openapi
0 票
下一页
›
最后
»