I've noticed you can pin a tab on any file in PhpStorm, what does it do? It seems I can just close the tab anyway.
tl;dr: it's use to stop the file from auto closing.
PhpStorm can limit the number of tabs you have opened at once.
When it reaches it's limit it will close tab accordingly (by default this is 10 in your settings)
To stop selected tabs from been closed, you can pin the tabs.
Probably the most useful feature - When you go to right click on a tab, close all, it will not close the pinned tabs.
Summary from the PhpStorm docs on this.
Related
Intelij Idea does hides every thing when in full screen mode so that the developer can make use of maximum screen space available for writing code. From the documentation:
In Full Screen mode, IntelliJ IDEA expands the main window to occupy
the entire screen. All operating system controls are hidden, but you
can access the main menu if you hover the mouse pointer over the top
of the screen.
I recently embarked on the journey to minimise the use of mouse and therefore have started using the full screen mode. It sometimes happen that I need to know the file name. This is required as we have many files with more or less similar names (eg. XXXPreMigrationService, XXXPostMigrationService). Now in order to see the file name, I can use different approaches:
Alt+1 Shows file in the Project Explorer window.
Alt+Home Shows file in the Navigation toolbar.
Both the approaches require me to press 2 keys (twice). Is it possible to show/hide the current file name by press/un-press any key? Is there a way I can set a shortcut for such action?
I'm aware that you can open multiple terminals by clicking the plus button on the terminal window (but this lets you switch between tabs/terminals in a tab menu).
But I've had it where two terminals are splitting the width of the bottom area of my IDE by 50% each. I can only seem to do this randomly by accident. What is the setting or process to do this on purpose?
I've managed to get this working by:
Right-clicking on a file (in the main editor window), clicking Split horizontally.
Splitting that view again vertically.
Moving the terminal window into one of the above splits.
Moving the other terminal window into the other.
Closing or moving your file back up to the main editor window.
You can then close the normal terminal area at the bottom of your IDE and it works good enough. Would like to see if they could just support split-terminals without this work around.
Not currently supported, please follow IDEA-141172 for updates
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.
I've been using Chrome and am going back and forth between switching to Safari or staying with Chrome. My one small issue with Safari though is that the web inspector always shows up in a new window every time I toggle it. I press Command-Option-I and it opens in a new window and when I press Command-Option-I again it does not go away. I love the way the web inspector functions in Chrome and am wondering if there's a way to run the same way in Safari.
Any thoughts are greatly appreciated. Thanks!
I have had the issue for a long time. Here is the solution.
Right-click on a web page and select inspect element.
The console window appears in Fullscreen. Minimize the window like any Safari web page and it should a window like below.
Just above the 'Elements' tab, you should be able to see 2 icons. Clicking the icon on the left, opens the Console in right side of the browser and clicking the icon on the right, opens the Console in bottom of the browser
Hope this helps.
None of the methods upon are working for me (Safari 9.1), if you want to make the docking buttons of the inspector showing up:
open Terminal
type defaults read com.apple.Safari "__WebInspectorPageGroupLevel1__.WebKit2InspectorStartsAttached"
Once you checked if it returns 0,
do:
defaults write com.apple.Safari "__WebInspectorPageGroupLevel1__.WebKit2InspectorStartsAttached" 1
It's a bug in the Safari codebase.
Here is the bugreport and they're working on it (source)!
You could press the leftmost button at the Inspector's status bar and Inspector will dock.
UPDATE: Now, the button is on the right. When Inspector is in a separate window, the two small buttons in its upper right corner make it move to the 1) bottom of the Safari window 2) right side of the Safari window.
The only method that seemed to work for me was to resize the browser to a big enough size that it was big enough to contain the smallest size of an individual Inspect window. This for me, was widening the browser to at least around 65% percent width of the screen, and then you can "Inspect Element" and the default would be that the Inspect window would be at the bottom of the browser, and the browser with the Inspect window in it is resizable to any size now. Hope this helps some people.
Follow these steps to fix safari issue
Go to Develop --> User Agent --> Safari --> Select iphone --> then click on right side top symbol...
Select it and do inspect then you can see the button on left side top corner.
Now set to default setting by redoing the first point.
Please follow the step
Try clicking as shown:
I hope you get as shown:
I noticed when you have an open tab like the start page, the web inspector will pop up in a separate window. Also, there are no icons in the web inspector to attach it to the bottom or side. If you have a webpage open and do the same thing in the same window, that tab will have the web inspector attached to the bottom of the page (or whatever your attachment selection was prior).
I need to take snapshot if command prompt window running in full screen mode.
I had tried it using PrintScreen,Ctrl+PrintScreen, Ctrl+Alt+PrintScreen button(s) but nothing seems to work
Also are there any reasons that the print screen button does not work in full screen commandprompt mode? After all, it does for all windows under normal conditions.
Abdul Khaliq
In full screen mode all you have is text. There is no graphical `rendering' as such. If you can capture the text, it is enough ... though you can always reconstruct a png image later from the text (if you really have to get an image out of it).
Why don't you just use an external screen shot software?
There's many, e.g. greenshot, which is free (is in speech and beer :-)).
did you try alt + print screen?
Click any window except the command window and then hit PrtScrn.
First off all open cmd in full screen mode then click on print screen button after that open paint brush and press ctrl+v (past) you can save it in any where, where ever you want (file type should be .png).
I wasn't able to find any of these replies that work, and I can't install unapproved software do to IT policies. Here is what I did:
Right click inside command window. Hit select all. Right click outside of window (on top bar close to the maximize minimize controls. Select edit; select copy. Open a notepad window and paste. The advantage here is you have text that can be copied and pasted back into a command window later. I hope this helps.
press ctrl+a //select all
press ctrl+c // copy all text
write notepad mytext.txt + press entet // open notepad
press ctrl+v //paste in text in notepad
press ctrl+s // Save file
press ctrl+w // Close notepad.