Edit the default Webkit developer tools layout? - web-developer-toolbar

Every time I open the Webkit dev tools, I have to go through a bunch of extra steps to set up the layout how I like:
open the global debug console
drag it to be taller
switch to network tab
view only XHR & WebSockets network activity
Is there a way I can store this layout as my default so I don't need to go through this process every time I open a new tab?
It's not that bad, but one of those things that gets annoying after the 1000th time...

Related

How to restart application after sometime when we minimize it from home button and open it again

I have created Mobile application in React native.
My problem is that whenever i open my app from launcher icon and minimize for sometime (eg: 10 minutes) then if i re-open my application from recent apps or else on clicking launcher icon again it should restart the application as it opening for the first time.
But doesn't matter how much time i minimize the application when i open it again it will open as a previous state.
How to solve this issue.
What Navigation module are you using? Depending on it, you need to call a method to init the app and that method must be called again when you switch back to the app.
Normally, application has their inherent state as snapshot when it go to background if the user do not close directly.
If you are testing on android, pressing backbutton on top of the navigation makes close the application. (you can control this if you want.)
In iOS, pressing home button always send the application into background instead of close.
I am not sure what OS you are using for development. But refer it.

IntelliJ IDEA - How to reattach and place Console tab back to IDE

Am new to IntelliJ IDEA (am using 2017.1.3)...
Accidentally, made my Console tab window float and can't seem to reattach it to IntelliJ IDEA. When I run the Debugger, it launches as a separate window (which is very annoying).
Is there a way to reattach it back to the main window but on right of the Projects view and right underneath the Source Editor view?
Attached is a screenshot of the issue, at hand (which one can click on to see it in high res):
Update
Okay, somehow (by doing a lot of clicking and dragging), this is the closest that I've come to what I've want. The thing that's bothersome is that I can only see the Console (stdout) updated when the debugging session is over (not in real-time, as I've would been able to do in Eclipse). :(
Update the console in realtime:
If you want all the JUnit test output to the console in real-time, just do as follows:
choose the configure
do configure for JUnit
floating separate tab of windows need restore on the tab.
You have two methods to restore floating windows:
uncheck the floating mode in the terminal windows
uncheck the floating mode in the Windows/Active Tool Windows
Let me show the 4 location of Console in the Debug view, I think there should be one which is what you want:
first
second
third
last

IntelliJ IDEA / WebStorm IDE: how to jump right to specific settings screen?

IntelliJ IDEA / WebStorm:
I frequently manage and tweak my live templates and I'm getting very tired of having to navigate each time to the live templates screen. How can I make a shortcut to instantly jump right to the Live Templates settings screen? Or any other settings screen for that matter? Must I use automation with AutoHotKey or is there a better way?
And yes, I am already familiar with the shortcut key to define a new live template -- that's not what I'm looking for. I simply want to jump to the settings screen in one keystroke.
UPDATE:
Going with Chistoph's suggestion, here is my AutoHotKey snippet in case anybody's interested. It's far from perfect; you might need to adjust the timing values for your system:
#IfWinActive,.* - WebStorm 201
!t::
KeyWait, LAlt
Sleep 600
Send {LShift}{LShift}
Sleep 100
Send Live Templates
Sleep 300
Send {Enter}
return
#IfWinActive ; turns off context sensitivity
As of IntelliJ/WebStorm 2016.2 and earlier, there is no built-in functionality to assign a shortcut to a specific settings screen, but it's fairly trivial to implement that in a third-party plugin.
Note that the Settings dialog remembers the last selected settings page, so if you're working with the same settings page most of the time, you shouldn't need to navigate to it.
One method you can use:
Double press shift in your editor, then click on the gear icon for settings. Turn on Show IDE settings there.
Afterwards you can double press shift and enter Live Templates in the prompt, press Enter and you are in the right settings screen.

Starting Multiple Visual Studio 2012 Web Applications in Tabs of a Single Browser Instance

I have two ASP.NET MVC 4 projects in a single solution in Visual Studio 2012. I have the solution set to use multiple startup projects, with the action set to Start. When I click the Start toolbar button, each project starts in a different Internet Explorer browser window.
But I'd like the two projects to start in two tabs of a single browser instance. Is there a way to do that?
Thanks!
The only way I know of to do this is:
Add a simple view in one of your projects with essentially empty html. Set that project to launch the simple view as its startup page, and set the other projects to "Don't open a page, wait for a request".
In the head section of that empty view, add the following javascript script section:
<script>
// to open another project in a newtab (works in IE)
window.open('http://localhost:<otherprojectport>/otherprojectpage', 'tab1');
// As many of these as you like as well, to open other actions/pages from this project:
window.open('#Url.Action("Edit", "User", new { id=1 })', 'tab2'); // note different name
// and to open a third page in the original tab that opens:
document.location.href = '#Url.Action("Index", "User")';
</script>
It is the only way I have found to do it, so far, and anyway I find it easier to edit a single view than multiple project property pages to change the tabs that open.
You may have to tell your browser that it's ok for your site to open popups. To do that, just exclude the document.location line the first time you run it, and it will tell you it blocked a popup so you can then "always allow them" for your site.
Footnote
If you then want to use the chrome launcher as well the only solution I found was to do the above but use an extension (such as "One Window", which I am not endorsing, nor claiming is secure, don't blame me if your computer leaves home if you use it) to stop the pages loading as separate popups.

Detect Settings Charm is Opened or Not in Windows Store Apps?

I just want to know is that Any other way to get the Settings Charm is active or not.
Because, In my app, the Settings of an app is in the settings charm(If user presses Settings btn in App will leads to open Settings Charm)
In my case, Instead of using the settings btn. user may use short cut (WIN + C) (or) Moving the Mouse to the Right corner of the Screen. to enter into the settings pane means how could i know that?
Is that any way to find that????
Tap in to CommandsRequested on the SettingsPane
Occurs when the user opens the settings pane. Listening for this event lets the app
initialize the setting commands and pause its UI until the user closes the pane.
Now detecting that it's closed again would amount to checking that your window is again activated - see this thread.