From a4f482666323ed493a07ae4b82be6e042b4bf9fa Mon Sep 17 00:00:00 2001 From: equiman Date: Fri, 21 Apr 2023 18:53:34 -0500 Subject: [PATCH] add query types --- .vscode/settings.json | 2 ++ README.md | 6 +++--- snippets/queries.json | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e15541d..06c7091 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,6 +8,8 @@ "itue", "matc", "paypal", + "qidf", + "qids", "qlsq", "qrc", "qrcc", diff --git a/README.md b/README.md index 7e77e59..cd39258 100644 --- a/README.md +++ b/README.md @@ -216,9 +216,9 @@ All the `░variantBy` cursor start with `getBy` by default, but can be easily c | Trigger | Result | | :------- | -------------------------------------------------------- | -| `qtid→` | `screen.░variantByTestId(░)█` | -| `qtidf→` | `screen.░variantByTestId('░Text Match')█` | -| `qtids→` | `screen.░variantByTestId('░ext Matc', {exact: false})█` | +| `qid→` | `screen.░variantByTestId(░)█` | +| `qidf→` | `screen.░variantByTestId('░Text Match')█` | +| `qids→` | `screen.░variantByTestId('░ext Matc', {exact: false})█` | ### Debug diff --git a/snippets/queries.json b/snippets/queries.json index 81321dc..6a1e374 100644 --- a/snippets/queries.json +++ b/snippets/queries.json @@ -244,21 +244,21 @@ }, "query.TestId": { - "prefix": "qtid", + "prefix": "qid", "body": [ "screen.${1|getBy,getAllBy,queryBy,queryAllBy,findBy,findByAll|}TestId($2)$0" ], "description": "TestId query" }, "query.TestId.full": { - "prefix": "qtidf", + "prefix": "qidf", "body": [ "screen.${1|getBy,getAllBy,queryBy,queryAllBy,findBy,findByAll|}TestId('${2:Text Match}')$0" ], "description": "TestId query full string match" }, "query.TestId.substring": { - "prefix": "qtids", + "prefix": "qids", "body": [ "screen.${1|getBy,getAllBy,queryBy,queryAllBy,findBy,findByAll|}TestId('${2:ext Matc}', {exact: false})$0" ],