From 0ce01f85634214923d6350abf4b5cc13d25f3d5d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 4 Aug 2016 12:10:50 +0300 Subject: [PATCH] Add gfys about run configurations --- features.html | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/features.html b/features.html index c878c71..a16d036 100644 --- a/features.html +++ b/features.html @@ -252,17 +252,33 @@

Running

Configurations

-

Built-in Cargo Command run configuration, automatically created with Ctrl+Shift+F10 in - following contexts:

+

Built-in Cargo Command run configuration allows to build, + test and run Rust code. +

-
-
  • Inside a #[test] function to execute a single test.
  • -
  • Inside a module to run all containing tests.
  • - +
    + {% include feature-gfy.html n="FinePopularGreathornedowl" %} +
    + +
    +

    Context aware

    + + You can use Ctrl+Shift+F10 shortcut to run a main or a test function. + Alternativelly, you can use the icon in the gutter area. +
    + + +
    + {% include feature-gfy.html n="VelvetySerpentineCowbird" %} +
    + +
    +

    Synergy

    + + You can combine Ctrl+Alt+Shift+N with Ctrl+Shift+F10 to + find and execute a test without switching between code and tests.