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
June 19, 2019 09:35
You shouldn't use JavaDirectoryServiceImpl#createClassFromTemplate directly, you should create your own logic similar to this, with your own template and with some json-specific code. CreateFromTem...
Community
IntelliJ IDEA Open API and Plugin Development
Create new .json file in specific directory
0 votes
Created
June 19, 2019 09:13
Yes, resources/fileTemplates should work as well. You pointed in a correct direction yourself, you should take a look at com.intellij.psi.impl.file.JavaDirectoryServiceImpl#createClassFromTemplate....
Community
IntelliJ IDEA Open API and Plugin Development
Create new .json file in specific directory
0 votes
Created
June 19, 2019 08:38
Hello Amir, Sorry, was unable to reply yesterday. I see what you need, you need to create your own file/code template, then you can use Velocity template language in your template, and update the t...
Community
IntelliJ IDEA Open API and Plugin Development
Create new .json file in specific directory
0 votes
Next
›
Last
»