Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Anton Lobov
Total activity
30
Last activity
June 19, 2019 09:35
Member since
April 28, 2018 08:53
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
7
Activity overview
Articles (0)
Posts (0)
Comments (23)
Sort by recent activity
Recent activity
Votes
Created
October 24, 2018 10:56
The method you're trying to invoke in static context is not static. :) Please use a static overload.
Community
IntelliJ IDEA Open API and Plugin Development
Create new .json file in specific directory
0 votes
Created
October 24, 2018 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...
Community
IntelliJ IDEA Open API and Plugin Development
Create new .json file in specific directory
0 votes
Created
October 23, 2018 09:15
com.intellij.psi.PsiManager#findDirectory, com.intellij.openapi.vfs.VirtualFileManager#refreshAndFindFileByUrl, com.intellij.openapi.util.io.FileUtil#toSystemIndependentName, com.intellij.openapi.v...
Community
IntelliJ IDEA Open API and Plugin Development
Create new .json file in specific directory
0 votes
Created
October 19, 2018 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: -...
Community
IntelliJ IDEA Open API and Plugin Development
Access and modify a JSON file in a specific directory
0 votes
Created
October 19, 2018 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...
Community
IntelliJ IDEA Open API and Plugin Development
Access and modify a JSON file in a specific directory
0 votes
Created
October 11, 2018 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...
Community
IntelliJ IDEA Open API and Plugin Development
Create new .json file in specific directory
0 votes
Edited
October 11, 2018 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...
Community
IntelliJ IDEA Open API and Plugin Development
Create new .json file in specific directory
0 votes
Created
October 11, 2018 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...
Community
IntelliJ IDEA Open API and Plugin Development
Create new .json file in specific directory
0 votes
Created
May 07, 2018 09:00
You can try unregistering JsonSchemaReferenceContributor in your plugin usingExtensionPoint ep = Extensions.getRootArea() .getExtensionPoint<PsiReferenceContributorEP>(PsiReferenceContributor.EP_NA...
Community
IntelliJ IDEA Open API and Plugin Development
Navigation within JSON schema
0 votes
Created
April 28, 2018 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...
Community
IntelliJ IDEA Open API and Plugin Development
Navigation within JSON schema
0 votes
«
First
‹
Previous