Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit 3e4bad9

Browse files
committed
Add info for extending phpstorm
1 parent 078a4a8 commit 3e4bad9

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: PhpStorm Interaction
3+
sort: 2
4+
---
5+
6+
## Extending PhpStorm
7+
8+
You may wish to extend PhpStorm to extend the blade directives of this package:
9+
10+
1. In PhpStorm, open Preferences, and navigate to **Languages and Frameworks -> PHP -> Blade** (File | Settings | Languages & Frameworks | PHP | Blade)
11+
2. Uncheck "Use default settings", then click on the **Directives** tab.
12+
3. Add the following new directives for the laravel-form-components package:
13+
14+
### @fcStyles
15+
16+
- has parameter = YES
17+
- Prefix: `<?php echo \\Rawilk\\FormComponents\\Facades\\FormComponents::outputStyles(`
18+
- Suffix: `); ?>`
19+
20+
### @fcScripts
21+
22+
- has parameter = YES
23+
- Prefix: `<?php echo \\Rawilk\\FormComponents\\Facades\\FormComponents::outputScripts(`
24+
- Suffix: `); ?>`
25+
26+
### @fcJavaScript
27+
28+
- has parameter = YES
29+
- Prefix: `<?php echo \\Rawilk\\FormComponents\\Facades\\FormComponents::javaScript(`
30+
- Suffix: `); ?>`

0 commit comments

Comments
 (0)