Git Product home page Git Product logo

Comments (5)

MolecularMatters avatar MolecularMatters commented on June 15, 2024 1

Hi,

Thank you for the detailed request, this is absolutely the right place to ask for something like this.
I very much like your suggestion in Option 1, and I think that maybe both options could be done?

Will follow up on this once I had a better look at it.

from lpp_public.

blinklad avatar blinklad commented on June 15, 2024

Excellent. I think Option 1 is the cleanest way.
However, I have a related issue if you're keen on going down the road of allowing focus on those pop-up controls.
There is a setting to focus the Broker window on one of Error, Success, Hot-Reload , Never and Always.
Error here is any one of Compile, Link or Exception Handler.

The problem is that I have my own diagnostics that intercept Compile + Link errors and display those in-game using the Live++ Hook API, but I can't prevent the Broker from focusing on those errors still.

In the original scenario, I want to immediately continue on Exception via Leave Function, and use my own in-game diagnostics to deal with Compile + Link errors. Ergo, in my workflow, the Broker is only a useful pop-up when it comes to the Exception behavior. With the default broker behavior, I have to Alt+Tab to bring up the broker if I'm not using multiple monitors, and that doesn't always handle the case when the Broker is minimized to the system tray and will re-focus to the primary monitor.

Hope the above makes sense, thanks for the fast reply.

from lpp_public.

MolecularMatters avatar MolecularMatters commented on June 15, 2024

I started looking into this and it feels like we first have to tackle the behaviour of the Live++ exception dialog.

However, it's worth noting that if I configure Live++ to always pop-up when intercepting an exception, none of the controls are 'focused', so I can't just fire off the last selected control or what have you.

Can you share your settings with me?
The exception hander dialog is supposed to open and then be focused, no matter the current notification settings.

It should also open in case the Broker is minimized in the system tray, so changing your notification settings to e.g. "Never" might be a general solution that lets you intercept Compile + Link errors using your hooks, while Live++ displays the dialog in case of an exception.

I'll look into assigning shortcuts to the controls and focusing the last selection.

from lpp_public.

MolecularMatters avatar MolecularMatters commented on June 15, 2024

image

I added shortcuts to each of the action buttons, and the dialog will now focus on the last selected action, or "Leave function" by default. I also renamed "Ignore exception" to "Continue execution" since it better explains what's happening and also allows us to assign non-ambiguous shortcuts.

If this works for you, I'll ship this with the next update.

from lpp_public.

MolecularMatters avatar MolecularMatters commented on June 15, 2024

This has shipped in Live++ 2.4.0:
https://liveplusplus.tech/releases.html

Thanks for the suggestion!

from lpp_public.

Related Issues (9)

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.