Linux command
phpstorm 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Open project
phpstorm [path/to/project]
Open file at line
phpstorm --line [42] [file.php]
Compare files
phpstorm diff [file1.php] [file2.php]
Open in new window
phpstorm --new-window [path/to/project]
Wait for close
phpstorm --wait [file.php]
Inspect code
phpstorm inspect [project] [output] -v2
说明
phpstorm launches PhpStorm IDE. It opens projects and files. JetBrains PHP IDE. Professional development environment. Command-line launcher enables integration. Open from terminal. Diff mode compares files. Built-in comparison tool.
参数
- --line _N_
- Open at line number.
- --column _N_
- Open at column.
- --new-window
- Force new window.
- --wait
- Wait until closed.
- diff
- Compare two files.
- inspect
- Run code inspection.
- --help
- Show help.
FAQ
What is the phpstorm command used for?
phpstorm launches PhpStorm IDE. It opens projects and files. JetBrains PHP IDE. Professional development environment. Command-line launcher enables integration. Open from terminal. Diff mode compares files. Built-in comparison tool.
How do I run a basic phpstorm example?
Run `phpstorm [path/to/project]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --line _N_ do in phpstorm?
Open at line number.