aboutsummaryrefslogtreecommitdiff
path: root/files/ja/conflicting/tools/debugger/how_to/search/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/conflicting/tools/debugger/how_to/search/index.html')
-rw-r--r--files/ja/conflicting/tools/debugger/how_to/search/index.html69
1 files changed, 69 insertions, 0 deletions
diff --git a/files/ja/conflicting/tools/debugger/how_to/search/index.html b/files/ja/conflicting/tools/debugger/how_to/search/index.html
new file mode 100644
index 0000000000..4f3391c8b1
--- /dev/null
+++ b/files/ja/conflicting/tools/debugger/how_to/search/index.html
@@ -0,0 +1,69 @@
+---
+title: 検索とフィルタ
+slug: Tools/Debugger/How_to/Search_and_filter
+translation_of: Tools/Debugger/How_to/Search
+translation_of_original: Tools/Debugger/How_to/Search_and_filter
+---
+<div>{{ToolsSidebar}}</div><p><a href="/ja/docs/Tools/Debugger/UI_Tour#toolbar">ツールバー</a>のスクリプトフィルタを使用して、デバッガ内にある項目を検索できます:</p>
+
+<p><img alt="" src="https://mdn.mozillademos.org/files/13214/debugger-filter.png" style="display: block; height: 351px; margin-left: auto; margin-right: auto; width: 904px;"></p>
+
+<p>接頭辞をつけずに文字列を入力すると、<a href="/ja/docs/Tools/Debugger/UI_Tour#Source_list_pane">ソースリストペイン</a>に一覧表示されているソースから検索します。</p>
+
+<p>いずれかの特殊文字による検索演算子を接頭辞として付加することで、さまざまな検索機能を提供します。</p>
+
+<table class="fullwidth-table standard-table">
+ <thead>
+ <tr>
+ <th scope="col">接頭辞</th>
+ <th scope="col">機能</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>なし</td>
+ <td><a href="/ja/docs/Tools/Debugger/UI_Tour#Source_list_pane" title="#source-list-pane">ソースリストペイン</a>に表示しているスクリプトの絞り込みを行います。</td>
+ </tr>
+ <tr>
+ <td>!</td>
+ <td>すべてのファイルから文字列を検索します。</td>
+ </tr>
+ <tr>
+ <td>@</td>
+ <td>すべてのファイルから、指定した文字列を含む関数定義を検索します。</td>
+ </tr>
+ <tr>
+ <td>#</td>
+ <td>
+ <p>現在<a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane" title="#source-pane">ソースペイン</a>で開いているファイルから文字列を検索します。</p>
+
+ <p>検索した後に Enter キーを押下すると、マッチした箇所を巡ります。</p>
+ </td>
+ </tr>
+ <tr>
+ <td>:</td>
+ <td>現在<a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane" title="#source-pane">ソースペイン</a>で開いているファイルで、指定した行へ移動します。</td>
+ </tr>
+ <tr>
+ <td>*</td>
+ <td><a href="/ja/docs/Tools/Debugger/UI_Tour#Variables_pane" title="#variables-pane">変数ペイン</a>に表示している変数の絞り込みを行います。</td>
+ </tr>
+ </tbody>
+</table>
+
+<p>これらのオプションは、フィルタ内をクリックしたときにポップアップ表示します。また、<a href="/ja/docs/Tools/Debugger/UI_Tour#Source_pane" title="#source-pane">ソースペイン</a>のコンテキストメニューでもアクセスできます。</p>
+
+<p>接頭辞を組み合わせて、より強力な問い合わせが可能です。例えば:</p>
+
+<table class="fullwidth-table standard-table">
+ <tbody>
+ <tr>
+ <td>file.js:12</td>
+ <td>"file.js" を開いて 12 行目へ移動します。</td>
+ </tr>
+ <tr>
+ <td>mod#onLoad</td>
+ <td>ファイル名に "mod" を含むすべてのファイルから、文字列 "onLoad" を検索します。</td>
+ </tr>
+ </tbody>
+</table>