From 242d76b04ad8a4c4ff41b4ab4f240d8a5606a451 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Sun, 22 Jan 2017 19:41:44 +0100 Subject: [PATCH 1/3] Documented the local serach box for dumped contents --- components/var_dumper.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/var_dumper.rst b/components/var_dumper.rst index d8602338820..ee15266f7ef 100644 --- a/components/var_dumper.rst +++ b/components/var_dumper.rst @@ -105,6 +105,13 @@ This behavior can be changed by configuring the ``dump.dump_destination`` option. Read more about this and other options in :doc:`the DebugBundle configuration reference `. +.. tip:: + + If the dumped contents are complex, consider using the local search box to + look for specific variables or values. First, click anywhere on the dumped + contents and then press ``Ctrl. + F`` or ``Cmd. + F`` to make the local + search box appear. When finished, press ``Esc.`` to hide the box again. + Using the VarDumper Component in your PHPUnit Test Suite -------------------------------------------------------- From 990f6463b04d752dff1163f0616f2258ce3723e0 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Sun, 22 Jan 2017 19:43:08 +0100 Subject: [PATCH 2/3] Added the missing "versionadded" directive --- components/var_dumper.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/var_dumper.rst b/components/var_dumper.rst index ee15266f7ef..ba72c516901 100644 --- a/components/var_dumper.rst +++ b/components/var_dumper.rst @@ -107,6 +107,9 @@ option. Read more about this and other options in .. tip:: + .. versionadded:: 3.3 + The local search box was introduced in Symfony 3.3. + If the dumped contents are complex, consider using the local search box to look for specific variables or values. First, click anywhere on the dumped contents and then press ``Ctrl. + F`` or ``Cmd. + F`` to make the local From 2851630bc3a0661f1ea56e60444d4bdff1c9e63a Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Mon, 23 Jan 2017 10:07:20 +0100 Subject: [PATCH 3/3] Added more keyboard shortcuts --- components/var_dumper.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/var_dumper.rst b/components/var_dumper.rst index ba72c516901..3bd7ae9c7d2 100644 --- a/components/var_dumper.rst +++ b/components/var_dumper.rst @@ -112,8 +112,10 @@ option. Read more about this and other options in If the dumped contents are complex, consider using the local search box to look for specific variables or values. First, click anywhere on the dumped - contents and then press ``Ctrl. + F`` or ``Cmd. + F`` to make the local - search box appear. When finished, press ``Esc.`` to hide the box again. + contents and then press :kbd:`Ctrl. + F` or :kbd:`Cmd. + F` to make the local + search box appear. All the common shortcuts to navigate the search results + are supported (:kbd:`Ctrl. + G` or :kbd:`Cmd. + G`, :kbd:`F3`, etc.) When + finished, press :kbd:`Esc.` to hide the box again. Using the VarDumper Component in your PHPUnit Test Suite --------------------------------------------------------