Git Product home page Git Product logo

Comments (4)

piersdeseilligny avatar piersdeseilligny commented on June 9, 2024 5

I feel like "debug aware" and "language aware" would already allow for some pretty powerful features - especially if the streamdeck image can be customized in each state. It might be good to add support for that and then see if anyone requests something more specific?

from vscode-deck.

piersdeseilligny avatar piersdeseilligny commented on June 9, 2024 3

Yep I agree this would be very cool - as would commands that vary depending on the state. For example, running workbench.action.debug.start if isDebugMode==false, or workbench.action.debug.continue if isDebugMode==true

from vscode-deck.

marcoaaguiar avatar marcoaaguiar commented on June 9, 2024 2

I don't understand much from the VSCode API but it seems that the current language could be obtained from the TextDocument, am I wrong?
Also, I believe that the current debug state could be achieved via debug.activeDebugSession != undefined.

from vscode-deck.

nicollasricas avatar nicollasricas commented on June 9, 2024

Hey @corbob, @piersdeseilligny

Sorry for the late reply got busy finishing other projects.

Despite not replying I've taken some time before them and now and couldn't find any way to access the "context-aware" from VS Code. It's not public in the VS Code extension API.

The only way this will be possible is by implementing based on stuff that we could access trough the extension API.

Like both of you suggested the "debug aware" is something possible. Could you think other contexts that maybe be useful, so that I could consider if it's worth implementing besides the API limitations?

There's another approach that may be possible is using VS Code tasks which can access the context-aware.

from vscode-deck.

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.