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

JBang not listed in project generators

Open crutis opened this issue 2 years ago • 3 comments
trafficstars

Jbang plugin: 0.24.1 Intellij Idea Ultimate: IU-223.8836.41 MacOs: 13.2.1 (22D68) (ventura) image

I installed the plugin, but there is no option to create a JBang project:

image

crutis avatar Mar 20 '23 17:03 crutis

There is no such thing as a jbang project (yet).

There is a jbang file wizard to create a java file which does the same as jbang init.

maxandersen avatar Mar 20 '23 18:03 maxandersen

To be clear, I'm ok with this not being an available feature (I'm not asking for something that doesn't exist), I just arrived at this conclusion because of official documentation and other blogs where it appears that you can actually create a project.

I guess the wording here is confusing then: https://plugins.jetbrains.com/plugin/18257-jbang JBang project wizard: create JBang project by IDEA project wizard

Also here (not official, but it looks like this should work): http://www.mastertheboss.com/java/quick-jbang-scripting-with-intellij/

image

crutis avatar Mar 20 '23 19:03 crutis

Mkay. That is outdated. I'll see if I can get those updated.

Early versions had its own generation which was not generating things that was proper.

Simply just create a java project to get started.

maxandersen avatar Mar 21 '23 07:03 maxandersen

It's in the readme, first bullet under "The following features are available". It got me confused too.

pavlass2 avatar Feb 22 '25 10:02 pavlass2