Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
tiansin committed Apr 13, 2019
1 parent ed83e55 commit 2261d8d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Change Log

## [0.1.1]

Update installation and configuration instructions

## [0.1.0]

- Modify the index timer, repeating the save of the document will delay the index.
- Add tutorial animation

## [0.0.2]

- Disposal of the Blade template function. 😃

## [0.0.1]
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ Laravel Assistant IntelliSense Extension.

## Features

### Route and Mix and Config and Lang and View autocomplete.
### Route and Mix and Config and Lang and View autocomplete

![tutorial1](https://raw.githubusercontent.com/tiansin/vscode-laravel-assist/master/assets/images/tutorial1.gif)


### Blabe template function autocomplete

![tutorial2](https://raw.githubusercontent.com/tiansin/vscode-laravel-assist/master/assets/images/tutorial2.gif)


### Controller Goto Definition.
### Controller Goto Definition

![tutorial3](https://raw.githubusercontent.com/tiansin/vscode-laravel-assist/master/assets/images/tutorial3.gif)

## Comment

`You should be sure to find the php binary in the environment or set `&ensp;<font color=red>'php.validate.executablePath'</font>
3 changes: 2 additions & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ export function activate(context: ExtensionContext) {
function isNeedUpdate(fileName: string): boolean {
return (
fileName.endsWith("Controller.php") || fileName.endsWith(".blade.php") ||
!!fileName.match(/\/config\/\w+\.php/) || !!fileName.match(/\/routes\/\w+\.php/)
!!fileName.match(/\/config\/\w+\.php/) || !!fileName.match(/\/routes\/\w+\.php/) ||
!!fileName.match(/\/lang\/\w+\.php/)
);
}

Expand Down

0 comments on commit 2261d8d

Please sign in to comment.