主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Anton Lobov
活动总数
30
最后的活动
2019年06月19日 09:35
成员加入日期
2018年04月28日 08:53
关注
0 名用户
关注者数
0 名用户
投票数
0
订阅数
7
活动概览
文章(0)
帖子(0)
评论(23)
按最近的活动排序
最近的活动
投票数
创建于
2018年10月24日 10:56
The method you're trying to invoke in static context is not static. :) Please use a static overload.
社区
IntelliJ IDEA Open API and Plugin Development
Create new .json file in specific directory
0 票
创建于
2018年10月24日 09:41
No problem, feel free to ask your questions any time you need. There exists no such method signature as you tried to use, that's correct. IntelliJ community is an open-source product, so you may al...
社区
IntelliJ IDEA Open API and Plugin Development
Create new .json file in specific directory
0 票
创建于
2018年10月23日 09:15
com.intellij.psi.PsiManager#findDirectory, com.intellij.openapi.vfs.VirtualFileManager#refreshAndFindFileByUrl, com.intellij.openapi.util.io.FileUtil#toSystemIndependentName, com.intellij.openapi.v...
社区
IntelliJ IDEA Open API and Plugin Development
Create new .json file in specific directory
0 票
创建于
2018年10月19日 14:47
Use com.intellij.json.psi.JsonElementGenerator#createValue to create a new string value, and com.intellij.psi.PsiElement#replace to replace the original value. To traverse your PSI file, you may: -...
社区
IntelliJ IDEA Open API and Plugin Development
Access and modify a JSON file in a specific directory
0 票
创建于
2018年10月19日 08:14
Hi, There are two ways of doing that. 1) Using IntelliJ APIs: com.intellij.openapi.vfs.VirtualFileManager#findFileByUrl, com.intellij.openapi.fileEditor.FileDocumentManager#getDocument, com.intelli...
社区
IntelliJ IDEA Open API and Plugin Development
Access and modify a JSON file in a specific directory
0 票
创建于
2018年10月11日 10:44
>Actually, I have an action that in some context menu. In this case, just invoke CreateFileFromTemplateAction#createFileFromTemplate inside you action, it allows to specify the directory where your...
社区
IntelliJ IDEA Open API and Plugin Development
Create new .json file in specific directory
0 票
已编辑于
2018年10月11日 09:46
If you want to add a file template from your plugin, you can register a template in your plugin.xml: <internalFileTemplate name="my_json"/> You place your template under "fileTemplates\internal" in...
社区
IntelliJ IDEA Open API and Plugin Development
Create new .json file in specific directory
0 票
创建于
2018年10月11日 09:20
Good morning. You can create file templates for any kind of file you want using File -> Settings -> Editor -> File and Code Templates. There already exist several samples of JSON file templates: A...
社区
IntelliJ IDEA Open API and Plugin Development
Create new .json file in specific directory
0 票
创建于
2018年05月07日 09:00
You can try unregistering JsonSchemaReferenceContributor in your plugin usingExtensionPoint ep = Extensions.getRootArea() .getExtensionPoint<PsiReferenceContributorEP>(PsiReferenceContributor.EP_NA...
社区
IntelliJ IDEA Open API and Plugin Development
Navigation within JSON schema
0 票
创建于
2018年04月28日 08:53
You're correct about using a reference contributor. You'll need to create a PsiReferenceContributor and an Annotator. The first one will provide the references, the second one will highlight the er...
社区
IntelliJ IDEA Open API and Plugin Development
Navigation within JSON schema
0 票
«
第一页
‹
上一页