What are command line arguments for PhpStorm?

Hi,

do someone know list of available command line arguments which PhpStorm recognizes? I tried to execute it with --help, but it consideres it a file name to open.

I'd like to pass filename + line number to PhpStorm so that it would open that file for me and set cursor to given line. Is it possible?

Thx for info

0

Hi Jan,

I'd like to pass filename + line number to PhpStorm so that it would open that file for me and set cursor to given line. Is it possible?

Yes. Here is an example:

"C:\Program Files\JetBrains\PhpStorm\bin\PhpStorm.exe" --line 134 D:\Projects\CodeReview.i18n.php
0

Ah! Has this always been present? Awesome! I have an issue open about a custom protocol like idea://file/line but could not find a way to do so. Aha! And it works with the idea command line tool as well! With this I can implement a custom protocol now. Nice nice nice. Thanks!

http://youtrack.jetbrains.net/issue/IDEA-65879

0

Are there any useful command line options? Is there a complete list somewhere? I couldn't find anything. Thx

0

I was unable to find the full list myself. Here are few that may work in PhpStorm:

0

请先登录再写评论。