- Notifications
You must be signed in to change notification settings - Fork33.8k
Commit7c43b02
Update indentation for PHP, JS, and TS (#251465)
* Update indentation for PHP, JS, and TS.Addresses#136592- For PHP, auto-indent after `if`, `elseif`, `else if`, `while`, `for` and `foreach`. This also fixes an issue where hitting Enter on a blank line below a single line `if` (or other) results in an extra tab.- For PHP, extra dot after `*/` and blank line.- For JS/TS, auto-indent for `else` to be consistent with handling of `if` statements* polish---------Co-authored-by: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>1 parentd59fac3 commit7c43b02
File tree
3 files changed
+10
-3
lines changed- extensions
- javascript
- php
- typescript-basics
3 files changed
+10
-3
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
124 |
| - | |
| 124 | + | |
125 | 125 |
| |
126 | 126 |
| |
127 | 127 |
| |
|
Lines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
97 |
| - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
98 | 105 |
| |
99 | 106 |
| |
100 | 107 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
142 |
| - | |
| 142 | + | |
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
|
0 commit comments
Comments
(0)