Skip to content

Commit

Permalink
0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ihepta committed Aug 26, 2022
1 parent 7ba496b commit 8fc4dfb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@

- feat: add dependency `change-case`, use these functions in `change-case` to transform query string.
- refactor: change function name `@underline` to `@snake_case`.

## 0.0.4

- fix: Chinese be transformed to empty.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "case-search",
"displayName": "Case Search",
"description": "A VS Code search extension based on native search component.",
"version": "0.0.3",
"version": "0.0.4",
"engines": {
"vscode": "^1.40.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function activate(context: ExtensionContext) {
}

if (query) {
commands.executeCommand("workbench.action.findInFiles", { query: transformQuery2RegExp(query, scope), triggerSearch: true, isRegex: true, isCaseSensitive: true });
commands.executeCommand("workbench.action.findInFiles", { query: transformQuery2RegExp(query, scope) || query, triggerSearch: true, isRegex: true, isCaseSensitive: true });
quickPick.hide();
}
});
Expand Down

0 comments on commit 8fc4dfb

Please sign in to comment.