Libing Chen

Results 186 comments of Libing Chen

Yes, create a new project from JBang template.

Reuse JavaModuleBuilder, and developers can choose Groovy, Kotlin languages, then the plugin create script file according developers' choice, for example Hello.java, Hello.groovy or Hello.kt

I will implement this feature later because of custom UI builder.

@nandorholozsnyak IntelliJ IDEA 2022.1 has different UI and I will take a look and make a good design. ![image](https://user-images.githubusercontent.com/46711/158228965-426038d9-d3f8-4ccd-bbae-a796dc2573cb.png)

@fbricon Yes, IntelliJ IDEA project wizard UI has been changed, and I will use new API for wizard UI.

Yes, the result list is from ` fun suggestPrefix(groupId: String, artifactId: String,parameters: SearchParameters, consumer: Consumer)` in DependencySearchService, and I will take a look.

Yes. it's a bug, and I fixed it already. Still a question here, it's some expensive to call jbang command line to refresh JBang script info when file modified, and...

Now it's some hard because JBang scripts were created by CLI, and lots of work for IDEA. * Start the process * Wait for files notification * Reload from disk...

Refresh the dest directory synchronously and open all new files now. It may be blocked for a while if dest directory contains lots of files. ```java VfsUtil.markDirtyAndRefresh(false, true, true, directory)...

@maxandersen a question, developers can use JBang template to generate mulit files, and input name just part of file names. For example: ``` "templates": { "Rocketmq": { "file-refs": { "src/{basename}Consumer.java":...