Shortcut to jump back to last location - phpstorm

Often then I code I press on methods to check them out. Obviously PhpStorm jumps to that method location. Is there a shortcut to jump back to where I was before pressing on a method? I don't want to scroll back to that certain part of code again.
Using Windows 10

Try this:
Ctrl + Alt + Left
Will take you to last location. If you use Right you can go the other way around.

Related

How to activate the main window of PhpStorm after clicking its floating Find in Path window

Let me explain the situation.
I need to copy a lot of instances of a text inside a project of PhpStorm. So, I perform a 'Find in Path' action and a floating window appears with the matching results.
Now my problem is that after copying once from the floating window, if I click on another app window, then PhpStorm's main window/PhpStorm itself go to background, then if I want to copy text from the floating window again, I can not use any keyboard shortcut, I can not modify any line in the floating window because PhpStorm stays in background/inactive-mode even if I click on its floating window.
If I click anywhere in the PhpStorm except the main top-white bar of PhpStorm, then the floating window disappear, which causes me to perform the search again.
It is reducing my productivity a lot. Is there any way to make the PhpStorm active or bring it foreground when clicking its floated search window?
Please see the screenshot:
Is there any way to make the PhpStorm active or bring it foreground when clicking its floated search window?
You are approaching the problem from the a bit wrong angle. There is a better solution than fighting the focus/foreground state.
There is a button in the bottom right corner of "Find in Path" window ("Open in Find" it says on your screenshot) -- click it and it will open search results in traditional / standard Search Results tool window (with grouping by folders/files, preview area etc)... so no floating and no auto closing on clicking somewhere.
P.S. Lots of people forgetting that results shown in this new "Find in Path" dialog/popup is still just a preview (TOP 100 matches only). Super functional (you can edit and stuff) but still preview only. This mainly applies to those who remember the way how this dialog (back then it was dialog window) looked before redesign (now it's more of a popup).
Because of the way how it is all presented now (results occupy majority of the popup space) people somehow automatically forgetting about "traditional" way of searching (clicking actual "Find" button to get search working) and focusing only on what they see on a screen right now.
This new "Find in Path" dialog/popup adds a lot of convenience for sure (you typed search text and results are straight away before your eyes). At the same time quite often you may see/hear "it does not show me all results" frustrated comments (as it shows top 100 .. and a single file may have 100+ hits in some cases) and alike. JetBrains needs to improve UX a bit in this area for sure.

How do I remove suggested URL from omnibox?

I go to certain websites frequently. One day, when I typed "face" into my Chrome omnibox and hit enter (intending to go to Facebook), I must have done something differently, because it tried to go to "face" as an address (it didn't even search), and my DNS server told me it couldn't find "face." Ever after, "face" has been the first suggested URL by Chrome if I ever typed "f," "fa," "fac," or "face." This is very annoying.
How do I get rid of it?
On Linux:
Highlight the entry with your mouse or arrow keys and press shift + alt + delete.
On Mac OS X:
Highlight the entry with your mouse or arrow keys and press shift + fn + delete.
On Windows:
I think you highlight the entry and press shift + delete. I have not tested this.

What is the keystroke to exit the file diff view in sublime text?

I am playing around with sublimerge. I got into the file diff view, having 2 panes. I don't know how to go back to the normal view.
Clicking in the diff pane and pressing "esc" worked for me.
You can open a new window with Shift + Ctrl + N.
It should open in one-pane view.
If you not see the menu bar you can access the menu via the command palette (ctrl+shift+p) and type in menu, as is explained in This answer.
Save your workspace, in the Project menu.
well I didn't find the keystroke yet, but you can at least hit the close buttons on the files in the side bar, and it does take you out of diff view mode
On a Mac, Cmd-Q seems to do it.

Sublime Text 2 'Find in Files' open drawer at bottom rather than displaying results in a tab

Need help on this one! When I used to use the 'Find in Files' feature it would display the result in a tab so I could go back to reference it later.
For some reason, one day it switched so that the results open up in a drawer at the bottom of the sublime window.
This is not ideal because it takes up window real estate.
it's aggravating to have to go and toggle the results panel every time I need to reference the results. Would be much easier if it was in a tab.
I've tried looking in all my preferences and nothing seems different so I'm lost on this one.
Found it! Turns out it is the 'Use Buffer' Button on 'Find in Files' looks like I had mistakenly hit that on a search.

Windows Phone Back Key Behaviour When Options Appear

I am developing an app. A page showing full image and when you tap on the image, image caption and sound options appear from two opposite sides i.e caption from left and sound options from right with translate animations.
I want to be clear about that when I press back button, I can navigate to back page or I have to make those options disappear first and then again press back key to go to previous page from microsoft certification point of view?
I believe this is the same since windows phone 7.
You should be allowed to capture the back event and add some code. I don't think that is seen as bad practice, you just aren't allow to stop it.
Saying that, I don't think you can easily do a double back. you might have to check.
Here is a fairly useful post on the subject:
WP7: navigate twice back
which leads to another post about navigating the stack:
http://blogs.windows.com/windows_phone/b/wpdev/archive/2010/12/13/solving-circular-navigation-in-windows-phone-silverlight-applications.aspx