open file at line N in Idea using terminal launcher?
Answered
Hi,
I'm using the command line launcher one macos to open files in idea.
I know that plugins (like YourkitProfiler) can jump to a specific position in a file. Is this possible also when using the terminal launcher? Is there any (hidden) flag/option to open a file at a specifc line?
Or is there some port at which idea is listening for files-to-be-opened + line number? I know some other tools supporting this file of navigation.
Best,
Holger
Please sign in to leave a comment.
"idea -line ### filename.txt"
Dmitry, I had to use two hyphens like:
"idea --line ### filename.txt"
Please see example syntax at Opening Files from Command Line.