Giter Site home page Giter Site logo

Add command to reset the REPL about ccw HOT 8 CLOSED

ccw-ide avatar ccw-ide commented on August 18, 2024
Add command to reset the REPL

from ccw.

Comments (8)

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #1 originally posted by laurentpetit on 2010-04-18T21:00:49.000Z:

<empty>

from ccw.

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #2 originally posted by laurentpetit on 2010-10-15T09:57:45.000Z:

Rather than resetting the REPL, why not restart it, or kill it and start a new one?

I'd suggest WONTFIX for this, given those simpler alternatives…

from ccw.

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #3 originally posted by laurentpetit on 2010-10-15T11:03:09.000Z:

Hmm, I need some more time to think about it. e.g. if resetting namespaces takes far less time than restarting a repl, there could still be some value into this.

I lower the priority.

from ccw.

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #4 originally posted by laurentpetit on 2010-10-19T23:06:53.000Z:

More to think about: it's not really possible to do a full reset, if we're talking about really returning the REPL to its un-interacted-with state. Java classes can't be un-initialized, threads that were started running uninterruptable code can't be stopped (safely), etc. etc.

from ccw.

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #5 originally posted by laurentpetit on 2010-10-19T23:07:27.000Z:

<empty>

from ccw.

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #6 originally posted by laurentpetit on 2010-10-19T23:14:15.000Z:

Yes, so the semantics "reset REPL" don't hold. It would be more a command to "prune" namespaces from vars ... hmmm, not high priority unless a real need with an appropriate (and legitimate) use case happens, indeed ...

from ccw.

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #7 originally posted by laurentpetit on 2011-02-27T19:55:09.000Z:

Yes, a proper 'reset' REPL is difficult (but not impossible) to implement. Also, I think not really necessary. I think a 'restart' REPL would be very convenient. As it stands now, it is a three step process to restart a REPL: 1) kill the console, 2) close the CCW REPL view (not necessary, but I like to keep my workspace tidy) and 3) start a new REPL. It would be nice to issue a single command for all three of these steps.

from ccw.

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #8 originally posted by laurentpetit on 2011-03-08T20:03:09.000Z:

Yes, I'd say a "Restart REPL" command in the REPLView's toolbar makes a lot more sense. Closing this and opening a new ticket for a restart REPL enhancement.

from ccw.

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.