Skip to content

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
codingyu committed Feb 1, 2018
1 parent 0a8aa9f commit c0dc169
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Change Log

## 1.2.0
- Add settings
- Display multiple matching files

## 1.1.3
- Add support for multiple folder
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Binary file added images/use.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c0dc169

Please sign in to comment.