diff options
| author | Bozhidar Batsov <bozhidar@batsov.com> | 2020-12-03 10:45:59 +0200 |
|---|---|---|
| committer | Bozhidar Batsov <bozhidar@batsov.com> | 2020-12-03 10:45:59 +0200 |
| commit | f66f229f2391f10277a12e436d4e8ceeccefcbed (patch) | |
| tree | eac614d728f3380e942981b18aaeb9576628b3b1 /doc/modules/ROOT/pages/usage.adoc | |
| parent | 86829b62e542518858bac727a783aad2ec2ced71 (diff) | |
[Docs] Document more essential commands
Diffstat (limited to 'doc/modules/ROOT/pages/usage.adoc')
| -rw-r--r-- | doc/modules/ROOT/pages/usage.adoc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/modules/ROOT/pages/usage.adoc b/doc/modules/ROOT/pages/usage.adoc index 44c1677..1f6f4fa 100644 --- a/doc/modules/ROOT/pages/usage.adoc +++ b/doc/modules/ROOT/pages/usage.adoc @@ -68,9 +68,15 @@ You need to know only a handful of Projectile commands to start benefiting from * Find file in current project (kbd:[s-p f]) * Switch project (kbd:[s-p p]) (you can also switch between open projects with kbd:[s-p q]) -* Grep in project (kbd:[s-p s g]) +* Grep (search for text/regexp) in project (kbd:[s-p s g]) (`grep` alternatives like `ag`, `pt` and `rg` are also supported) * Replace in project (kbd:[s-p r]) -* Invoke a command via the Projectile Commander (kbd:[s-p m]) +* Invoke any Projectile command via the Projectile Commander (kbd:[s-p m]) +* Toggle between implementation and test (kbd:[s-p t]) +* Toggle between related files (e.g. `foo.h` <-> `foo.c` and `Gemfile` <-> `Gemfile.lock`) +* Run a shell command in the root of the project (kbd:[s-p !] for a sync command and kbd:[s-p &] for an async command) +* Run various pre-defined project commands like: + * build/compile project (kbd:[s-p c]) + * test project (kbd:[s-p T]) The next section lists many more commands, but the basics can get you pretty far. |
