jbangdev / jbang-idea

IntelliJ IDEA plugin for JBang
https://plugins.jetbrains.com/plugin/18257-jbang
MIT License
20 stars 9 forks source link

JBang not listed in project generators #82

Open crutis opened 1 year ago

crutis commented 1 year ago

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

maxandersen commented 1 year ago

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.

crutis commented 1 year ago

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

maxandersen commented 1 year ago

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.