Giter VIP home page Giter VIP logo

Comments (8)

maxandersen avatar maxandersen commented on July 19, 2024

If that can work even when project has no java info that would be awesome.

from jbang-idea.

maxandersen avatar maxandersen commented on July 19, 2024

What is "invalid script cache" ? clearing cache ?

from jbang-idea.

linux-china avatar linux-china commented on July 19, 2024

What is "invalid script cache" ? clearing cache ?

is it necessary? Some developers worry about local scripts with sensitive data, such as jar generated from build command.

from jbang-idea.

linux-china avatar linux-china commented on July 19, 2024

I have no idea about new JBang script from tool window, for example if developers click new script button from tool window in any project, and JBang plugin will setup a new IDEA module for the script and developers can edit script immediately with code completion.

It's like Scratch files, but some different. Developers can write JBang scripts on any legacy/existing projects, and don't worry about to modifiy current maven/gradle file. But not clear now.

from jbang-idea.

maxandersen avatar maxandersen commented on July 19, 2024

What is "invalid script cache" ? clearing cache ?

is it necessary? Some developers worry about local scripts with sensitive data, such as jar generated from build command.

I don't understand your question ...I'm asking if you by "invalid script cache" refer to the jbang cache clear command or something else ?

from jbang-idea.

linux-china avatar linux-china commented on July 19, 2024

For example. I have a HelloWorld.java then I use jbang run HelloWorld.java to run the script. After run JBang will generate a jar file /Users/username/.jbang/cache/jars/HelloWorld.java.c563d28e87f5d2c3b493ac303c00d9d0abc9e19eb41b6d6dc410596fa3eea5c5.jar and cached by JBang. Some developers want to delete files related with this script because of some sensitive info in the jar.

from jbang-idea.

maxandersen avatar maxandersen commented on July 19, 2024

Yes. So that is what jbang cache clear does.

from jbang-idea.

linux-china avatar linux-china commented on July 19, 2024

JBang ToolWindow listener added: refresh JBang script info when the toolwindow clicked.

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.