Contextual keymaps in Rider - keyboard-shortcuts

Is it possible to create contextual keymaps (shortcuts) in Rider?
For example, in VS, F5 is the shortcut for "run in debug mode". Then if you put a breakpoint and it hits, while you're in the debug mode, F5 will let go and "resume" the execution of the app.
But in Rider it seems like I can't accomplish this - I don't see a way to map F5 to "Resume" only when I'm attached to the application process. If I map both "Run in debug mode" and "Resume" to F5 in keymappings, and the breakpoint hits, if I press F5 to resume, it will instead stop the process, rebuild, run and attach again.
I checked how they envisioned this to work, and they actually mapped Alt + F5 to "run in debug mode" and F5 to "resume". But I'd prefer it if I could avoid the Alt bit.
Is what I'm looking for possible with Rider, and if so - how?
Thank you.

To achieve the same behavior as in Visual Studio you simply need to remove a shortcut from the "Debug" action and leave it on "Resume Program".
Now you can press F5 and Rider will automatically run a project in the debug mode.

Related

No restart button for running application in intellij

I have run ,debug ,run with coverage and stop. But there is no button to restart my application.
intellij : 2020.1
Run button changes to rerun if the app is still running. Screenshots from IntelliJ IDEA 2020.1 in Debug and Run mode. You can see this button in Run and Debug tool windows as well as in the toolbar on the right of the run configuration name:
You can also use the keyboard shortcut (Ctrl+F5).
If it doesn't work for you, please provide the Minimal, Complete, and Verifiable example.

how to parallel run the same program in IDEA

Every time a new instance of the run/debug configuration is launched, IntelliJ IDEA checks the presence of the other instances of the same run/debug configuration, and displays a confirmation dialog.If Allow running in parallel checkbox is selected, it is possible to launch a run configuration multiple times in parallel instead of rerunning it. But is doesn't work on my computer.
I think it's because I click DO NOT SHOW THIS DIALOG IN THE FUTURE in the confirmation dialog.It change the RUN turn to RERUN.
I need some way to find the confirm dialog or the way to parallel run the same program.
THANK YOU.
My IDE is WebStorm, but I think it should be the same as IDEA. You can try using:
Menu bar -> Run -> Edit configurations... -> Allow parallel run

How to use TeaVM debugger in Intellij IDEA

I'm running Intellij IDEA (2018.2.4) with the TeaVM plugin (0.5.1). If I create a debug configuration for "TeaVM debug server" and debug my project I see the stop button (implying it's connected), but there are not messages in the console and the debugger tab says "detached". I haven't been able to find any documentation. Can anyone help?
Currently, TeaVM plugin does not print browser's console to IDEA console (I can fix this behaviour). As for detached state: did you read the documentation? After you start debug configuration in IDEA, you should connect to IDEA from Chrome by pressing 'TeaVM debugger agent' button (green teapot) near the address bar.

Locals windows can't appear

I am using VisualStudio 2012 and VisualStudio does not showing window for local variables while debugging.
Please refer to following image
To open the Locals window, you must be debugging. From the Debug menu, choose Windows, and then choose Locals.
Hit Start and begin debugging. Once you're in Debug mode you should be able to go to Debug -> Windows -> Locals
Like this
This Window won't be available in the context menu until you are in Debug mode

Eclipse plugin deployment in same Eclipse instance - possible?

I am developing an Eclipse plugin which will operate in plugin-only mode - mainly special context menus for certain project natures. Is there a way to deploy the plugin into the current Eclipse runtime, so I can immediately test it there?
If no, how are developers supposed to test plugins which use Eclipse's file explorer?
In your Eclipse IDE, open "Run > Run Configurations..." Select Eclipse Application and create a new run configuration.
Then on the "Main" tab there will be a "Program to Run" section. Select the radio button "Run an application:"
Then in it's drop down menu, select "org.eclipse.ui.ide.workbench"
Now switch to the tab labeled "Plug-ins". Make sure the plug-in that you are building and want to test is selected. You may have to use the drop down labeled "Launch with:" and select "plug-ins selected below only" in order for the UI to let you select the plug-in your building.
Now, just to make sure this is all going to launch correctly, select the button, "Validate Plug-ins" If there are errors, close the message box and select the button, "Add Required Plug-ins" This will auto select all dependent plugins for this run configuration.
Now select the button "Run" and a new instance of Eclipse will launch with your plug-in installed in it.