Skip to content

Commit

Permalink
Improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Allport authored Aug 15, 2020
1 parent c0a6131 commit 3ff5334
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,11 @@ The default message is `You do not have permission to perform that action`.

## IDE Autocompletion within PHPStorm

Autocompletion of "macroable" classes with PHPStorm currently difficult. As great as macros are, there is no solution to enable autocompletion.
Autocompletion of "macroable" classes with PHPStorm currently difficult, which is a shame given how useful macroable classes actually are.

At present, the following process will allow for autocompletion:
At present, the following process will trigger autocompletion in PHPStorm:

- Copy `resources/_ide_helper_macros.php` to a location within your project to allow PHP storm to index the additional class methods
- Copy [resources/_ide_helper_macros.php](resources/_ide_helper_macros.php) to a location within your project to allow PHP storm to index the additional class methods
- Optionally add `_ide_helper_macros.php` to your `.gitignore` file

## Contribution
Expand Down

0 comments on commit 3ff5334

Please sign in to comment.