diff --git a/CHANGELOG.md b/CHANGELOG.md index a8843ef..b3e7f86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ # Change Log +## 1.2.0 +- Add settings +- Display multiple matching files + ## 1.1.3 - Add support for multiple folder \ No newline at end of file diff --git a/README.md b/README.md index 1ce7ddb..3f6d9df 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ -[![Marketplace Version](https://vsmarketplacebadge.apphb.com/version/codingyu.laravel-goto-view.svg)](https://marketplace.visualstudio.com/items?itemName=codingyu.laravel-goto-view) [![Installs](https://vsmarketplacebadge.apphb.com/installs/codingyu.laravel-goto-view.svg)](https://marketplace.visualstudio.com/items?itemName=codingyu.laravel-goto-view) -# How to use -![How to use](images/use.gif) +[![Marketplace Version](https://vsmarketplacebadge.apphb.com/version/codingyu.laravel-goto-view.svg)](https://marketplace.visualstudio.com/items?itemName=codingyu.laravel-goto-view) [![Installs](https://vsmarketplacebadge.apphb.com/installs/codingyu.laravel-goto-view.svg)](https://marketplace.visualstudio.com/items?itemName=codingyu.laravel-goto-view) +# How to use +![How to use](images/use.jpg) +![How to use](images/use.gif) +# Settings +## `laravel_goto_view.folders` +Search according to the configured path +``` +"laravel_goto_view.folders": { + "default" : "/resources/views", + "theme_xxx": "/resources/views/theme_xxx" +} +``` +## `laravel_goto_view.quickJump` +Use 'Ctrl' or 'Alt' + click, jump to the first match file. +## `laravel_goto_view.folderTip` +Display the path name of the configuration diff --git a/images/use.jpg b/images/use.jpg new file mode 100644 index 0000000..0462407 Binary files /dev/null and b/images/use.jpg differ diff --git a/package.json b/package.json index 09a6876..0af39eb 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "laravel-goto-view", "displayName": "Laravel goto view", "description": "Quick jump to view", - "version": "1.1.3", + "version": "1.2.0", "publisher": "codingyu", "engines": { "vscode": "^1.19.0" @@ -31,7 +31,7 @@ "type": "object", "title": "Laravel goto view configuration", "properties": { - "laravel_goto_view.quickClick": { + "laravel_goto_view.quickJump": { "type": "boolean", "default": true, "description": "Use 'Ctrl' or 'Alt' + click" diff --git a/src/link.ts b/src/link.ts index 4dcf0b0..704a659 100644 --- a/src/link.ts +++ b/src/link.ts @@ -9,7 +9,7 @@ export class LinkProvider implements DocumentLinkProvider { let documentLinks = []; let index = 0; let reg = /(['"])[^'"]*\1/g; - if (config.quickClick) { + if (config.quickJump) { while (index < document.lineCount) { let line = document.lineAt(index); let result = line.text.match(reg);