{"size": 1783, "ext": "scrbl", "max_stars_repo_path": "documentation/command-line.scrbl", "max_stars_repo_name": "patrick-lafferty/rain", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "documentation/command-line.scrbl", "max_issues_repo_name": "patrick-lafferty/rain", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "documentation/command-line.scrbl", "max_forks_repo_name": "patrick-lafferty/rain", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 52.4411764706, "max_line_length": 95, "alphanum_fraction": 0.802019069}
#|
MIT License
Copyright (c) 2017 Patrick Lafferty
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
|#
#lang scribble/manual

@title[#:version ""]{Command Line}

This chapter introduces some of the features of the command line.

@section{Autocompletion}

Rain can automatically complete identifiers you are typing. It first determines the context
of the identifier to determine what appropriate completions would be (ie at the beginning of
a function "def" would probably become "define"). It then collects a list of completions, picks
the closest matching one, and adds the remaining characters in a light grey colour. To accept
the completion simply press tab. If you want to see other completions press F1 and a listbox
will popup which you can scroll with the up and down arrow keys, and select with enter.
