Mac: Run sudo -i enter the password in the terminal can use ssh IP: Port command line log in
DAssist development support is a command line, the system can be used directly in the command-line tool, Linux, MacOS, etc. terminal command system comes to say, the windows have cmd and powerShell. So how to combine IDE development tools to use? This requires the use of a programming IDE must support terminal (default support or support plug-in extensions are available), PHP Web development tools commonly used jetBrains series of phpStorm, WebStorm, is also useful Sublime Text of this document focuses on the use of common IDE terminal.
Use phpStorm terminal command line terminal
Open Terminal console
Windows & Linux: ALT + F12
or use Action Shortcuts: Ctrl + Shift + A
and enter the terminal, Enter.
Mac OS: ⌘ + Shift + A
open Action panel quickly find the terminal.
Select the terminal program
First, the use of shortcut keys to open the Action search box, enter the terminal, enter Setting> Tools> Terminal configuration panel.
Linux uses a default shell commands, for example /bin/sh
, I set the default is zsh, configuration items: Shell Path is /bin/zsh
.
Under Windows, phpStorm terminal program is used by default cmd.exe, familiar cmd can keep the default, but I tend to use more powerful PowerShell. The easiest way is to Shell Path of the cmd.exe modified to powershell.exe (regardless of whether there systemroot, or absolute path can be completed)
Mac OS also call the default shell commands, without modification.
Appearance and terminal fonts
In the phpStorm, terminal font, size, color, etc. are independently controlled, irrespective of the terminal or PC system setting command line property. The need to modify, Action search box: console, select the configuration items can be configured.
FIG: phpStorm-Action Console panel configuration items on FIG: Console property background color swatch schematic -background
Sublime Text terminal using a command line terminal
Recommended installation with plug
Both plug-ins recommended SublimeText sublimeREPL and Terminal.
To install the plug-in: the menu bar -> Performance -> Package Control (shortcut Ctrl + Shift + P) to open the kit installation panel. Type install, and then enter the name of the extension tool in the returned results, such as sublimeREPL, press Enter.
Terminal Use
Shortcut key ctrl + shift + t, then SublimeText open system outside the Shell command window (the current directory), details and the use of native command line programs, like jump out.
sublimeREPL usage and configuration
sublimeREPL very powerful, support the operation of many types of script, but after the installation is complete and is not bound shortcuts, you can set your own. Run shell, it will open a new tab in the sublime, where it can run commands directly. To do so with the original life-line program.