RustRover
 
Get RustRover

Open files from the command line

Last modified: 08 October 2024

Open an arbitrary file or folder in RustRover from the command line, optionally specifying where to place the caret after opening.

You can find the executable for running RustRover in the installation directory under bin. To use this executable as the command-line launcher, add it to your system PATH as described in Command-line interface.

Syntax
rustrover.exe [--line <number>] [--column <number>] <path ...>
Examples

Open a project:

>
rustrover.exe C:\MyProject

Open a specific file on line number 42:

>
rustrover.exe --line 42 C:\MyProject\scripts\numbers.js