Forrest logo
back to the phpstorm tool

phpstorm:file:open-at-line

Open a file at a specific line.
$ phpstorm --line ${line_number} ${filename}
try on your machine

This command opens the PHPStorm IDE (Integrated Development Environment), and opens the specified file with the cursor on the specified line number. The "phpstorm" part of the command is the name of the executable file for PHPStorm. The "--line" part of the command specifies the line number where the cursor should be positioned when the file is opened. The "${line_number}" and "${filename}" parts are variables, where ${line_number} should be replaced with the actual line number you want the cursor to be positioned on, and ${filename} should be replaced with the actual name and path of the file you want to open.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the phpstorm tool