jbang-idea icon indicating copy to clipboard operation
jbang-idea copied to clipboard

JBang Project Wizard

Open linux-china opened this issue 3 years ago • 9 comments

Create JBang app from Project Wizard.

Features:

  • Create JBang project from user defined template
  • Setup IDEA project automatically

https://plugins.jetbrains.com/docs/intellij/project-wizard.html

linux-china avatar Jan 06 '22 23:01 linux-china

This would use the same as used in create script but use it to create a project not just add files to existing project ?

maxandersen avatar Jan 07 '22 05:01 maxandersen

Yes, create a new project from JBang template.

linux-china avatar Jan 07 '22 17:01 linux-china

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

Screen Shot 2022-01-17 at 5 08 24 PM

linux-china avatar Jan 18 '22 01:01 linux-china

Shouldn't it show/allow jbang templates ?

maxandersen avatar Jan 18 '22 09:01 maxandersen

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

linux-china avatar Jan 18 '22 09:01 linux-china

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

Screen Shot 2022-01-17 at 5 08 24 PM

I know the plugin has a cool create new JBang script window, but will the template selector implemented in the Module creation wizard too? https://github.com/jbangdev/jbang-idea/issues/43

nandorholozsnyak avatar Mar 14 '22 14:03 nandorholozsnyak

@nandorholozsnyak IntelliJ IDEA 2022.1 has different UI and I will take a look and make a good design.

image

linux-china avatar Mar 14 '22 17:03 linux-china

I installed the plugin on IJ 2021.3, and saw I could create a JBang project, but after updating to 2022.1.2, I no longer see the possibility of creating a JBang project.

fbricon avatar Jun 10 '22 10:06 fbricon

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

linux-china avatar Jun 10 '22 16:06 linux-china

closing as no progress afaik and also don't really think jbang scripts/apps fits into intellij project wizard as is atm.

maxandersen avatar May 18 '25 07:05 maxandersen