1/10/2023 0 Comments Ruby runner to execute scriptIt is configured in the top-right corner of the dialog: Open a recent project You can also use an arbitrary location as the working directory. This functionality may be helpful when running scratch files, as they are outside of the project’s root folder. To use the location of the current file as the working directory, hold Alt when running a command. If a command is not on the suggestion list, it will be executed in the terminal.īy default, the working directory depends on the project or module you are currently in. The list of commands depends on the installed/enabled plugins. To get the list of available commands, type ?. When you press Space, you accept the current suggestion and get further suggestions specific to this command. Start typing the command name and navigate the suggestion list using the arrow keys. Tests (Minitest, Rspec, Cucumber, and so on) Run anything allows you to execute various Ruby- or Rails-specific commands, for instance: To debug a run configuration, hold Shift when launching it. Start typing the run/debug configuration name and select it from the suggestion list. To add the icon to the toolbar, open the Settings/Preferences dialog ( Ctrl+Alt+S), go to Appearance and Behavior | Menus and Toolbars, expand the Main Toolbar node, and add the Run Anything action, for example, below Search Everywhere. To disable the Double-Ctrl mapping for this action, select Disable double modifier key shortcuts on the Advanced Settings page of the IDE settings Ctrl+Alt+S When you call a command, Run Anything delegates the further work to the appropriate tools. It also helps you use proper command syntax by generating suggestions as you type. Run Anything is a quick way to launch run/debug configurations, scripts and applications, Rake tasks, Rails generators, and open recent projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |