snippetbashTip
phpstorm — A cross-platform IDE for PHP based on the JetBrains IntelliJ platform. More information: <https://ww
Viewed 0 times
idecommandclicrossplatformphpforphpstorm
Problem
How to use the
phpstorm command: A cross-platform IDE for PHP based on the JetBrains IntelliJ platform. More information: <https://www.jetbrains.com/help/phpstorm/working-with-the-ide-features-from-command-line.html#arguments>.Solution
phpstorm — A cross-platform IDE for PHP based on the JetBrains IntelliJ platform. More information: <https://www.jetbrains.com/help/phpstorm/working-with-the-ide-features-from-command-line.html#arguments>.Open a specific directory:
phpstorm {{path/to/directory}}Open a file:
phpstorm {{path/to/file}}Open a file at a specific line:
phpstorm --line {{line_number}} {{path/to/file}}View the differences between two files:
phpstorm diff {{path/to/left_file}} {{path/to/right_file}}Code Snippets
Open a specific directory
phpstorm {{path/to/directory}}Open a file
phpstorm {{path/to/file}}Open a file at a specific line
phpstorm --line {{line_number}} {{path/to/file}}View the differences between two files
phpstorm diff {{path/to/left_file}} {{path/to/right_file}}Context
tldr-pages: common/phpstorm
Revisions (0)
No revisions yet.