You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 19, 2023. It is now read-only.
PHPStorm has it's own built-in WordPress and PSR-2 code styles presets, however they follow only must rules and it some cases are not accurate.
46
+
We updated code styles to work with current repository rulesets. You can find code styles inside `phpstorm` directory in this repository.
47
+
48
+
To import a code style:
49
+
50
+
- Open Settings
51
+
- Navigate Editor > Code Style
52
+
- Click on wheel icon near a "Scheme" and choose "Import scheme"
53
+
- Select xml file to import
54
+
- Select new "Wordpress theme"
55
+
56
+
### Code templates configuration
42
57
43
58
We belive that all code should be well documented and this means that all properties and methods should have a proper descriptions.
44
59
However some methods are self-explanatory like getters or setters. You can configure you PHPStorm to autocomplete short method name to help you minimize you text typing for self-explanatory methods.
0 commit comments