Giter Site home page Giter Site logo

Comments (4)

unneon avatar unneon commented on May 30, 2024

You mean that after pressing Alt+F12, and waiting for submit and tests on the site to run, there should be a sound? There should already be a notification displaying the test results (whether they passed or failed) in the lower right corner, can you see it?

Screenshot from 2021-01-01 20-31-29

from icie.

krsinghshubham avatar krsinghshubham commented on May 30, 2024

yeah the notification pops , but not sure if it will show when we already moved on to next question.
Notification with a sound will be a cool additon.

from icie.

unneon avatar unneon commented on May 30, 2024

No, the notification won't show after switching to another task with Alt+Backspace, due to VS Code completely resetting itself when switching directories. This is an unfortunate limitation of the current directory-per-task approach, and I usually just wait for the results to come in before moving on to the next question, because reading the statement would distract me in case I need to debug a rejected solution.

How fixable this is? You'd need to change a bit of stuff to save everything in one directory, and (more importantly) design and add some mechanism for specifying e.g. which task Alt+F12 should submit. That'd be a rather large change and nowadays I have other projects to work on, but if someone else tries to do it I'd be willing to help/review/merge it.

Regarding just adding a sound to the notification, VS Code doesn't have an API for this, presumably because a lot of people would consider extensions playing sounds irritating.

from icie.

krsinghshubham avatar krsinghshubham commented on May 30, 2024

I use many extensions , which only runs on file on which the cursor resides( in cases when multiple files are opened under one directory) so I think defining the target of
Alt+F12 would be easy but sadly I lack skills to implement this on my own :(.
I just pray that you get some time to modify this in future.
Thanks for your work.

from icie.

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.