Open files from the command line
Last modified: 20 May 2022Open an arbitrary file or folder in AppCode from the command line, optionally specifying where to put the caret after opening.
By default, AppCode does not provide a command-line launcher. For information about creating a launcher script for AppCode, see Command-line interface.
When you specify the path to a file, AppCode opens it in the LightEdit mode, unless it belongs to a project that is already open or there is special logic to automatically open or create a project (for example, in case of Maven or Gradle files). If you specify a directory with an existing project, AppCode opens this project. If you open a directory that is not a part of a project, AppCode adds the .idea directory to it, making it a project.
Thanks for your feedback!
Was this page helpful?