Giter VIP home page Giter VIP logo

Comments (5)

kenyee avatar kenyee commented on July 1, 2024

Also doesn't work with Java files FYI

from jbang-idea.

maxandersen avatar maxandersen commented on July 1, 2024

No synchronize jbang action visible ?

from jbang-idea.

kenyee avatar kenyee commented on July 1, 2024

Screenshot 2023-03-26 at 8 44 39 AM

That tool window is available in IntelliJ so the JBang plugin is installed (0.24.1 if that matters)

from jbang-idea.

kenyee avatar kenyee commented on July 1, 2024

Tried InteliJ CE 2023.3.3 (in case my version of Ultimate is the issue), then 2022.1.4, 2021.2.4.

The new project template shows up in 2021.2.4 (JBang template in new project dialog) but doesn't in the other versions I tested. I'd guess the 2022 IDEA platform broke it.
Also "shows up" doesn't mean it worked as expected...it created an empty project and didn't put anything in it...(it also didn't ask me for a Jbang template to put in the project).
An error did show up though:
"Could not execute [/Users/keny/.jbang/bin/jbang, template, list] with environment {NO_COLOR=true}. Error=2, No such file or directory"
I used sdkman to install jbang so jbang is actually at:
% which jbang
/Users/keny/.sdkman/candidates/jbang/current/bin/jbang

Hmm..that might be why because that directory seems pretty empty:
% ls ~/.jbang
cache implicit-catalog.json

Maybe the plugin doesn't understand where sdkman installs jbang? It just needs to detekt that sdkman folder or a way for us to specify the jbang binary folder:
% ls /Users/keny/.sdkman/candidates/jbang/current/
bin version.txt
% ls /Users/keny/.sdkman/candidates/jbang/current/bin
jbang jbang.cmd jbang.jar jbang.ps1

from jbang-idea.

kenyee avatar kenyee commented on July 1, 2024

I uninstalled jbang from sdkman and used homebrew instead and it's in a different location:

% which jbang
/opt/homebrew/bin/jbang
% ls ~/.jbang/
cache			implicit-catalog.json

from jbang-idea.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.